App Crash after closing with InAppBrowser.CloseBrowser ();

Welcome! Forums Unity Plugins In-App Web Browser App Crash after closing with InAppBrowser.CloseBrowser ();

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #989
    vlentini
    Participant

    Hi,
    great plugin! I have a problem in close browser after js message of close.

    The js message is received but the app crashes when it calls InAppBrowser.CloseBrowser ();

    I have this problem in IOs 11 with the EXC_BAD_ACCESS exception and only when i send the js message from another page, that is not the initially page of InAppBrowser inizialization.

    Can you help me, please?
    Thank you.

    #990
    vlentini
    Participant

    Sorry, the reason of the crash isn’t the redirect but the specific webpage, that has integrated the same code of the page who not crash…

    So i have webpage1, with only a link with the call of close command, and everything white, and it works.

    webpage2 is a great page, with others javascript command but the same code of webpage1, and when it calls close js command the command is received from IOs system but the the app crashes with EXC_BAD_ACCESS exception.

    #993
    PiotrPiotr
    Keymaster

    Hmm. Maybe you are trying to access it on wrong thread? Can you try to execute CloseBrowser on main thread?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.