Prerequisites
React Native
- React Native: >= 0.68.2
- React: >= 17.0.2
- react-native-teads-sdk-module: >= 1.0.0
iOS
- Xcode: 12.1+
- Platform: iOS 10+ (99% of the devices)
Android
- Target Android SDK Version level 28+
- Minimum Android supported version 19+(98.1%+)
- Android gradle plugin to v7.0.0 or later
- AndroidX support libraries
Import the Teads inApp SDK
Using packages
To add the module, react-native-teads-sdk-module
, to an app:
- Adding the node module as a dependencie
- From the terminal: Run
npm install react-native-teads-sdk-module
.
OR
- From the terminal: Run
- Import it
- Add a corresponding import statement in TypeScript or JavaScript code
e.gimport TeadsAdView from '../../src/teads-ad-view';
- Add a corresponding import statement in TypeScript or JavaScript code