1 00:00:02,690 --> 00:00:07,190 Now that we learned how to work with parents, let's go to another place where we need Perm's. 2 00:00:07,190 --> 00:00:09,290 That's the product detailed screen there. 3 00:00:09,710 --> 00:00:13,320 I'm also getting parents to get the product title. 4 00:00:13,730 --> 00:00:21,950 And here again, we can do that not with navigation, get Perm's, but with route parents dot product 5 00:00:21,950 --> 00:00:22,490 title. 6 00:00:22,730 --> 00:00:28,190 And we can try it like this because on this page here on this screen, parents should actually never 7 00:00:28,190 --> 00:00:34,100 be on the flight because we always reach this screen with a parent set and therefore we can try it like 8 00:00:34,100 --> 00:00:35,330 this and see what it works. 9 00:00:35,510 --> 00:00:36,330 It should work. 10 00:00:36,980 --> 00:00:39,080 Now, let's see if we have get parents somewhere else. 11 00:00:39,110 --> 00:00:42,050 Yes, we do so here as well. 12 00:00:42,050 --> 00:00:45,780 We access the route Propp programs and then product ID. 13 00:00:46,550 --> 00:00:47,900 Now, if we save all of that. 14 00:00:50,690 --> 00:00:53,120 And we reload this application. 15 00:00:56,160 --> 00:01:00,660 We still have that error here on the starting screen, on the admin page. 16 00:01:00,870 --> 00:01:04,380 The product also is gone, so we'll have to look into that. 17 00:01:04,590 --> 00:01:07,170 But for the moment when we create a new product again. 18 00:01:08,100 --> 00:01:08,850 Like this. 19 00:01:10,670 --> 00:01:11,750 Test book. 20 00:01:13,000 --> 00:01:14,260 And we submit this. 21 00:01:15,620 --> 00:01:16,520 We got it here. 22 00:01:17,640 --> 00:01:24,480 And that looks good, I can click on it and edit it now, however, to see whether we can view the detailed 23 00:01:24,480 --> 00:01:27,960 screen, we need to make sure we can load it here on all products. 24 00:01:28,300 --> 00:01:30,180 So let's see which problem we're facing there. 25 00:01:30,360 --> 00:01:31,560 Why does this not loading? 26 00:01:32,720 --> 00:01:39,230 And for me, the problem actually just was that I had set up a new firebase back in here and I forgot 27 00:01:39,230 --> 00:01:42,430 to unlock access for authenticated users. 28 00:01:42,830 --> 00:01:44,570 So I did that now off screen. 29 00:01:44,570 --> 00:01:46,490 And once it did that. 30 00:01:48,050 --> 00:01:54,860 It should not also be working again, so for now, try to add this, this works now to Kierra is also 31 00:01:54,870 --> 00:01:58,940 gone because now a key is generated on the back end of reusing that here. 32 00:02:00,020 --> 00:02:03,540 And now if we go to the product screen, I also see my product there. 33 00:02:03,590 --> 00:02:08,150 Now, if I click on it, we can also go to the detail page without errors per click. 34 00:02:08,150 --> 00:02:09,010 Add to Cart. 35 00:02:09,020 --> 00:02:10,570 We should have it in the car, hopefully. 36 00:02:10,600 --> 00:02:12,370 There it is, the click order. 37 00:02:12,380 --> 00:02:14,250 Now that's empty. 38 00:02:14,270 --> 00:02:18,580 Let's check orders and here's our order where we can view the details. 39 00:02:19,010 --> 00:02:22,820 So this is now all looking pretty good to me. 40 00:02:23,360 --> 00:02:24,790 Let's try logout again. 41 00:02:25,340 --> 00:02:25,730 Yep. 42 00:02:25,970 --> 00:02:30,860 And with that I think we successfully migrated this to react. 43 00:02:30,860 --> 00:02:31,910 Navigation five. 44 00:02:32,970 --> 00:02:38,820 That's also tried in the U.S. and then in the next lecture, I'll sum up the important changes and where 45 00:02:38,820 --> 00:02:39,660 you can learn more. 46 00:02:40,730 --> 00:02:46,790 So here are logging in on us, I can do the details, I can add it to the cart, can view my card here, 47 00:02:47,510 --> 00:02:51,900 can go to orders to admin, I can delete it there. 48 00:02:52,520 --> 00:02:53,480 That's looking good. 49 00:02:55,330 --> 00:03:00,190 Back to products cart is empty now, so that all looks good to me on iOS.