keel-module-umeng
v0.1.0
Published
友盟统计 (Umeng analytics) for Keel apps — scaffold; native side is a ping/pong stub.
Maintainers
Readme
keel-module-umeng
友盟统计 (Umeng analytics) for Keel apps. Scaffold — the native side is a ping/pong stub; replace it with real Umeng SDK calls. See keel-module-wechat for a complete worked example.
Delivery
| Platform | Wrapper | Upstream SDK |
|----------|---------|--------------|
| iOS | SPM source target (Package.swift, @KeelModule macro) — keel-module autolink --emit=spm | declare the CocoaPods-only Umeng SDK (e.g. UMCommon / UMAnalytics) in module.yml ios.pods → host Podfile via --emit=pods ("pod + spm dual") |
| Android | AAR gradle subproject — keel-module autolink --emit=gradle | a normal implementation(...) in android/build.gradle.kts |
Install
keel install keel-module-umengKeel's autolinker discovers the module via its module.yml and wires both
platforms on the next build — no manual Podfile / Gradle edits.
Usage (current stub)
import { ping } from 'keel-module-umeng';
console.log(await ping('hello')); // → "pong: hello"Development
keel-module validate # check module.yml against actual source pathsLicense
Apache-2.0 — see LICENSE in the parent monorepo.
