157239028: Firebase Dynamiclink not open my MAIN Activity and not receive newest link data
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Android Studio version: 3.5_
- Firebase Component: Firebase Dynamic link
- Component version: 19.0.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I’m not a native speaker in English, sorry for my bad grammar 😓
I found that dynamic links might not open my app through the activity with action.MAIN tag when I click the link to my app after first time(which is completely fine). In this situation, neither the intent from onNewIntent
with launchMode=singleTask
nor normal getIntent
with launchMode=standard
returns the newest data from firebase but the previous one. However, if I clear the app from history before open it without dynamiclink, I can still get the latest missing data, which might be the same cause by issue #357
For example, if I have two dynamic links: link_a => https://example.page.link/url1 link_b => https://example.page.link/url2
I press link_a in social media -> open my app -> receive data inside link_a -> get back to social media and press link_b or link_a again -> open my app (not restart my MAIN activity) -> still receive data inside link_a until completely close the app -> completely close the app and launch app by icon (I should not get any link data) -> receive link_b data which I should get previous
When dynamic links run into not launch my app from MAIN activity for the first time, it won’t restart MAIN activity even if I use adb command or other ways to send intent until clear from history.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (1 by maintainers)
Top GitHub Comments
I filed an issue internally using this bug#147086947. I’ll let you know once I heard feedback from them.
@WadeXHong sorry for the delay. I was able to reproduce the issue now, I’ll consult the issue to the team. I’ll get back to you once I got an update.