npm.io
11.2.0 • Published 4 years ago

expo-ads-facebook

Licence
MIT
Version
11.2.0
Deps
3
Size
194 kB
Vulns
0
Weekly
0
Stars
50.4K

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.