void OnWebViewClose(string originalUrl) { isWebViewShown = false; AY_GTA.TrackeventSupportClose(); AY_EventDispatcher.Instance.Dispatch(EVENT_WEBVIEW_HIDE, webviewCategory); }
public static void ShowSupport() { webviewCategory = WEBVIEW_CATEGORY_SUPPORT; string severUrl = "https://apys.me/sp/"; string supportUrl = severUrl + "?rt=" + AY_GTA.GetBase64ParamsForSupport(); //Can't use post //Add a retry button, if use post, the failUrl would not include GTA info, so use get //PostURL(severUrl, AY_GTA.GetBase64ParamsForSupport()); LoadURL(supportUrl); AY_GTA.TrackeventSupportView(); AY_EventDispatcher.Instance.Dispatch(EVENT_WEBVIEW_SHOW, webviewCategory); }