Gotchas
#
Potential Error MessagesNo "routes" found in navigation state. to fix this error message, view code block one on adding-an-app
The navigation prop is missing for this navigator. to fix this error message, view code block two on adding-an-app
#
Same Route NamingsAs you add more and more apps to protocapsule, be aware of the route naming conventions, and take into consideration prefixing each route with the specific app name.
Below is an example of two apps with the same tab navigation route namings:
/src/apps/music/App.js
/src/apps/stream/App.js
As you can see above, the route names are both StackHome, to prevent this, take a look at the next two blocks, prefixing the app name to provide different route naming conventions.
/src/apps/music/App.js
/src/apps/stream/App.js
Now MusicStackHome and StreamStackHome are two different routes.