-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
bug(YouTube - Hide ads): Hide fullscreen ads closes the app #2896
Comments
Previously I have seen YT actually crash when displaying a full screen ad. I did not save the logs, but it was not a ReVanced bug and instead it was Litho throwing an exception for something like an invalid layout parameter. I can't remember, but I think version spoofing was turned on (or it was previously turned on and I did not clear the app data when turning spoofing off). I have not reproduce that crash ever since. |
I've seen others raising this issue as well. Possibly the patch triggers the back gesture at a point where it is not possible? I can not quite imagine how that can happen though. Reproduction steps would be necessary |
For me the problem showed up after using the 'Switching account' option in the 'You' tab. But it only sometimes shows the full screen ad so it's difficult to reproduce. |
It looks like a different approach is needed that does not artificially pressing buttons. For now, maybe change |
It's working fine for me. So it's better to set it to off by default instead of removing it. |
Instead of setting it to off, exceptions should be caught. Those who don't experience an issue will not be affected by the change |
Turns out my device also throws an exception for attempting to inject input events. Maybe the app actually did crash for me in this issue, but somehow I overlooked that in the system log. I tried adding |
Closing this. As I now think this is the same issue as #2908 |
Bug description
When automatically closing a fullscreen ad (which simulates pressing the back button), instead of closing the ad the app is closed
Error logs
Additional context
Reproduced with the latest dev release. Fullscreen ad that displayed for this situation was a fullscreen Premium signup.
Acknowledgements
The text was updated successfully, but these errors were encountered: