-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS][Android][face-detector][ads-admob][firebase-core][firebase-analytics] Upgrade native libraries #12125
[iOS][Android][face-detector][ads-admob][firebase-core][firebase-analytics] Upgrade native libraries #12125
Conversation
7c81b62
to
8f9571f
Compare
8f9571f
to
b73c4b2
Compare
@bbarthec - looks like we need to update changelog for ci to pass here |
…coapods] Upgrade native libraries & temporarily ignore verioned ABIs - upgrade firebase_sdk_version to 7.7.0 - upgrade Google-Mobile-Ads-SDK to 7.69.0 - migrate from Firebase/MLVision to GoogleMLKit/FaceDetection
- fixed warning for ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES - removed ABI38_0_0 yoga reference from OTHER_SWIFT_FLAGS
- update module code by replacing Firebase references with GoogleMLKit ones
…vent names - updated com.google.android.gms:play-services-ads from 17.x.x to 19.4.0 - updated event names to resemble new RewardedAd lifecycle - updated docs for RewardedAd
b73c4b2
to
09b80d8
Compare
@bbarthec , Thanks for upgrading AdMob SDK for expo. Do we need to change anything else do make it work? I changed the event names but still get -- using expo 41 |
@cristian-milea you shouldn't need to make any other changes. That error comes from Admob itself, so you should search for that error message in their documentation and see what causes they point to. I have seen that error when the ad unit ID is just too new (it takes some time) |
Why
We have to upgrade
ads-admob
, because of new Google's polices (more info here) and this upgrade triggers other cocoapods dependencies updates.Major update refers to
expo-face-detector
, because it has to be upgraded from oldFirebase/MLVision
library to newGoogleMLKit/FaceDetection
library.supersedes #12126
closes https://linear.app/expo/issue/ENG-177/upgrade-google-admob
closes #11941
closes #11934
How
iOS
Upgrades native libraries:
firebase_sdk_version
from6.14.0
to7.7.0
infirebase-*
modules - followed changelog and nothing important for us changedGoogle-Mobile-Ads-SDK
from7.55.1
to7.69.0
inads-admob
module - nothing important changed according to changelogFirebase/MLVision
toGoogleMLKit/FaceDetection@2.1.0
inface-detector
module - followed migration plan & changesRefrained from upgrading
Google-Mobile-Ads-SDK
to the newest version8.1.0
as it seems too big for this PR.Had to backport library upgrades to older SDKs as of cocoapods not accepting multiple versions of single library.
Android
To achieve
ads-admob
parity on both platform and because of https://developers.google.com/admob/android/rel-notes#19.3.0 (Android 11 is supported since19.4.0
) I had to update Android native dependency as well. I has to upgrade this library code to achieve feature parity on both platforms.Additionally I've adjusted event names emitted by this module (now these are much more simplified compared with the previous ones).
Test Plan
Expo GO
and launched bothncl
andtest-suite
withUNVERSIONED
SDK and checked affected modules - every screen/test works.bare-expo
, but the problem seems to live inFlipper
-related code, so it's out of scope of this PR and has to be fixed separately after this PR lands.