[Android 10+] OnActivated not called. App lifecycle with Deeplink flow #5076
Labels
kind/bug
Something isn't working
project/non-ui ⚙️
Categorizes an issue or PR as relevant to winrt (non-ui)
Milestone
Current behavior
This issue has been identified on Android 10+ (11) devices, it seems like its not behaving the same on Android 7,8 and 9.
Giving scenario when an email is sent to the device with a deeplink to an application :
App put OnPause through back button on android
OnPause()
hit in MainActivityOnActivated()
called, and thenOnResume()
App put OnPause through home button
OnPause()
hit in MainActivityOnRestart()
called, and thenOnResume()
OnActivated()
is not called at allOnActivated()
)Expected behavior
Given scenario 2 should behave the same as 1 and call
OnActivated()
. It seems like becauseOnRestart()
is called in the second flow, it takes precedence onOnActivated()
.Workaround
Environment
Nuget Package:
Affected platform(s):
IDE:
The text was updated successfully, but these errors were encountered: