An Expo Config Plugin to add the GoogleIDFASupport pod to your ios Podfile without ejecting or touching native code.
This basically links the AdSupport framework in your project, which in turn lets Google Analytics track conversions!
You can learn more about it here:
- Googles documentation on GoogleIDFASupport
- Config Plugins - Expo docs
- Expo Managed Workflow in 2021: part 1, part 2
Some points you need to be aware of before use this plugin
- This plugin only works on iOS, and does nothing for Android
- App project using Expo SDK 41+.
- Installed
expo-cli@4.4.4
or later.
expo install with-google-idfa-support
# using yarn
yarn add with-google-idfa-support
# using npm
npm install with-google-idfa-support
Open your app.json
or app.config.js
and update your plugins
section (expo install
would do it for you):
{
"plugins": ["with-google-idfa-support"]
}
You can either:
- Use
expo prebuild
andexpo run:android
/expo run:ios
to update your native projects, - Use EAS Build to build your development client and release versions.
- Expo
GNU GPL v3