@boostbossai/install-mobile
v0.1.0
Published
One-command installer for Lumi for Mobile App — Boost Boss's React Native (Expo + bare RN) ad SDK.
Maintainers
Readme
@boostbossai/install-mobile
One-command installer for Lumi for Mobile App — Boost Boss's ad SDK for React Native (Expo + bare).
cd /path/to/your/react-native-app
npx @boostbossai/install-mobile pub_a8x2k9f9What it does
- Detects whether your project is Expo or bare React Native by
reading
./package.json. npm installs the runtime SDK@boostbossai/lumi-mobile.- Expo only: registers
@boostbossai/lumi-mobileas an Expo plugin inapp.json(or drops a TODO comment inapp.config.js/app.config.ts). - Wraps your root component's return JSX with
<LumiProvider publisherId="..."> ... </LumiProvider>.- Looks for
App.tsx,App.jsx,App.js,src/App.{tsx,jsx,js}, and Expo Router'sapp/_layout.tsx. - Adds the matching import line at the top of the file.
- Looks for
- Bare React Native on macOS only: runs
cd ios && pod install. On Windows/Linux it prints a reminder to run that on a Mac. - Records every patch to
.lumi-install-logso uninstall is symmetric. - Prints a banner listing the 10 mobile placements enabled and your dashboard link.
Uninstall
npx @boostbossai/install-mobile --uninstallReverses every patch in .lumi-install-log and npm uninstalls the
runtime package.
Scope (v0)
- React Native only. Native-iOS Swift and native-Android Kotlin SDKs will ship as separate packages.
- Re-running install is idempotent — existing
<LumiProvidermarker = skip. - Zero dependencies. Node 18+.
Placements auto-enabled
| Placement | RPM | | ---------------------- | ---------- | | Sponsored citation | ~$4.50 | | Suggested chip | ~$4.50 | | Inline sponsored card | ~$6.50 | | Loading-state ad | ~$7.00 | | Pre-roll video | ~$11.00 | | Rewarded video | ~$35.00 | | Bottom banner | ~$6.50 | | Inline native banner | ~$7.50 | | Full-screen interstitial | ~$18.00 | | Splash sponsor | ~$15.00 |
License
MIT
