Not opening my Page

Welcome! Forums Unity Plugins In-App Web Browser Not opening my Page

This topic contains 1 reply, has 1 voice, and was last updated by  JCarter 2 weeks, 5 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1274

    JCarter
    Participant

    Hi

    I am trying to Open our website URL:
    https://www.auxiliumhorizons.ca/subscribe

    However when the page opens it stil shows google.com as the default page?
    I do see the new Title.
    “Subscribe to Auxilium Horizons Suite”

    So I am running this new code.

    public class BrowserOpener : MonoBehaviour {

    public string pageToOpen = “https://www.auxiliumhorizons.ca/subscribe”;

    // check readme file to find out how to change title, colors etc.
    public void OnButtonClicked() {
    InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
    options.displayURLAsPageTitle = false;
    options.pageTitle = “Subscribe to Auxilium Horizons Suite”;

    InAppBrowser.OpenURL(pageToOpen, options);
    }

    public void OnClearCacheClicked() {
    InAppBrowser.ClearCache();
    }
    }

    #1275

    JCarter
    Participant

    LOL I see now. It is the Public string in the Object.
    All good now thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.