1
00:00:07,210 --> 00:00:12,610
Hey everybody what's going on and welcome to the in-app purchase target topic focusing specifically

2
00:00:12,700 --> 00:00:14,670
on auto renewing subscriptions.

3
00:00:14,680 --> 00:00:19,360
Now before you dive into the course I wanted to just show you a brief demo of the app you're going to

4
00:00:19,360 --> 00:00:19,750
build.

5
00:00:19,750 --> 00:00:22,690
I want to show you what it does how it works.

6
00:00:22,690 --> 00:00:23,530
All that stuff.

7
00:00:23,530 --> 00:00:26,110
So let's go ahead and let's just take a look.

8
00:00:26,140 --> 00:00:28,350
I have my phone up here in quick time.

9
00:00:28,440 --> 00:00:33,880
I'm using my physical device which by the way that's a requirement for this course that you have access

10
00:00:34,180 --> 00:00:38,340
to a physical iPhone to test these purchases especially subscriptions.

11
00:00:38,350 --> 00:00:43,580
The simulator is inconsistent slash doesn't really work at all for in-app purchases.

12
00:00:43,720 --> 00:00:47,070
And so we're going to you're going to need a physical device plugged in to do this.

13
00:00:47,080 --> 00:00:48,150
So let's take a look.

14
00:00:48,160 --> 00:00:54,730
If you tap on a cell it pulls open a controller with a banner add the ability to buy a certain item

15
00:00:54,820 --> 00:00:58,210
and let me put in my password here.

16
00:00:58,250 --> 00:01:02,000
It's the same password I use for all my test accounts.

17
00:01:02,130 --> 00:01:07,650
And basically you can buy that item and teaching your purchase was successful.

18
00:01:07,650 --> 00:01:09,660
You can also for 99 cents.

19
00:01:09,660 --> 00:01:12,780
Hide the ads and then they're permanently hidden.

20
00:01:12,780 --> 00:01:13,840
You can go and close that.

21
00:01:13,860 --> 00:01:19,380
And if you tap on the question mark you can restore in-app purchases you've already made.

22
00:01:19,380 --> 00:01:24,690
But my favorite part is subscriptions so you can notice on the bottom here there's a label that says

23
00:01:24,690 --> 00:01:28,260
subscription expired the red label right here.

24
00:01:28,260 --> 00:01:34,410
And if you go ahead and select the green dollar sign button you'll see it says subscribe to meal plan.

25
00:01:34,410 --> 00:01:38,820
This subscription will automatically renew every month for forty nine ninety nine.

26
00:01:38,820 --> 00:01:45,330
So if I click continue I confirm my subscription when I press OK watch what happens.

27
00:01:47,370 --> 00:01:50,690
And look at that you can see the UI changes right.

28
00:01:50,700 --> 00:01:54,260
The UI has a gray background the button or that the label is now green.

29
00:01:54,270 --> 00:01:56,060
It says subscription valid.

30
00:01:56,220 --> 00:02:00,520
If I go into a cell the ads are gone that's a perk of being a subscriber.

31
00:02:00,690 --> 00:02:04,560
And that's that's it guys that's that's what our subscription can do.

32
00:02:04,560 --> 00:02:07,380
Now this of course is a really simple example.

33
00:02:07,470 --> 00:02:14,540
And in a more advanced app you might want to set so that they can order food for free or not free.

34
00:02:14,550 --> 00:02:19,530
But as a part of their subscription one meal every day and every 24 hours they could reorder another

35
00:02:19,530 --> 00:02:23,440
meal any time throughout the day that would be something you could do.

36
00:02:23,640 --> 00:02:25,340
But this is basically it guys.

37
00:02:25,350 --> 00:02:28,620
After five minutes by the way the screen will turn white.

38
00:02:28,620 --> 00:02:31,680
The text will turn red and say subscription expired.

39
00:02:31,680 --> 00:02:38,370
And that's basically when it expires on its own basically assuming that I signed up for one month and

40
00:02:38,370 --> 00:02:43,470
I you know ran out of money or it didn't work to keep going and so the cool thing is that as long as

41
00:02:43,470 --> 00:02:46,960
you can pay from iTunes the subscription will remain valid.

42
00:02:47,130 --> 00:02:51,870
Now canceling the subscription we'll talk about that later on but this is the app guys this is what

43
00:02:51,870 --> 00:02:52,680
you're going to build.

44
00:02:52,680 --> 00:02:53,960
It's pretty cool.

45
00:02:54,000 --> 00:02:59,460
So let's go ahead and let's head over to the next video where we're basically going to dive in to just

46
00:02:59,490 --> 00:03:01,770
what this app is about.

47
00:03:01,830 --> 00:03:06,960
We're going to take a look at the starter project and just kind of poke around to see you know how it

48
00:03:06,960 --> 00:03:13,260
works and how it will help us to make this a much faster process of learning to renewing subscriptions.

49
00:03:13,260 --> 00:03:15,360
So let's head over to the next video now.
