-
Notifications
You must be signed in to change notification settings - Fork 0
/
Route.js
419 lines (406 loc) · 12.2 KB
/
Route.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
import React, { Component } from 'react';
import { Image, View } from 'react-native';
import { createAppContainer,createSwitchNavigator } from "react-navigation";
import Iconfont from 'react-native-vector-icons/MaterialCommunityIcons'
import Colors from './src/Theme/Colors'
import CustomeFonts from './src/Theme/CustomeFonts'
import { base_url_1 } from './src/Static'
import Splash from './src/screens/Splash'
import { createStackNavigator } from 'react-navigation-stack';
import Dashboard from './src/screens/Dashboard'
import YojnaList from './src/screens/YojnaList'
import YojnaDetail from './src/screens/YojnaDetail'
import EventLIst from './src/screens/EventLIst'
import EventDetail from './src/screens/EventDetail'
import NewsList from './src/screens/NewsList'
import NewsDetail from './src/screens/NewsDetail'
import PropertyList from './src/screens/PropertyList'
import PropertyDetail from './src/screens/PropertyDetail'
import PropertyBookingList from './src/screens/PropertyBookingList'
import Matrimony from './src/screens/Matrimony'
import Employment from './src/screens/Employment'
import Jobseeker from './src/screens/Jobseeker'
import JobProvider from './src/screens/JobProvider'
import Gallery from './src/screens/Gallery'
import GallerySwiper from './src/screens/GallerySwiper'
import CircularList from './src/screens/CircularList'
import BusinessInfo from './src/screens/BusinessInfo'
import Suggestion from './src/screens/Suggestion'
import MatrimonyList from './src/screens/MatrimonyList'
import FamilyTree from './src/screens/FamilyTree'
import Donor from './src/screens/Donor'
import Faq from './src/screens/Faq'
import Login from './src/screens/Login'
import Otp from './src/screens/Otp'
import ForgetPassword from './src/screens/ForgetPassword'
import OurSamaj from './src/screens/OurSamaj';
import Aboutus from './src/screens/Aboutus';
import ContactUs from './src/screens/ContactUs';
import Committe from './src/screens/Committe';
import MembersDetails from './src/screens/MembersDetails';
import Addnewpost from './src/screens/Addnewpost';
import PostDetails from './src/screens/PostDetails';
import BecomeDoner from './src/screens/BecomeDoner';
import SampleEventEdit from './src/screens/SampleEventEdit';
import AcadamicEventParticipent from './src/screens/AcadamicEventParticipent';
import PropertyBooking from './src/screens/PropertyBooking';
import MatrimonyDetails from './src/screens/MatrimonyDetails';
import AddFamilyMember from './src/screens/AddFamilyMember';
import Karobaridetails from './src/screens/KarobariDetails'
import KundliImage from './src/screens/KundliImage'
import MemberSearch from './src/screens/MemberSearch'
import EventAppliedList from './src/screens/EventAppliedList'
//Persional Details Folder Screen
import PersionalDetail from './src/screens/PersionalDetails/PersionalDetails'
import ViewOtherPersionalDetails from './src/screens/PersionalDetails/ViewOtherPersionalDetails'
import ViewProfessionalDetails from './src/screens/PersionalDetails/ViewProfessionalDetails'
import ViewMemberDoctorDetails from './src/screens/PersionalDetails/ViewMemberDoctorDetail'
import LookingForJob from './src/screens/PersionalDetails/LookinForJob'
import LookinForMatrimony from './src/screens/PersionalDetails/LookinForMatrimony'
import ViewJobProvider from './src/screens/PersionalDetails/ViewJobProvider'
import AddProduct from './src/screens/PersionalDetails/AddProduct'
import ProductDetails from './src/screens/ProductDetails'
import CompanyProductsList from './src/screens/CompanyProductsList'
import WebView from './src/screens/WebView'
import Videos from './src/screens/Videos'
import FamilyDetails from './src/screens/FamilyDetails';
import AdDetails from './src/screens/AdDetails';
import FamilyTreeMemberDetails from './src/screens/FamilyTreeMemberDetails';
import FamilyTreeRequest from './src/screens/FamilyTreeRequest';
// import realmtest from './src/screens/realmtest';
import VideoView from './src/screens/VideoView';
import FamilyTab from './src/screens/FamilyTab';
import PlayAudio from './src/screens/PlayAudio';
import WhishListView from './src/screens/WhishListView';
import AddWishlist from './src/screens/AddWishlist';
import FirendsView from './src/screens/FirendsView';
import { createMaterialTopTabNavigator } from 'react-navigation-tabs';
import Notification from './src/screens/Notification';
import CompanyDetails from './src/screens/CompanyDetails';
import EditProduct from './src/screens/PersionalDetails/EditProduct';
const topTabNavi = createMaterialTopTabNavigator({
Photos: {
screen: Gallery,
navigationOptions: {
title: 'Photos',
headerTitleStyle: {
width: '100%',
fontWeight: '200',
fontFamily: CustomeFonts.regular
}
}
},
Videos: {
screen: Videos,
navigationOptions: {
title: 'Videos',
headerTitleStyle: {
width: '100%',
fontWeight: '200',
fontFamily: CustomeFonts.regular
}
}
}
}, {
initialRouteName: 'Photos',
tabBarOptions: {
upperCaseLabel: false,
style: {
backgroundColor: Colors.Theme_color,
},
labelStyle: {
color: Colors.white,
fontSize: 16,
fontWeight: '500',
fontFamily: CustomeFonts.medium,
},
indicatorStyle: {
backgroundColor: Colors.white,
borderRadius: 10,
},
},
})
const topTabNaviTree = createMaterialTopTabNavigator({
FamilyTreeView: {
screen: FamilyTree,
navigationOptions: {
title: 'Family Tree',
},
},
FamilyTreeRequest: {
screen: FamilyTreeRequest,
navigationOptions: {
title: 'Family Photos',
}
},
}, {
initialRouteName: 'FamilyTreeView',
tabBarOptions: {
upperCaseLabel: false,
style: {
backgroundColor: Colors.Theme_color,
},
headerTitleStyle: {
width: '100%',
fontWeight: '200',
fontFamily: CustomeFonts.regular
},
labelStyle: {
color: Colors.white,
fontSize: 16,
fontWeight: '500',
fontFamily: CustomeFonts.medium,
},
indicatorStyle: {
backgroundColor: Colors.white,
borderRadius: 10,
},
},
})
const Stack_Navi = createStackNavigator(
{
splash: {
screen: Splash,
navigationOptions: {
header: null
}
},
Login: {
screen: Login,
navigationOptions: {
header: null
}
},
Otp: {
screen: Otp,
navigationOptions: {
header: null
}
},
ForgetPassword: {
screen: ForgetPassword,
navigationOptions: {
header: null
}
},
Dashboard: {
screen: Dashboard,
navigationOptions: {
header: null
}
},
YojnaList: {
screen: YojnaList,
},
YojnaDetail: {
screen: YojnaDetail,
},
EventLIst: {
screen: EventLIst,
},
EventDetail: {
screen: EventDetail,
},
NewsList: {
screen: NewsList,
},
NewsDetail: {
screen: NewsDetail,
},
PropertyList: {
screen: PropertyList,
},
PropertyDetail: {
screen: PropertyDetail,
},
PropertyBookingList: {
screen: PropertyBookingList,
},
Matrimony: {
screen: Matrimony,
},
Employment: {
screen: Employment,
},
Jobseeker: {
screen: Jobseeker,
},
JobProvider: {
screen: JobProvider,
},
Gallery: {
screen: topTabNavi,
navigationOptions: {
header: null
}
},
GallerySwiper: {
screen: GallerySwiper,
},
CircularList: {
screen: CircularList,
},
BusinessInfo: {
screen: BusinessInfo,
},
Suggestion: {
screen: Suggestion,
},
MatrimonyList: {
screen: MatrimonyList,
},
FamilyTree: {
screen: topTabNaviTree,
navigationOptions: {
header: null
}
},
FamilyTab: {
screen: FamilyTab,
},
FamilyTreeRequest: {
screen: FamilyTreeRequest,
},
FamilyDetails: {
screen: FamilyDetails,
},
AdDetails: {
screen: AdDetails,
},
Donor: {
screen: Donor,
},
Faq: {
screen: Faq,
},
OurSamaj: {
screen: OurSamaj,
},
Aboutus: {
screen: Aboutus,
},
ContactUs: {
screen: ContactUs,
},
Committe: {
screen: Committe,
},
MembersDetails: {
screen: MembersDetails,
},
ProductDetails: {
screen: ProductDetails,
},
CompanyProductsList: {
screen: CompanyProductsList,
},
Addnewpost: {
screen: Addnewpost,
},
PostDetails: {
screen: PostDetails,
path: 'post-detail/:postId'
},
CompanyDetails: {
screen: CompanyDetails,
},
EditProduct: {
screen: EditProduct,
},
BecomeDoner: {
screen: BecomeDoner,
},
SampleEventEdit: {
screen: SampleEventEdit,
},
AcadamicEventParticipent: {
screen: AcadamicEventParticipent,
},
PropertyBooking: {
screen: PropertyBooking,
},
MatrimonyDetails: {
screen: MatrimonyDetails,
},
AddFamilyMember: {
screen: AddFamilyMember,
},
// Persional Details Folder Screen Navigation
PersionalDetail: {
screen: PersionalDetail
},
ViewOtherPersionalDetails: {
screen: ViewOtherPersionalDetails
},
ViewProfessionalDetails: {
screen: ViewProfessionalDetails,
navigationOptions: {
header: null
}
},
ViewMemberDoctorDetails: {
screen: ViewMemberDoctorDetails
},
AddProduct: {
screen: AddProduct
},
LookingForJob: {
screen: LookingForJob
},
LookinForMatrimony: {
screen: LookinForMatrimony
},
ViewJobProvider: {
screen: ViewJobProvider
},
Karobaridetails: {
screen: Karobaridetails
},
KundliImage: {
screen: KundliImage
},
MemberSearch: {
screen: MemberSearch
},
EventAppliedList: {
screen: EventAppliedList
},
FamilyTreeMemberDetails: {
screen: FamilyTreeMemberDetails
},
WebView: {
screen: WebView
},
// realmtest: {
// screen: realmtest
// },
VideoView: {
screen: VideoView
},
PlayAudio: {
screen: PlayAudio
},
WhishListView: {
screen: WhishListView
},
AddWishlist: {
screen: AddWishlist
},
FirendsView: {
screen: FirendsView
},
Notification: {
screen: Notification
},
},
)
const prefix = Platform.OS == 'android' ? base_url_1 : base_url_1;
// const AppContainer = createAppContainer(Stack_Navi)
// export default () => {
// const prefix = 'myapp://'
// return <AppContainer uriPrefix={prefix} />
// }
const App = createAppContainer(Stack_Navi)
const MainApp = () => <App uriPrefix={prefix} />;
export default MainApp
//export default createAppContainer(Stack_Navi)