| 
				
			 | 
			
			
				@@ -35,74 +35,74 @@ export default class App { 
			 | 
		
	
		
			
			| 
				35
			 | 
			
				35
			 | 
			
			
				   startApp(root) { 
			 | 
		
	
		
			
			| 
				36
			 | 
			
				36
			 | 
			
			
				     switch (root) { 
			 | 
		
	
		
			
			| 
				37
			 | 
			
				37
			 | 
			
			
				       case 'login': 
			 | 
		
	
		
			
			| 
				38
			 | 
			
				
			 | 
			
			
				-        // Navigation.startSingleScreenApp({ 
			 | 
		
	
		
			
			| 
				39
			 | 
			
				
			 | 
			
			
				-        //  screen: { 
			 | 
		
	
		
			
			| 
				40
			 | 
			
				
			 | 
			
			
				-        //    screen: 'example.LoginScreen', 
			 | 
		
	
		
			
			| 
				41
			 | 
			
				
			 | 
			
			
				-        //    title: 'Login', 
			 | 
		
	
		
			
			| 
				42
			 | 
			
				
			 | 
			
			
				-        //    navigatorStyle: {} 
			 | 
		
	
		
			
			| 
				43
			 | 
			
				
			 | 
			
			
				-        //  }, 
			 | 
		
	
		
			
			| 
				44
			 | 
			
				
			 | 
			
			
				-        //  passProps: { 
			 | 
		
	
		
			
			| 
				45
			 | 
			
				
			 | 
			
			
				-        //    str: 'This is a prop passed in \'startSingleScreenApp()\'!', 
			 | 
		
	
		
			
			| 
				46
			 | 
			
				
			 | 
			
			
				-        //    obj: { 
			 | 
		
	
		
			
			| 
				47
			 | 
			
				
			 | 
			
			
				-        //      str: 'This is a prop passed in an object!', 
			 | 
		
	
		
			
			| 
				48
			 | 
			
				
			 | 
			
			
				-        //      arr: [ 
			 | 
		
	
		
			
			| 
				49
			 | 
			
				
			 | 
			
			
				-        //        { 
			 | 
		
	
		
			
			| 
				50
			 | 
			
				
			 | 
			
			
				-        //          str: 'This is a prop in an object in an array in an object!' 
			 | 
		
	
		
			
			| 
				51
			 | 
			
				
			 | 
			
			
				-        //        } 
			 | 
		
	
		
			
			| 
				52
			 | 
			
				
			 | 
			
			
				-        //      ], 
			 | 
		
	
		
			
			| 
				53
			 | 
			
				
			 | 
			
			
				-        //      arr2: [ 
			 | 
		
	
		
			
			| 
				54
			 | 
			
				
			 | 
			
			
				-        //        [ 
			 | 
		
	
		
			
			| 
				55
			 | 
			
				
			 | 
			
			
				-        //          'array of strings', 
			 | 
		
	
		
			
			| 
				56
			 | 
			
				
			 | 
			
			
				-        //          'with two strings' 
			 | 
		
	
		
			
			| 
				57
			 | 
			
				
			 | 
			
			
				-        //        ], 
			 | 
		
	
		
			
			| 
				58
			 | 
			
				
			 | 
			
			
				-        //        [ 
			 | 
		
	
		
			
			| 
				59
			 | 
			
				
			 | 
			
			
				-        //          1, 2, 3 
			 | 
		
	
		
			
			| 
				60
			 | 
			
				
			 | 
			
			
				-        //        ] 
			 | 
		
	
		
			
			| 
				61
			 | 
			
				
			 | 
			
			
				-        //      ] 
			 | 
		
	
		
			
			| 
				62
			 | 
			
				
			 | 
			
			
				-        //    }, 
			 | 
		
	
		
			
			| 
				63
			 | 
			
				
			 | 
			
			
				-        //    num: 1234, 
			 | 
		
	
		
			
			| 
				64
			 | 
			
				
			 | 
			
			
				-        //    fn: function() { 
			 | 
		
	
		
			
			| 
				65
			 | 
			
				
			 | 
			
			
				-        //      return 'Hello from a function!'; 
			 | 
		
	
		
			
			| 
				66
			 | 
			
				
			 | 
			
			
				-        //    } 
			 | 
		
	
		
			
			| 
				67
			 | 
			
				
			 | 
			
			
				-        //  } 
			 | 
		
	
		
			
			| 
				68
			 | 
			
				
			 | 
			
			
				-        // }); 
			 | 
		
	
		
			
			| 
				69
			 | 
			
				38
			 | 
			
			
				         Navigation.startSingleScreenApp({ 
			 | 
		
	
		
			
			| 
				70
			 | 
			
				
			 | 
			
			
				-          screen: { 
			 | 
		
	
		
			
			| 
				71
			 | 
			
				
			 | 
			
			
				-            screen: 'example.FirstTabScreen', 
			 | 
		
	
		
			
			| 
				72
			 | 
			
				
			 | 
			
			
				-            title: 'Login', 
			 | 
		
	
		
			
			| 
				73
			 | 
			
				
			 | 
			
			
				-            topTabs: [ 
			 | 
		
	
		
			
			| 
				74
			 | 
			
				
			 | 
			
			
				-              { 
			 | 
		
	
		
			
			| 
				75
			 | 
			
				
			 | 
			
			
				-                screenId: 'example.FirstTabScreen', 
			 | 
		
	
		
			
			| 
				76
			 | 
			
				
			 | 
			
			
				-                title: 'Tab1', 
			 | 
		
	
		
			
			| 
				77
			 | 
			
				
			 | 
			
			
				-                passProps: { 
			 | 
		
	
		
			
			| 
				78
			 | 
			
				
			 | 
			
			
				-                  str: 'This is a prop passed to Tab4', 
			 | 
		
	
		
			
			| 
				79
			 | 
			
				
			 | 
			
			
				-                  fn: () => 'Hello from a function passed as passProps!' 
			 | 
		
	
		
			
			| 
				80
			 | 
			
				
			 | 
			
			
				-                } 
			 | 
		
	
		
			
			| 
				81
			 | 
			
				
			 | 
			
			
				-              }, 
			 | 
		
	
		
			
			| 
				82
			 | 
			
				
			 | 
			
			
				-              { 
			 | 
		
	
		
			
			| 
				83
			 | 
			
				
			 | 
			
			
				-                screenId: 'example.PushedScreen', 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				
			 | 
			
			
				-                title: 'Tab3', 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				
			 | 
			
			
				-                passProps: { 
			 | 
		
	
		
			
			| 
				86
			 | 
			
				
			 | 
			
			
				-                  str: 'This is a prop passed to Tab2' 
			 | 
		
	
		
			
			| 
				87
			 | 
			
				
			 | 
			
			
				-                } 
			 | 
		
	
		
			
			| 
				88
			 | 
			
				
			 | 
			
			
				-              }, 
			 | 
		
	
		
			
			| 
				89
			 | 
			
				
			 | 
			
			
				-              { 
			 | 
		
	
		
			
			| 
				90
			 | 
			
				
			 | 
			
			
				-                screenId: 'example.ListScreen', 
			 | 
		
	
		
			
			| 
				91
			 | 
			
				
			 | 
			
			
				-                title: 'Tab2', 
			 | 
		
	
		
			
			| 
				92
			 | 
			
				
			 | 
			
			
				-                passProps: { 
			 | 
		
	
		
			
			| 
				93
			 | 
			
				
			 | 
			
			
				-                  str: 'This is a prop passed to Tab1' 
			 | 
		
	
		
			
			| 
				94
			 | 
			
				
			 | 
			
			
				-                } 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				
			 | 
			
			
				-              } 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				
			 | 
			
			
				-            ], 
			 | 
		
	
		
			
			| 
				97
			 | 
			
				
			 | 
			
			
				-            navigatorStyle: {} 
			 | 
		
	
		
			
			| 
				98
			 | 
			
				
			 | 
			
			
				-          }, 
			 | 
		
	
		
			
			| 
				99
			 | 
			
				
			 | 
			
			
				-          drawer: { // optional, add this if you want a side menu drawer in your app 
			 | 
		
	
		
			
			| 
				100
			 | 
			
				
			 | 
			
			
				-            left: { // optional, define if you want a drawer from the left 
			 | 
		
	
		
			
			| 
				101
			 | 
			
				
			 | 
			
			
				-              screen: 'example.SideMenu' // unique ID registered with Navigation.registerScreen 
			 | 
		
	
		
			
			| 
				102
			 | 
			
				
			 | 
			
			
				-            }, 
			 | 
		
	
		
			
			| 
				103
			 | 
			
				
			 | 
			
			
				-            disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button 
			 | 
		
	
		
			
			| 
				104
			 | 
			
				
			 | 
			
			
				-          } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				39
			 | 
			
			
				+         screen: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				40
			 | 
			
			
				+           screen: 'example.LoginScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				41
			 | 
			
			
				+           title: 'Login', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				42
			 | 
			
			
				+           navigatorStyle: {} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				43
			 | 
			
			
				+         }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				44
			 | 
			
			
				+         passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				45
			 | 
			
			
				+           str: 'This is a prop passed in \'startSingleScreenApp()\'!', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				46
			 | 
			
			
				+           obj: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				47
			 | 
			
			
				+             str: 'This is a prop passed in an object!', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				48
			 | 
			
			
				+             arr: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				49
			 | 
			
			
				+               { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				50
			 | 
			
			
				+                 str: 'This is a prop in an object in an array in an object!' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				51
			 | 
			
			
				+               } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				52
			 | 
			
			
				+             ], 
			 | 
		
	
		
			
			| 
				
			 | 
			
				53
			 | 
			
			
				+             arr2: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				54
			 | 
			
			
				+               [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				55
			 | 
			
			
				+                 'array of strings', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				56
			 | 
			
			
				+                 'with two strings' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				57
			 | 
			
			
				+               ], 
			 | 
		
	
		
			
			| 
				
			 | 
			
				58
			 | 
			
			
				+               [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				59
			 | 
			
			
				+                 1, 2, 3 
			 | 
		
	
		
			
			| 
				
			 | 
			
				60
			 | 
			
			
				+               ] 
			 | 
		
	
		
			
			| 
				
			 | 
			
				61
			 | 
			
			
				+             ] 
			 | 
		
	
		
			
			| 
				
			 | 
			
				62
			 | 
			
			
				+           }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				63
			 | 
			
			
				+           num: 1234, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				64
			 | 
			
			
				+           fn: function() { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				65
			 | 
			
			
				+             return 'Hello from a function!'; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				66
			 | 
			
			
				+           } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				67
			 | 
			
			
				+         } 
			 | 
		
	
		
			
			| 
				105
			 | 
			
				68
			 | 
			
			
				         }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				69
			 | 
			
			
				+        // Navigation.startSingleScreenApp({ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				70
			 | 
			
			
				+        //   screen: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				71
			 | 
			
			
				+        //     screen: 'example.FirstTabScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				72
			 | 
			
			
				+        //     title: 'Login', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				73
			 | 
			
			
				+        //     topTabs: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				74
			 | 
			
			
				+        //       { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				75
			 | 
			
			
				+        //         screenId: 'example.FirstTabScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				76
			 | 
			
			
				+        //         title: 'Tab1', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				77
			 | 
			
			
				+        //         passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				78
			 | 
			
			
				+        //           str: 'This is a prop passed to Tab4', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				79
			 | 
			
			
				+        //           fn: () => 'Hello from a function passed as passProps!' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				80
			 | 
			
			
				+        //         } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				81
			 | 
			
			
				+        //       }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				82
			 | 
			
			
				+        //       { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				83
			 | 
			
			
				+        //         screenId: 'example.PushedScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				84
			 | 
			
			
				+        //         title: 'Tab3', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				85
			 | 
			
			
				+        //         passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				86
			 | 
			
			
				+        //           str: 'This is a prop passed to Tab2' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				87
			 | 
			
			
				+        //         } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				88
			 | 
			
			
				+        //       }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				89
			 | 
			
			
				+        //       { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				90
			 | 
			
			
				+        //         screenId: 'example.ListScreen', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				91
			 | 
			
			
				+        //         title: 'Tab2', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				92
			 | 
			
			
				+        //         passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				93
			 | 
			
			
				+        //           str: 'This is a prop passed to Tab1' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				94
			 | 
			
			
				+        //         } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				95
			 | 
			
			
				+        //       } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				96
			 | 
			
			
				+        //     ], 
			 | 
		
	
		
			
			| 
				
			 | 
			
				97
			 | 
			
			
				+        //     navigatorStyle: {} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+        //   }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				99
			 | 
			
			
				+        //   drawer: { // optional, add this if you want a side menu drawer in your app 
			 | 
		
	
		
			
			| 
				
			 | 
			
				100
			 | 
			
			
				+        //     left: { // optional, define if you want a drawer from the left 
			 | 
		
	
		
			
			| 
				
			 | 
			
				101
			 | 
			
			
				+        //       screen: 'example.SideMenu' // unique ID registered with Navigation.registerScreen 
			 | 
		
	
		
			
			| 
				
			 | 
			
				102
			 | 
			
			
				+        //     }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				103
			 | 
			
			
				+        //     disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button 
			 | 
		
	
		
			
			| 
				
			 | 
			
				104
			 | 
			
			
				+        //   } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				105
			 | 
			
			
				+        // }); 
			 | 
		
	
		
			
			| 
				106
			 | 
			
				106
			 | 
			
			
				         return; 
			 | 
		
	
		
			
			| 
				107
			 | 
			
				107
			 | 
			
			
				       case 'after-login': 
			 | 
		
	
		
			
			| 
				108
			 | 
			
				108
			 | 
			
			
				         Navigation.startTabBasedApp({ 
			 |