-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
UIWebView : [Admob] (Deprecated Api Usage) #2943
Comments
That's a google upstream bug. For v6 we need to change the issue template here as I need to see the contents of firebase.json to see if you are using the right versions - but I think this is unresolved anyway: googleads/googleads-consent-sdk-ios#41 - follow along there and be prepared to do something like this when/if it is updated: https://github.com/mikehardy/rnfbdemo/blob/65a23cb22b4b91614746c1997f1bf83ca318016a/make-demo-v6.sh#L30 |
Hello 👋, to help manage issues we automatically close stale issues.
|
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Will this be retrofitted into v5? I'm not ready to jump to 6 yet and I'm having this issue. Thanks! |
RNFBv5 has no deprecated API usage if you use the up to date firebase SDKs, which you can safely use because I have already retrofitted all the necessary bits I release to the Apple app store regularly with RNFBv5 + firebase iOS SDKs 6.14.0 (current) and itś fine. |
Oh my bad, I thought I was on the latest version. |
if you use v6 and pod, please try to patch.. |
Oh no - I did not realize there was another usage of UIWebView, thanks for that link @rarira - hopefully it is fixed upstream soon, in the meantime that comment has a great solution |
Issue
"@react-native-firebase/admob": "6.1.0",
TMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView.
After some research, I found that in RNFBAdMob.podspec there was an dependency with PersonalizedAdConsent (https://github.com/googleads/googleads-consent-sdk-ios/tree/master/PersonalizedAdConsent/PersonalizedAdConsent) which contains call to "UIWebView".
Project Files
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:6.1.0
Firebase
module(s) you're using that has the issue:Admob
TypeScript
?N
Think
react-native-firebase
is great? Please consider supporting all of the project maintainers and contributors by donating via our Open Collective where all contributors can submit expenses. [Learn More]React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: