This is a migrated thread and some comments may be shown as answers.

InAppBrowser Problem when back to application

1 Answer 75 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Decco
Top achievements
Rank 1
Decco asked on 19 Jul 2014, 06:59 PM
Hello everyone, i´m having problems using InAppBrowser to open an external page into my app.

My problem is that when i click in the exit button in the window openned by InAppBrowser the page of my app is reloading and gets a blank page, showing nothing. I realize that if I double-click in home button, like if I went to switch app the app, it backs to the correct page of my app but freezes.

I´m using this code:

[code]
function myFunction() {            
var location= window.location.href;           
 iab = window.open('http://apache.org', '_blank', 'location=yes');           
 iab.addEventListener('exit', function () {                
window.location.href=location;           
 });       
 };
[/code]

how can i solve this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 22 Jul 2014, 03:25 PM
Hello Decco,

This is a known issue involving our LiveSync feature. As a result the app is being reloaded when any modal windows are closed like the InAppBrowser one.
We are working on a fix for the upcoming release.
Stay tuned.

Regards,
Zdravko
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
Decco
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or