Hi,
This issue has a lot of topics... (https://www.google.fr/search?hl=fr&q=...)
Situation : you are using InAppBrowser, and browse extranel weblinks.
If you are playing a video into InAppBrowser, and touch backbutton (to go back to your app), the sound of the video is still playing.
In fact, InAppBrowser seems be not closed, and perhaps it will impact performances.
Anywhay, there is a trick to force close InAppBrowser when you touch backbutton :
Explanation :
when you go back to your app (by touching the backbutton),
the window.onfocus event is starting, and the "mute" function is launched
this function force to close InAppBrowser and reset the onfocus event (you need close InAppBrowse once ;)
This issue has a lot of topics... (https://www.google.fr/search?hl=fr&q=...)
Situation : you are using InAppBrowser, and browse extranel weblinks.
If you are playing a video into InAppBrowser, and touch backbutton (to go back to your app), the sound of the video is still playing.
In fact, InAppBrowser seems be not closed, and perhaps it will impact performances.
Anywhay, there is a trick to force close InAppBrowser when you touch backbutton :
function mute(ref){
ref.close()
window.onfocus=function(){}
}
var ref=window.open('http://www.google.fr'_blank','location=yes')
window.onfocus=function(){mute(ref)}
Explanation :
when you go back to your app (by touching the backbutton),
the window.onfocus event is starting, and the "mute" function is launched
this function force to close InAppBrowser and reset the onfocus event (you need close InAppBrowse once ;)

