I need to access the UserId of a pushnotification component with the OneSiganl plugin in an Ionic application.
The provider where I do the initialization is called in app.component.ts. I create the service without problem and the notifications reach me.
The problem is that I need to save the userId that is obtained with getIds () on my login page. And I do not know how to access that value in my login component, if I have to re-start the service to access that Id or how to do it.
Thanks