React Native plugin for Tapjoy Offerwall SDK which supports Android & iOS platforms.
You can find the end user integration document here.
- Please check first this general react-native setup document.
- Nodejs version 18.15.0
- Ruby version 2.7.6
- Highly recommend to use
asdffor the runtime management.
asdf install #this command will install ruby, nodejs- Yarn install
npm install --global yarn- ios-deploy tool
brew install ios-deployyarn bootstrap command will install all dependencies including pod dependency.
yarn bootstrapFor iOS
yarn example iosFor Android
yarn example android./src/index.ts is the typescript module entry point.
You can find ./ios/TapjoyReactNativeSdk.swift and ./ios/TapjoyReactNativeSdk.m for the iOS bridge logic.
You can find ./android/src/main/java/com/tapjoy/tapjoyreactnativesdk/TapjoyReactNativeSdkModule.kt for the Android bridge logic.
Press 'D' while the app is running. And select Debug with Chrome. Debug in Chrome inspector.
In Xcode, use Debug > Attach to Process feature
In Android Studio, use Run > Attach Debugger to Android Process feature.
Tapjoy React Native SDK Integration Document.
https://reactnative.dev/docs/environment-setup