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.