React Native SDK Overview
React Native bridge for the OCM AdNetwork SDK that delivers banner, interstitial, and rewarded ads on Android and iOS.
📋 Requirements
iOS
- Minimum iOS Version: 12.0
- CocoaPods: Required for native dependencies
- React Native: 0.60+
Android
- Min SDK: 24
- Compile SDK: 34
- React Native: 0.60+
Features
- 🎯 Banner Ads - Standard banner advertising with auto-refresh
- 🎬 Interstitial Ads - Full-screen ads at natural transition points
- 🏆 Rewarded Ads - Reward users for watching video ads
- 📱 Native Ads - Ads that match your app's look and feel (iOS only)
- 🔄 Cross-Platform - Single codebase for iOS and Android
- ⚡ Easy Integration - Simple React Native component API
- 📊 Event Tracking - Comprehensive ad lifecycle events
What's Included
The React Native bridge bundles:
- iOS: Native OCM AdNetwork iOS SDK
- Android: Native OCM AdNetwork Android SDK (v1.0.3)
- Google Mobile Ads SDK: ✅ Included on both platforms
- Prebid Mobile SDK: ✅ Included on both platforms
Package Information
- Package Name:
react-native-ocm-adnetwork-module - NPM: react-native-ocm-adnetwork-module
- License: MIT
- Publisher: OCM
Platform Support
| Platform | Banner | Interstitial | Rewarded | Native |
|---|---|---|---|---|
| iOS | ✅ | ✅ | ✅ | ✅ |
| Android | ✅ | ✅ | ✅ | ⚠️ (pending) |
info
Native ads on Android currently emit a failed event. Full support coming soon.
Next Steps
Continue to the Installation guide to add the SDK to your React Native project.
📞 Support
For support and documentation, contact us at [email protected]