Exemplo n.º 1
0
        private bool OnActivated(string s)
        {
#if DEBUG_UDL
            Debug.Log("[UDL - DeepLinkManager] Calling callbacks");
#endif
            LinkActivation la      = CreateLinkActivation(s);
            var            handler = _activated;
            if (handler != null)
            {
                try
                {
                    handler(la);
                }
                catch (Exception e)
                {
                    Debug.LogError("*ERROR* - DeepLinkManager LinkActivated handler throw an exception");
                    Debug.LogException(e);

                    if (Debug.isDebugBuild)
                    {
                        throw;
                    }
                }
                return(true);
            }

#if DEBUG_UDL
            Debug.Log("[UDL - DeepLinkManager] No callbacks found");
#endif

            return(false);
        }
    private void Instance_LinkActivated(ImaginationOverflow.UniversalDeepLinking.LinkActivation s)
    {
        m_bLoggedInAndroid = true;

        /* m_LoadingText.GetComponent<UnityEngine.UI.Text>().text = s.Uri;// "Link opened";
         * m_LoadingBack.SetActive(true);
         * m_LoadingText.SetActive(true);*/

        loginSuccessful(s.Uri);
        //Debug.Log("Url: " + s.Uri);
    }
Exemplo n.º 3
0
    private void Instance_LinkActivated(ImaginationOverflow.UniversalDeepLinking.LinkActivation s)
    {
        jsonString = UnityWebRequest.UnEscapeURL(s.QueryString["data"]);

        Initialize();
    }