Hi,
We are seeing a small issue on our app with a subscription in app purchase and wondering whether this should be a cause for concern.
We have 2 subscription based IAPs and 1 consumable within the app. I recently noticed that after buying one of the subscriptions and cancelling it if I try to buy the product again, it skips the purchase flow on our Test Flight builds.
I added some logs, and it appears that Product.purchase() returns right away and the resulting transaction also comes back as verified, but the new purchase is not added to current entitlements.
I managed to get the flow working after I logged out from my Sandbox account from settings, but after I did another subscription cancellation, I could not purchase the product anymore. This only happens on our Test Flight builds. If I launch the app through Xcode and use a store kit configuration file at launch, I get the purchase popup every time I try to buy the product.
It also appears to me that this only happens on a product that I have purchased previously. For the other subscription that I have not purchased before the popup shows up every time.
Is this something that we should be concerned about and is there a way to make sure the purchase popup shows up every time?
Thank you.
Kind regards,
Fardin
Post
Replies
Boosts
Views
Activity
Hi,
We are trying to implement a system that delivers real time data updates to our apps through the Firebase Cloud Messaging system using the REST API with the relevant payload. We set content-available to 1 so that the payload delivery is silent.
We use the didReceiveRemoteNotification delegate function to receive the push notification. It works seamlessly when the app is built through Xcode but when we tried it on an .ipa, the delegate function is not called.
We have tried setting different parameters in apps-priority and apps-push-type but without much success. Apple documentation points out that there are some restrictions when it comes to receiving silent push notifications in this way. But in our case, it looks like Xcode builds work perfectly while ipa builds are very spotty at best.
Is this not the right method to receive real time data updates? It was our impression that this is how chat apps for example are setup to receive real time text updates.
If this method cannot be used, does anyone have any other suggestion as to how to go about achieving the same behaviour within our apps?
Thank you!
Fardin