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

Please add onWindowFocusChanged to the bridge[Feature]: #7413

Open
1 of 3 tasks
a-poliusov opened this issue Apr 19, 2024 · 2 comments
Open
1 of 3 tasks

Please add onWindowFocusChanged to the bridge[Feature]: #7413

a-poliusov opened this issue Apr 19, 2024 · 2 comments

Comments

@a-poliusov
Copy link

a-poliusov commented Apr 19, 2024

Description

Please add onWindowFocusChanged to the bridge

Platforms

  • iOS
  • Android
  • Web

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

@jcesarmobile
Copy link
Member

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?

@jcesarmobile jcesarmobile added the needs reply needs reply from the user label May 10, 2024
@ionitron-bot ionitron-bot bot removed the triage label May 10, 2024
@a-poliusov
Copy link
Author

a-poliusov commented May 13, 2024

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.

@Ionitron Ionitron removed the needs reply needs reply from the user label May 13, 2024
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

3 participants