[v12.1.1] Automatic initialization (autoInit) failure causes onReady not to be called #1224
Replies: 1 comment
-
Hi thanks for reporting this, let's use #1223 as the main issue for this. Any help with debugging to find the root cause is much appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’ve discovered a bug in version 12.1.1 where the YouTubePlayerView’s automatic initialization (XML
app:enableAutomaticInitialization="true"
or callinginitialize(...)
) never triggers theonReady
callback.Steps to Reproduce
implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:12.1.1'
Expected Behavior
The onReady() callback should fire when automatic initialization is enabled or when initialize(...) is called.
Actual Behavior
In 12.1.1, onReady() is never called.
Downgrading to 12.1.0 fixes the issue immediately.
Notes
Manually calling initialize(...) also does not invoke onReady.
Please restore automatic initialization functionality in the next patch release.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions