Help with onBrowserFinishedLoading

Welcome! Forums Unity Plugins In-App Web Browser Help with onBrowserFinishedLoading

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22950
    Denisskel
    Participant

    Hi, trying to save the last link through the onBrowserFinishedLoading(url) event. Here is a snippet of my code where I save the last link, but it doesn’t save the link:

    public void SaveLink (string _link)
    {
    PlayerPrefs.SetString(“SavedLink”, _link);
    }

    private void Update()
    {
    InAppBrowserBridge bridge = FindObjectOfType<InAppBrowserBridge>();
    bridge.onBrowserFinishedLoading.AddListener(SaveLink);
    }

    Can you tell me how to properly save the last link and open it at the next open application.

    Or give me an example of such code, thanks.

    #22955
    PiotrPiotr
    Keymaster

    Hi,
    Try to use example scene

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