Open a-poliusov opened 4 weeks ago
And what do you want to do with onWindowFocusChanged
? call javascript code? call native code from a plugin?
Why do you say modifying MainActivity
is not possible?
Android code is generated every time and we don't have it in our repo. Capacitor has the basic dummy project that is created when capacitor is built and we employ this.
I want to call js code from the callback. This is just good to have all the handles to the android activity code.
Description
Please add onWindowFocusChanged to the bridge
Platforms
Request or proposed solution
Hi. I'm unable to exploit onWindowFocusChanged, because there are not callback from the bridge. Please add this. This method is crucial for fullscreen video view.
Alternatives
We don't have any alternatives except modifying MainActivity, which is not possible.
Additional Information
No response