Hi Erel and Experts,
I am working with an application using smsInterceptor service. My app is working well and I can intercept successfully the incoming text messages.
The only issue I get is when the user turn off his device. Once he turns on his device back, the device's default Messaging application will be back faster than my app.
Hence all the pending text messages (which are sent to the user during the phone off time) will go immediately to this Messaging app. My app is running later (after Messaging), so it will not be able to intercept those messages, which are expected to be intercepted and are already "stolen" by the system Messaging.
How can I prevent the Messaging app "steal" the messages? I believe I need to make my app to be the default messaging, but is it possible?
Thank you.
bsnqt
I am working with an application using smsInterceptor service. My app is working well and I can intercept successfully the incoming text messages.
The only issue I get is when the user turn off his device. Once he turns on his device back, the device's default Messaging application will be back faster than my app.
Hence all the pending text messages (which are sent to the user during the phone off time) will go immediately to this Messaging app. My app is running later (after Messaging), so it will not be able to intercept those messages, which are expected to be intercepted and are already "stolen" by the system Messaging.
How can I prevent the Messaging app "steal" the messages? I believe I need to make my app to be the default messaging, but is it possible?
Thank you.
bsnqt
Last edited: