D db0070 Active Member Licensed User Longtime User Jan 19, 2018 #1 I want to start the app with a notification. In this thread, I see two conflicting statements: https://www.b4x.com/android/forum/threads/scheduling-local-notifications.46516/reply?quote=287317 Last line says "- Only in Release mode you can actually start the app from a notification." If so, how can I start the app (assuming it is in the background)? And in the same thread: https://www.b4x.com/android/forum/threads/scheduling-local-notifications.46516/reply?quote=311798 Is there a way around this?
I want to start the app with a notification. In this thread, I see two conflicting statements: https://www.b4x.com/android/forum/threads/scheduling-local-notifications.46516/reply?quote=287317 Last line says "- Only in Release mode you can actually start the app from a notification." If so, how can I start the app (assuming it is in the background)? And in the same thread: https://www.b4x.com/android/forum/threads/scheduling-local-notifications.46516/reply?quote=311798 Is there a way around this?
Erel B4X founder Staff member Licensed User Longtime User Jan 21, 2018 #2 What do you mean with "start the app with notification"? Upvote 0
D db0070 Active Member Licensed User Longtime User Jan 21, 2018 #3 I am sorry, I am confused. In the thread https://www.b4x.com/android/forum/threads/scheduling-local-notifications.46516/#post-287317 in post #1 at the very last line it says "Only in Release mode you can start the app from a notification" And then in post #7 it says "No. Notifications don't start your app so you cannot run any code." Upvote 0
I am sorry, I am confused. In the thread https://www.b4x.com/android/forum/threads/scheduling-local-notifications.46516/#post-287317 in post #1 at the very last line it says "Only in Release mode you can start the app from a notification" And then in post #7 it says "No. Notifications don't start your app so you cannot run any code."
Erel B4X founder Staff member Licensed User Longtime User Jan 21, 2018 #4 db0070 said: in post #1 at the very last line it says "Only in Release mode you can start the app from a notification" Click to expand... This means that if you run your app in debug mode and schedule a local notification, then when the notification fires (assuming that the debugging app no longer runs) if you click on the notification it will fail to start the app as the app can only start when it is connected to the IDE. Upvote 0
db0070 said: in post #1 at the very last line it says "Only in Release mode you can start the app from a notification" Click to expand... This means that if you run your app in debug mode and schedule a local notification, then when the notification fires (assuming that the debugging app no longer runs) if you click on the notification it will fail to start the app as the app can only start when it is connected to the IDE.