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

Game restarts when opens an ad, goes to "home" and back to app #187

Closed
gumaciel opened this issue Sep 6, 2023 Discussed in #186 · 3 comments
Closed

Game restarts when opens an ad, goes to "home" and back to app #187

gumaciel opened this issue Sep 6, 2023 Discussed in #186 · 3 comments

Comments

@gumaciel
Copy link
Contributor

gumaciel commented Sep 6, 2023

Discussed in #186

Originally posted by orah29 September 6, 2023
With the sample project supplied with the plugin, after clicking on ads (banner or interstitial) :
if I press on home/overview button, the app closes;
if I press on back button, I return on ads. Then I close the ads to return to the app.
How to fix this?
Thanks in avance

@gumaciel
Copy link
Contributor Author

gumaciel commented Sep 6, 2023

@orah29 Just tested on v2.0.0 on Godot 4.1.1 and v1.0.0 on Godot 3.5.2:

On Godot 3.5.2 it doesn't happen, but on Godot 4.1.1 it happens.

The code of v2 and v1 is kind of the same, plus we are just calling available AdMob methods, which shouldn't cause this bug.

Everything indicates that the bug is something related to the rendering of Godot 4, I recommend that you open an issue in the Godot repository to track this problem.

@gumaciel gumaciel closed this as completed Sep 6, 2023
@gumaciel gumaciel changed the title Andoid "home and overview buttons" effect after click on ads Game restarts when opens an ad, goes to "home" and back to app Sep 6, 2023
@orah29
Copy link

orah29 commented Sep 10, 2023

Same issue with Godot 4.1.1 and Admob v3.0.0
I try a simple godot project that open YouTube and Web browser : no issue.

@gumaciel
Copy link
Contributor Author

Version v2.0.0, which is quite simple, causes this bug, so I believe it is some functionality in Google's own AdMob SDK that causes this problem on Android for Godot 4.

If possible, try to create a simple Android AdMob plugin with the functionality you need and check if the same bug occurs.

But I believe the same thing will happen, as I would say that v2 is simple enough

@gumaciel gumaciel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants