Last URL opened

Welcome! Forums Unity Plugins In-App Web Browser Last URL opened

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11560
    pirozhokstudio
    Participant

    Hello everyone! Is there any way to get the last opened link and save it in OnApplicationQuit?
    I.E. a user opens Google, tries to find something and opens Wikipedia. My aim is to save this Wiki page so it opens the next time user opens my app.

    #11561
    PiotrPiotr
    Keymaster

    There is callback for getting latest loaded URL. Checked readme/docs.

    #11577
    pirozhokstudio
    Participant

    But does it work for iOS as well? Sorry to bother, but I can’t find it in readme.

    #11578
    pirozhokstudio
    Participant

    I only found a callback for when browser finished loading, but that’s not what I need. And OnBrowserClosed() event unfortunately doesn’t return a string with the latest loaded url.

    #11579
    pirozhokstudio
    Participant

    Is OnBrowserFinishedLoading(url) suitable in my case? Is there any example of a proper usage of this method? The thing is – I need to remember the last link that was opened before user closed my app, and it can be literally any link.

    #11584
    PiotrPiotr
    Keymaster

    Yes, try it out and let me know if it worked for you.

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