-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
The plugin admob_flutter
uses a deprecated version of the Android embedding
#287
Comments
same issue please solve this!! |
Hey, I'm paying $150 if anybody can fix this issue in 1 week (task is to have the library working in latest flutter version). With this ad library, we used banner refresh capability between tabs, that increased ad revenue by 2x as the client says, but it's not working in another official AdMob library. |
Hello, I don't know if it works for you... but it worked for me only by cloning this repository and editing the example project.
With this, the alert dissapear.
|
@FranciscoVenegas I cloned repo, made import in pubspec using path, but removing example folder didn't work. I added that flutterEmbedding value = 2 to my app's android manifest. Could you write a more detailed solution? Or maybe just upload your fixed library to file storage or git, so I could reference it directly? |
@FranciscoVenegas @kmcgill88 still offering $150 if you could fix this issue, my client still requires this particular library. |
@Gintasz your offer interests me. I knocked this out today and will publish it shortly. |
@kmcgill88 I'm trying your update, but it seems that iOS part is outdated, I get this:
In pubspec I added manually downloaded code like this: |
@kmcgill88 also the android part doesn't compile too, I get these errors. I tried changing kotlin version in my app's build.gradle to 1.3.72:
EDIT: |
You will want to delete Android: yes you will want to stay relatively current on Kotlin versions. Please try again and let me know how it goes. I'll work on cleaning up the bitrise build. |
@kmcgill88 it still doesn't appear to be fully compatible with the latest firebase. Could you look into it? I added "firebase_analytics: 9.0.4" to example app in this project. Then I get:
|
This makes sense. I can upgrade it. Do note that upgrading will increase the lowest api levels your app can support. I believe that's ios 12 and android api 16. |
@kmcgill88 I think it'd be ok if those were lowest api levels |
@kmcgill88 would you update so that it works with latest firebase?:) Then I'd pay the $150 bounty. Else it's still unusable and my client needs this particular admob library because it allows refreshing ads in our situation. |
I'll see if I can get that updated today. |
@Gintasz if this is working I'd appreciate the bounty. https://github.com/sponsors/kmcgill88 |
when i put
admob_flutter: ^2.0.0-nullsafety.1
in pubspec, and type on cmdflutter pub get
this error occurs!The plugin
admob_flutter
uses a deprecated version of the Android embedding.To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of
Flutter will remove these deprecated APIs.
The text was updated successfully, but these errors were encountered: