How To Setup Auto-Renewable Subscription in Swift StoreKit2

How To Setup Auto-Renewable Subscription in Swift StoreKit2

14,838 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@decreer4567
@decreer4567 - 08.03.2023 04:38

Thanks for doing this man.

Ответить
@NirvanNagar
@NirvanNagar - 01.04.2023 06:56

Thank you for explaining it step-by-step in this video and the In-App Purchase video as well. This really helped me better understand the example from Apple's WWDC video. Thanks again!

Ответить
@berkiyo
@berkiyo - 16.04.2023 06:19

Excellent video, thank you. Helped me out a lot. :)

Ответить
@dakota5532
@dakota5532 - 25.04.2023 10:53

great vid. quick, clear, and no BS. for the free trial on the monthly is that automatic or does something else need to be done?

Ответить
@swiftlydev
@swiftlydev - 30.04.2023 04:02

Great video!

Ответить
@dakota5532
@dakota5532 - 02.05.2023 02:53

this works great in the simulator, and the App Store Connect website does recognize it (when trying to duplicate it says there is already one)...but when running on TestFlight nothing appears. Also failed app review for the same reason. Anybody got any ideas?

Ответить
@phrax
@phrax - 09.05.2023 08:04

Thank you for creating this tutorial. Excellent and easy to understand step by step.

Ответить
@aurorats138
@aurorats138 - 15.05.2023 18:33

how to get into that Transaction management screen to delete transactions?

Ответить
@hanswurst1
@hanswurst1 - 01.06.2023 01:31

This helped a lot. Thank you for explaining and sharing!

Ответить
@RobertEvansII
@RobertEvansII - 14.06.2023 04:48

Thank you for this! It was hugely beneficial for me.

Ответить
@AbbeyOnAtkins
@AbbeyOnAtkins - 24.06.2023 06:49

“Drag that over here “ … what are you using for an external monitor?

Ответить
@natgenesis5038
@natgenesis5038 - 26.06.2023 07:51

Thanks so much

Ответить
@ardacmen
@ardacmen - 30.06.2023 22:42

how you handle appstore connect?

Ответить
@aritraneogi8008
@aritraneogi8008 - 12.07.2023 12:24

Thank You so much for this tutorial

Ответить
@liyuanxin670
@liyuanxin670 - 08.08.2023 12:01

there is one critical bug here. Instead of using ``` purchasedSubscription.append(subscription) ``` in updateCustomerProductStatus() function. We should use``` purchasedSubscriptionsTemp.append(Subscription); self.purchasedSubscription = purchasedSubscriptionTemp;```

Ответить
@iulianflester
@iulianflester - 29.08.2023 22:27

This is exactly what I needed.

Ответить
@lvterry
@lvterry - 08.09.2023 15:32

Thanks for the video. Very helpful

Ответить
@teamchang4894
@teamchang4894 - 19.09.2023 20:01

What about restore purchases?

Ответить
@onmydeskihaveacup
@onmydeskihaveacup - 25.10.2023 21:15

I dont think the ContenView is correct because it is simply looking for .isEmpty or otherwise it runs premium content with else {}, I believe this means that it would run an expired subscription.........premium content should be contingent on RenewalState, but the RenewalState only ever returns Nil.

Ответить
@thenathanshow9999
@thenathanshow9999 - 02.12.2023 00:29

Best tutorial I found so far in the past 2 days. Thank you so much

Ответить
@orebusaiku
@orebusaiku - 13.12.2023 05:45

subscriptionGroupStatus never seems to update even after a user makes a purchase?

Ответить
@nat.serrano
@nat.serrano - 05.01.2024 09:49

best video about storekit2, very very important in your app, the storekit server fails a lot!! can you do a video how to test, code defensively for the edge cases? (network error, products didn't load etc)

Ответить
@nat.serrano
@nat.serrano - 05.01.2024 09:51

I am also confused with how to check if the subscription is active or cancelled or in billing retry. I assume we need to have a different function to check the subscription status right?

Ответить
@MarcoSiciliano
@MarcoSiciliano - 10.04.2024 01:34

Thank you for this great video :)

Ответить
@SylsMusicRoom
@SylsMusicRoom - 07.05.2024 17:55

Thank you very much, works perfectly!

Ответить
@elliotknight5552
@elliotknight5552 - 11.05.2024 15:27

Really good tutorial thank you for the help

Ответить
@cooperdes3950
@cooperdes3950 - 01.06.2024 22:03

Great video. Strait to the point + GitHub in description

Ответить
@PauSanchez-u7y
@PauSanchez-u7y - 27.08.2024 17:20

But what if a user unsubscribes, or their card fails, or their card has insufficient funds? Where's all that taken into account?

Ответить
@pausanchezv
@pausanchezv - 31.08.2024 14:55

In the beginning of the video, you declare "typealias RenewalState = StoreKit.Product.SubscriptionInfo.RenewalState?", but are you actually using it? I can't figure out where...

Ответить
@keyboardgang5036
@keyboardgang5036 - 24.09.2024 13:55

its giving me transaction id 0. is this fiine ?

Ответить
@GT-gl7xe
@GT-gl7xe - 10.10.2024 12:14

This helped a lot. Thank you for explaining and sharing!

Ответить