Is there a way to find out from just opened app, w...
# android
g
Is there a way to find out from just opened app, what are the intent details used to open that app? E.g. the app can have multiple activities, I would like to know which one was requested when the app process starts.
😶 4
For anyone interested answering it: https://stackoverflow.com/questions/74114505/
p
I see your question on so. You need to check your Activities not the Application. Application has a different lifecycle and does not receive an intent when the App is opened. Did you print out the intent values that comes in Activity.onCreate() and also Activity.onNewIntent(). Is it a pending intent or a simple one? Sometimes the intent.toString() does not show much, you have to ask for the keys and check if they exist