File tree Expand file tree Collapse file tree 3 files changed +433
-0
lines changed
Expand file tree Collapse file tree 3 files changed +433
-0
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,15 @@ import {NavigationContainer} from '@react-navigation/native';
22import { createNativeStackNavigator } from '@react-navigation/native-stack' ;
33
44import Home from '../screens/Home' ;
5+ import AllProducts from '../screens/AllProducts' ;
56import PurchaseFlow from '../screens/PurchaseFlow' ;
67import SubscriptionFlow from '../screens/SubscriptionFlow' ;
78import AvailablePurchases from '../screens/AvailablePurchases' ;
89import OfferCode from '../screens/OfferCode' ;
910
1011export type RootStackParamList = {
1112 Home : undefined ;
13+ AllProducts : undefined ;
1214 PurchaseFlow : undefined ;
1315 SubscriptionFlow : undefined ;
1416 AvailablePurchases : undefined ;
@@ -26,6 +28,11 @@ export default function AppNavigator() {
2628 component = { Home }
2729 options = { { title : 'react-native-iap' } }
2830 />
31+ < Stack . Screen
32+ name = "AllProducts"
33+ component = { AllProducts }
34+ options = { { title : 'All Products' } }
35+ />
2936 < Stack . Screen
3037 name = "PurchaseFlow"
3138 component = { PurchaseFlow }
You can’t perform that action at this time.
0 commit comments