Example #1
0
        /// <summary>
        /// Subscribe for unified deeplink API.
        /// This is called automatically from OnDeepLinkReceived.
        /// CallBackObjectName is set in the init method.
        /// </summary>
        public static void subscribeForDeepLink()
        {
#if UNITY_IOS && !UNITY_EDITOR
            AppsFlyeriOS.subscribeForDeepLink(CallBackObjectName);
#elif UNITY_ANDROID && !UNITY_EDITOR
            AppsFlyerAndroid.subscribeForDeepLink(CallBackObjectName);
#else
#endif
        }