I’m trying to retrieve some
Platform information in a service, and it does not appear that we can just inject the
Platform into a service but only the
App, or maybe I’m wrong?
So instead I’ve decided to publish an event when the platform is ready, and I will listen to this event in my service, however it seems that when my service is instantiated, the event has already been published and therefore I never receive it. So 2 questions:
- Is there any way to get the
Platformoutside of the
- If not, am I forced to create a service that references the
Platformor can I subscribe to an event after it has been published?