Reply To: Communication between JavaScript and Unity breaks

Welcome! Forums Unity Plugins In-App Web Browser Communication between JavaScript and Unity breaks Reply To: Communication between JavaScript and Unity breaks

#1032
mart
Participant

I found the problem but i dont know how to fix it 🙁
OnApplicationFocus and OnApplicationPause are not triggered every time, when you go back from another App and the webview is open.

A strange thing is that the backbutton is working and when the webview is dismissed
OnApplicationFocus and OnApllicationPause are triggerd.

This has something to do with the webview activity.
Is there a fix or trick to force the unityplayyer-activity to become active?
Maybe extending the AndroidManifest?

  • This reply was modified 6 years ago by mart.