This gist is a selection of files that relate to the PendoRN integration in the Cerca iOS app.
Some code has been removed with comments left indicating where code has been removed.
Any code that has been removed has been deemed extraneous and irrelvant for this review.
is the foundation of our app. It makes use of the custom CercaNavigationContainer.
You'll also see how we connect the app to redux and then it gets registered in the AppRegistry.
is a custom component that wraps the ReactNavigation NavigationContainer.
Most of the Pendo integration occurs here, including use of the withPendoRN
wrapper and a function to initialize (setup) the PendoSDK.
is a custom object that wraps up functionality in our app related to navigation.
On line 9 is where we create the ref that gets used in our NavigationContainer.
is a type used to scope the NavigationContainer props
are 2 custom components that wrap up creation of StackNavigators
is a component that gets consumed by the DashboardScreen which is driven by the DashboardNavigator.
On lines 40 and 59 are examples of where we are making use of the nativeID.
is a file that shows logged objects of navigationState going to 2 different screens in our app.
From this we can verify that we are receiving navigationState with data and we are passing that onto the onStateChange
handlers from Pendo, in the NavigationContainer.