| 
				
			 | 
			
			
				@@ -34,6 +34,7 @@ class PushedScreen extends Component { 
			 | 
		
	
		
			
			| 
				34
			 | 
			
				34
			 | 
			
			
				       this.simulateLongRunningTask(); 
			 | 
		
	
		
			
			| 
				35
			 | 
			
				35
			 | 
			
			
				     } 
			 | 
		
	
		
			
			| 
				36
			 | 
			
				36
			 | 
			
			
				     this.onClickPush = this.onClickPush.bind(this); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				37
			 | 
			
			
				+    this.onClickPushBottomTabs = this.onClickPushBottomTabs.bind(this); 
			 | 
		
	
		
			
			| 
				37
			 | 
			
				38
			 | 
			
			
				     this.onClickPop = this.onClickPop.bind(this); 
			 | 
		
	
		
			
			| 
				38
			 | 
			
				39
			 | 
			
			
				     this.onClickPopPrevious = this.onClickPopPrevious.bind(this); 
			 | 
		
	
		
			
			| 
				39
			 | 
			
				40
			 | 
			
			
				     this.onClickPopToFirstPosition = this.onClickPopToFirstPosition.bind(this); 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -80,6 +81,7 @@ class PushedScreen extends Component { 
			 | 
		
	
		
			
			| 
				80
			 | 
			
				81
			 | 
			
			
				         <Text testID={testIDs.PUSHED_SCREEN_HEADER} style={styles.h1}>{`Pushed Screen`}</Text> 
			 | 
		
	
		
			
			| 
				81
			 | 
			
				82
			 | 
			
			
				         <Text style={styles.h2}>{`Stack Position: ${stackPosition}`}</Text> 
			 | 
		
	
		
			
			| 
				82
			 | 
			
				83
			 | 
			
			
				         <Button title='Push' testID={testIDs.PUSH_BUTTON} onPress={this.onClickPush} /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				84
			 | 
			
			
				+        <Button title='Push bottomTabs' testID={testIDs.PUSH_BOTTOM_TABS_BUTTON} onPress={this.onClickPushBottomTabs} /> 
			 | 
		
	
		
			
			| 
				83
			 | 
			
				85
			 | 
			
			
				         {Platform.OS === 'ios' && <Button testID={testIDs.SHOW_PREVIEW_BUTTON} onPress={this.onClickPush} onPressIn={this.onClickShowPreview} title='Push Preview' />} 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				86
			 | 
			
			
				         <Button title='Pop' testID={testIDs.POP_BUTTON} onPress={this.onClickPop} /> 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				87
			 | 
			
			
				         <Button title='Pop Previous' testID={testIDs.POP_PREVIOUS_BUTTON} onPress={this.onClickPopPrevious} /> 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -216,6 +218,99 @@ class PushedScreen extends Component { 
			 | 
		
	
		
			
			| 
				216
			 | 
			
				218
			 | 
			
			
				     }); 
			 | 
		
	
		
			
			| 
				217
			 | 
			
				219
			 | 
			
			
				   } 
			 | 
		
	
		
			
			| 
				218
			 | 
			
				220
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				221
			 | 
			
			
				+  async onClickPushBottomTabs() { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				222
			 | 
			
			
				+    await Navigation.push(this.props.componentId, { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				223
			 | 
			
			
				+      bottomTabs: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				224
			 | 
			
			
				+        id: 'BottomTabs', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				225
			 | 
			
			
				+        children: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				226
			 | 
			
			
				+          { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				227
			 | 
			
			
				+            stack: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				228
			 | 
			
			
				+              id: 'TAB1_ID', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				229
			 | 
			
			
				+              children: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				230
			 | 
			
			
				+                { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				231
			 | 
			
			
				+                  component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				232
			 | 
			
			
				+                    name: 'navigation.playground.TextScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				233
			 | 
			
			
				+                    passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				234
			 | 
			
			
				+                      text: 'This is tab 1', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				235
			 | 
			
			
				+                      myFunction: () => 'Hello from a function!' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				236
			 | 
			
			
				+                    }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				237
			 | 
			
			
				+                    options: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				238
			 | 
			
			
				+                      topBar: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				239
			 | 
			
			
				+                        visible: true, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				240
			 | 
			
			
				+                        animate: false, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				241
			 | 
			
			
				+                        title: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				242
			 | 
			
			
				+                          text: 'React Native Navigation!' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				243
			 | 
			
			
				+                        } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				244
			 | 
			
			
				+                      }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				245
			 | 
			
			
				+                      bottomTab: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				246
			 | 
			
			
				+                        text: 'Tab 1', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				247
			 | 
			
			
				+                        icon: require('../images/one.png'), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				248
			 | 
			
			
				+                        selectedIcon: require('../images/one.png'), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				249
			 | 
			
			
				+                        testID: testIDs.FIRST_TAB_BAR_BUTTON 
			 | 
		
	
		
			
			| 
				
			 | 
			
				250
			 | 
			
			
				+                      } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				251
			 | 
			
			
				+                    } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				252
			 | 
			
			
				+                  } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				253
			 | 
			
			
				+                } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				254
			 | 
			
			
				+              ], 
			 | 
		
	
		
			
			| 
				
			 | 
			
				255
			 | 
			
			
				+              options: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				256
			 | 
			
			
				+                topBar: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				257
			 | 
			
			
				+                  visible: false 
			 | 
		
	
		
			
			| 
				
			 | 
			
				258
			 | 
			
			
				+                } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				259
			 | 
			
			
				+              } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				260
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				261
			 | 
			
			
				+          }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				262
			 | 
			
			
				+          { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				263
			 | 
			
			
				+            stack: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				264
			 | 
			
			
				+              children: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				265
			 | 
			
			
				+                { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				266
			 | 
			
			
				+                  component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				267
			 | 
			
			
				+                    name: 'navigation.playground.TextScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				268
			 | 
			
			
				+                    passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				269
			 | 
			
			
				+                      text: 'This is tab 2' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				270
			 | 
			
			
				+                    } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				271
			 | 
			
			
				+                  } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				272
			 | 
			
			
				+                } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				273
			 | 
			
			
				+              ], 
			 | 
		
	
		
			
			| 
				
			 | 
			
				274
			 | 
			
			
				+              options: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				275
			 | 
			
			
				+                bottomTab: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				276
			 | 
			
			
				+                  text: 'Tab 2', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				277
			 | 
			
			
				+                  icon: require('../images/two.png'), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				278
			 | 
			
			
				+                  testID: testIDs.SECOND_TAB_BAR_BUTTON 
			 | 
		
	
		
			
			| 
				
			 | 
			
				279
			 | 
			
			
				+                } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				280
			 | 
			
			
				+              } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				281
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				282
			 | 
			
			
				+          }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				283
			 | 
			
			
				+          { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				284
			 | 
			
			
				+            component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				285
			 | 
			
			
				+              name: 'navigation.playground.TextScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				286
			 | 
			
			
				+              passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				287
			 | 
			
			
				+                text: 'This is tab 3', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				288
			 | 
			
			
				+                myFunction: () => 'Hello from a function!' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				289
			 | 
			
			
				+              }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				290
			 | 
			
			
				+              options: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				291
			 | 
			
			
				+                topBar: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				292
			 | 
			
			
				+                  visible: true, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				293
			 | 
			
			
				+                  animate: false 
			 | 
		
	
		
			
			| 
				
			 | 
			
				294
			 | 
			
			
				+                }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				295
			 | 
			
			
				+                bottomTab: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				296
			 | 
			
			
				+                  text: 'Tab 3', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				297
			 | 
			
			
				+                  icon: require('../images/one.png'), 
			 | 
		
	
		
			
			| 
				
			 | 
			
				298
			 | 
			
			
				+                  selectedIcon: require('../images/one.png') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				299
			 | 
			
			
				+                } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				300
			 | 
			
			
				+              } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				301
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				302
			 | 
			
			
				+          } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				303
			 | 
			
			
				+        ], 
			 | 
		
	
		
			
			| 
				
			 | 
			
				304
			 | 
			
			
				+        options: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				305
			 | 
			
			
				+          bottomTabs: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				306
			 | 
			
			
				+            titleDisplayMode: 'alwaysShow', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				307
			 | 
			
			
				+            testID: testIDs.BOTTOM_TABS_ELEMENT 
			 | 
		
	
		
			
			| 
				
			 | 
			
				308
			 | 
			
			
				+          } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				309
			 | 
			
			
				+        } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				310
			 | 
			
			
				+      } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				311
			 | 
			
			
				+    }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				312
			 | 
			
			
				+  } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				313
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				219
			 | 
			
				314
			 | 
			
			
				   getStackPosition() { 
			 | 
		
	
		
			
			| 
				220
			 | 
			
				315
			 | 
			
			
				     return this.props.stackPosition || 1; 
			 | 
		
	
		
			
			| 
				221
			 | 
			
				316
			 | 
			
			
				   } 
			 |