Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto renewable subscription status on app launch #45

Closed
bb-git opened this issue Jun 2, 2016 · 2 comments
Closed

auto renewable subscription status on app launch #45

bb-git opened this issue Jun 2, 2016 · 2 comments

Comments

@bb-git
Copy link

bb-git commented Jun 2, 2016

Is there a way to request the status of subscription on app launch without asking for the user credentials?

If not, is there at least a way to get the notification, when the subscription is being renewed?

Thanks

@bizz84
Copy link
Owner

bizz84 commented Jul 10, 2016

Take a look at the verifySubscription() method introduced in version 0.2.9:

https://github.com/bizz84/SwiftyStoreKit#verify-subscription

You should be able to call SwiftyStoreKit.verifyReceipt(receiptVerifyURL: .Production, password: "your_shared_secret") and on success call SwiftyStoreKit.verifySubscription() with your product id.

This does not require the user to enter the AppleID.

@bb-git
Copy link
Author

bb-git commented Jul 11, 2016

In sandbox it was enough to call SwiftyStoreKit.completeTransactions().
The renewed subscription was processed then.

@bizz84 bizz84 closed this as completed Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants