expo-ads-facebook
v11.2.0
Published
Facebook Audience SDK integration
Downloads
851
Readme
expo-ads-facebook
Facebook Audience SDK integration
API documentation
Installation in managed Expo projects
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
Installation in bare React Native projects
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing. You will also need to follow Facebook's Get Started guide.
Add the package to your npm dependencies
expo install expo-ads-facebook
Configure for iOS
Run npx pod-install
after installing the npm package.
Add NSUserTrackingUsageDescription
key to your Info.plist
:
<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>
Add the required SKAdNetworkIdentifier
items to your Info.plist
: Facebook SKAdNetwork.
Configure for Android
No additional set up necessary.
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.