InAppBrowser Problem when back to application

2 posts, 0 answers
  1. Decco
    Decco avatar
    9 posts
    Member since:
    Aug 2013

    Posted 19 Jul 2014 Link to this post

    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
  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 22 Jul 2014 Link to this post

    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.

     
Back to Top