Android: Silent Pushes + Prism Xamarin #2917
Unanswered
phillippschmedt
asked this question in
Xamarin.Forms
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
my app is working with silent pushes, e.g. pushes that only include data and no messages.
If the app is terminated and a silent push is received, the android lifecycle will not start the MainActivity and therefore Xamarin and Prism will not be initialized. It will only trigger the OnCreate() of the Application.
I need to handle some updates from these silent pushes, but I can't access the prism container. See the following example code:
Do you have any idea how I could deal with it?
Thanks a lot
Phillipp
Beta Was this translation helpful? Give feedback.
All reactions