Starting app only if its not currently running

后端 未结 11 1689
我寻月下人不归
我寻月下人不归 2020-12-02 23:07

I am sending push notification to users which when clicking on it opens the app.

My problem is that when the app is already open, clicking on the notification start

11条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 23:35

    Instead of showing the Splash activity on notification click, show your MainActivity because your splash activity will closed after some time but MainActivity will be remain open and

提交回复
热议问题