expo: FBAudienceNetwork 4.99.0 breaks iOS ExpoKit
Facebook released a new version of FBAudienceNetwork yesterday with a bunch of breaking changes. Expo’s ads module depends on the previous version, 4.28.1, but the dependency is listed as ~> 4.24.
- Short term solution-- pin the dependency to the older version.
- After that-- need to update our ads module to be compatible with 4.99.0.
Here’s the full changelog.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (5 by maintainers)
Commits related to this issue
- Update to FBAudienceNetwork 4.99, add coverage (#2819) Also related to https://github.com/expo/expo/issues/1868 fbshipit-source-id: 824bd4c — committed to expo/expo by Szymon20000 6 years ago
- [ios][android][sdk] Update to FBAudienceNetwork 4.99, add coverage (#2819) Also related to https://github.com/expo/expo/issues/1868 — committed to expo/expo by Szymon20000 6 years ago
Solution for people who saw a build failure
I’ve pushed a new ExpoKit tag which pins our FBAudienceNetwork dependency to 4.28.1.
If you saw something like this:
Property ‘title’ not found on object of type ‘FBNativeAd *’while trying to build ExpoKit, then follow these instructions–Podfileso that yourExpoKittag points toios/2.6.5instead of 2.6.4.pod installNote that this will downgrade your FBAudienceNetwork version. If you run into issues during
pod installthen you might want to nukePodsandPodfile.lockand try again.Ditto @MorganDream, if you have older expokit, just modify Podfile.lock directly and change the version to 4.28.1 for FBAudienceNetwork and nuke Pods folder and rerun
pod installthen it will start working.@Daadler6 @poptocrack As root reason is FBAudienceNetwork, I found I can fix this by modify the version of FBAudienceNetwork to fixed value in Podfile.lock. 4.28.1 is good for me.
FYI – to anyone who is using Expo SDK 27 or below and is still running into this issue, if you cannot upgrade to a newer SDK, you should be able to get around this issue by editing your
Podfile.lockto pin the version to4.28.1and then re-runningpod install.is the lastest expo sdk30.0.0? Upgraded and not working
The neweset version of ExpoKit supports FBAudienceNetwork 4.99.0. Happy programming!