我的应用有1个月的自动续订订阅。当用户单击“购买订阅”按钮时,我将购买日期保存到共享首选项中。然后,1个月后,我需要检查此订阅是否仍然有效。那么我该如何实现呢? 最佳答案 ====2020年3月11日更新你好,我可以看到这篇文章仍然被那些寻找如何在Flutter中使用订阅的人阅读。在2019年期间,我制作了两款安装量达数千次的应用程序,用户可以在这两个平台上购买可续订的订阅。直到2020年2月,我使用了Flutter团队的这个包https://pub.dev/packages/in_app_purchase,但是-无法获取有关用户在
我的应用有1个月的自动续订订阅。当用户单击“购买订阅”按钮时,我将购买日期保存到共享首选项中。然后,1个月后,我需要检查此订阅是否仍然有效。那么我该如何实现呢? 最佳答案 ====2020年3月11日更新你好,我可以看到这篇文章仍然被那些寻找如何在Flutter中使用订阅的人阅读。在2019年期间,我制作了两款安装量达数千次的应用程序,用户可以在这两个平台上购买可续订的订阅。直到2020年2月,我使用了Flutter团队的这个包https://pub.dev/packages/in_app_purchase,但是-无法获取有关用户在
我想在我的Flutter应用程序中为iOS和Android设备提供自动续订订阅。用户可以订阅1个月。目前还没有官方维护的应用内购买插件。但是Flutter中有很多关于In-AppPurchases的插件。哪个最好?如何实现?这些安全吗? 最佳答案 ====UPDATEfrom11.03.2020Hi,IcanseethispoststillreadingbypeoplewholookingforamethodofhowtoworkwithsubscriptioninFlutter.During2019Imadetwoappswith
我想在我的Flutter应用程序中为iOS和Android设备提供自动续订订阅。用户可以订阅1个月。目前还没有官方维护的应用内购买插件。但是Flutter中有很多关于In-AppPurchases的插件。哪个最好?如何实现?这些安全吗? 最佳答案 ====UPDATEfrom11.03.2020Hi,IcanseethispoststillreadingbypeoplewholookingforamethodofhowtoworkwithsubscriptioninFlutter.During2019Imadetwoappswith
我已经为我的项目配置了IAP,它似乎可以工作,所以我的应用程序在应用程序商店上线,但我发现大约30%的iTunes请求由于某种原因返回了invalidProductIdentifier,下面是完整的代码:classIAP:NSObject,SKProductsRequestDelegate{staticletsharedInstance=IAP()funcproductsRequest(request:SKProductsRequest,didReceiveResponseresponse:SKProductsResponse){response.invalidProductIdent
我已经为我的项目配置了IAP,它似乎可以工作,所以我的应用程序在应用程序商店上线,但我发现大约30%的iTunes请求由于某种原因返回了invalidProductIdentifier,下面是完整的代码:classIAP:NSObject,SKProductsRequestDelegate{staticletsharedInstance=IAP()funcproductsRequest(request:SKProductsRequest,didReceiveResponseresponse:SKProductsResponse){response.invalidProductIdent
我正在我的应用中实现应用内结算以解锁高级功能。应用内结算设置正确。除了“开发人员有效负载”之外,一切似乎都很好。示例应用说明/**TODO:verifythatthedeveloperpayloadofthepurchaseiscorrect.Itwillbe*thesameonethatyousentwheninitiatingthepurchase.**WARNING:Locallygeneratingarandomstringwhenstartingapurchaseand*verifyingitheremightseemlikeagoodapproach,butthiswill
我正在我的应用中实现应用内结算以解锁高级功能。应用内结算设置正确。除了“开发人员有效负载”之外,一切似乎都很好。示例应用说明/**TODO:verifythatthedeveloperpayloadofthepurchaseiscorrect.Itwillbe*thesameonethatyousentwheninitiatingthepurchase.**WARNING:Locallygeneratingarandomstringwhenstartingapurchaseand*verifyingitheremightseemlikeagoodapproach,butthiswill
trainingclassforSellingIn-appProductsinAndroid建议在发出购买请求时使用有效负载:Thefifthargumentcontainsa‘developerpayload’stringthatyoucanusetosendsupplementalinformationaboutanorder(itcanbeanemptystring).Typically,thisisusedtopassinastringtokenthatuniquelyidentifiesthispurchaserequest.Ifyouspecifyastringvalue,
trainingclassforSellingIn-appProductsinAndroid建议在发出购买请求时使用有效负载:Thefifthargumentcontainsa‘developerpayload’stringthatyoucanusetosendsupplementalinformationaboutanorder(itcanbeanemptystring).Typically,thisisusedtopassinastringtokenthatuniquelyidentifiesthispurchaserequest.Ifyouspecifyastringvalue,