I’m trying to create a routing Provider to allow navigation from app-based events, rather than user-based.
I’d like to be able to push a page onto the stack from anywhere in the app using my Provider.
I’ve added my provider to app.component so it will be available app wide to listen for events from anywhere.
When the app starts I get:
Runtime Error No provider for NavController!
Is it possible to get this working?