private static IEnumerator DelayOpenApp(CrossPromotionItemConfig item)
        {
            yield return(null);

            yield return(null);

            interact.Invoke(Interact.InstallApp, item);
            Application.OpenURL(item.GetLink());
        }
        static void CheckCrosspromotionStatus(CrossPromotionData data, CrossPromotionItemConfig item, bool isInit)
        {
            string id = Utils.GetValueFromUrl(item.GetLink(), "id");

            if (Utils.checkPackageAppIsPresent(id))
            {
                if (isInit)
                {
                    data.GetItem(item.id).SetInvalid();
                }
                else
                {
                    if (data.GetItem(item.id).isValid)
                    {
                        data.GetItem(item.id).SetComplete();
                    }
                }
            }
        }