This is a demo showing how to use In Loco Media ads in React Native.
npm install
;react-native link
;- Replace the call to
options.setAdsKey("YOUR_APP_ID")
inandroid/app/src/main/java/com/rninlocodemo/MainActivity.java
with your appId; - Replace the call to
options.setDevelopmentDevices("Devices_ids");
inandroid/app/src/main/java/com/rninlocodemo/MainActivity.java
with the correct development device ids; - Replace the AdMobBanner adUnitId in the file
index.android.js
- Run:
react-native run-android