Skip to content
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

Admob android plugin shows black screen when enabled on Android API level 30 #221

Closed
toplay3 opened this issue Apr 29, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@toplay3
Copy link

toplay3 commented Apr 29, 2024

Godot version

4.2.1

Plugin version

3.1.0

Phone information

on android emulator, Android 11, API level 30, x86

Issue description

When I enable admob plugin the screen never renders, it's black but doesn't crash, background music still plays, after a while it says the app is not responding.

This issue doesn't exist on Android 11 if the plugin is disabled
This issue doesn't exist on Android 12,13,14 API > 30

When I uploaded the game to the play store the automatic test also picked this up

Steps to reproduce

  1. Follow the steps to install the plugin in godot
  2. export the game in android to emulator Android 11, API level 30
  3. splash screen loads
  4. autoloaded background scripts seem to still run
  5. the screen is black and non-responsive to anything

Additional context

I suspect it's an issue with the plugin and haven't investigated further as to what exactly is causing this, can't tell from the logs. Please let me know if I'm doing something wrong.

ADB logcat details:

04-30 02:01:12.404 5799 5858 I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:240304704
04-30 02:01:12.405 5799 5858 I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 240304704
04-30 02:01:12.408 5799 5858 D DynamitePackage: Instantiated singleton DynamitePackage.
04-30 02:01:12.408 5799 5858 D DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
04-30 02:01:12.432 544 993 D ConnectivityService: requestNetwork for uid/pid:10154/5799 NetworkRequest [ TRACK_DEFAULT id=85, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10154 AdministratorUids: [] RequestorUid: 10154 RequestorPackageName: com.tutujoygames.cubequest] ]
04-30 02:01:12.434 544 668 D ConnectivityService: NetReassign [85 : null → 100]
04-30 02:01:12.435 928 928 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ TRACK_DEFAULT id=85, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10154 AdministratorUids: [] RequestorUid: 10154 RequestorPackageName: com.tutujoygames.cubequest] ] with score 60 and providerId 3
04-30 02:01:12.441 544 662 D UntrustedWifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=85, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10154 AdministratorUids: [] RequestorUid: 10154 RequestorPackageName: com.tutujoygames.cubequest] ] with score 60 and providerId 3
04-30 02:01:12.442 544 662 D WifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=85, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10154 AdministratorUids: [] RequestorUid: 10154 RequestorPackageName: com.tutujoygames.cubequest] ] with score 60 and providerId 3
04-30 02:01:12.450 5799 5858 I WebViewFactory: Loading com.google.android.webview version 83.0.4103.106 (code 410410681)

@toplay3 toplay3 added the bug Something isn't working label Apr 29, 2024
@gumaciel gumaciel closed this as completed May 5, 2024
@gumaciel gumaciel closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants