A airblaster Active Member Licensed User Longtime User Oct 9, 2013 #1 Hi, I'm using push notifications together with the core notification library. I add status bar notifications like this: Code: Copy n.SetInfo2("Test", "Test", ID, Main ) This works well and launches the app if it isn't already running. However, if the app is already running it only works if I'm on the Main activity. How can this be fixed?
Hi, I'm using push notifications together with the core notification library. I add status bar notifications like this: Code: Copy n.SetInfo2("Test", "Test", ID, Main ) This works well and launches the app if it isn't already running. However, if the app is already running it only works if I'm on the Main activity. How can this be fixed?
Erel B4X founder Staff member Licensed User Longtime User Oct 9, 2013 #2 What happens when it doesn't work? Upvote 0
A airblaster Active Member Licensed User Longtime User Oct 9, 2013 #3 Actually nothing, apart from the notification vanishing from the list. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 9, 2013 #4 Try to start a different activity which is not already in the activities stack. Upvote 0
A airblaster Active Member Licensed User Longtime User Oct 9, 2013 #5 It worked, thanks for your suggestion! Upvote 0