J Jithesh Mepparambath Member Licensed User Longtime User May 10, 2018 #1 hi, if i add two service modules , then none of them are working. I created a Service for intercepting the SMS which works untill i added the second service for FCM Pushnotification. now both the services are not working. project file attached. regards Jithesh M Attachments SMSIntercept.zip 11.9 KB · Views: 302
hi, if i add two service modules , then none of them are working. I created a Service for intercepting the SMS which works untill i added the second service for FCM Pushnotification. now both the services are not working. project file attached. regards Jithesh M
LucaMs Expert Licensed User Longtime User May 10, 2018 #2 I used services rarely but... where are you starting the services? Nowhere. StartService(... ??? Upvote 0
kisoft Well-Known Member Licensed User Longtime User May 11, 2018 #3 I have checked the manifest editor in your example. B4X: <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/> you can set for test stargetSdkVersion="19.....23" else if android:targetSdkVersion="26" then See the runtime permissions video tutorial. end if Upvote 0
I have checked the manifest editor in your example. B4X: <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/> you can set for test stargetSdkVersion="19.....23" else if android:targetSdkVersion="26" then See the runtime permissions video tutorial. end if
tigrot Well-Known Member Licensed User Longtime User May 11, 2018 #4 LucaMs said: I used services rarely but... where are you starting the services? Nowhere. StartService(... ??? Click to expand... SMS service is started by OS like Firebase one. Probably a permission issue Upvote 0
LucaMs said: I used services rarely but... where are you starting the services? Nowhere. StartService(... ??? Click to expand... SMS service is started by OS like Firebase one. Probably a permission issue
LucaMs Expert Licensed User Longtime User May 11, 2018 #5 tigrot said: SMS service is started by OS like Firebase one. Probably a permission issue Click to expand... Then I SHOULD read this: https://www.b4x.com/android/forum/t...cepting-sms-messages-in-the-background.20103/ but for the moment I do not care Upvote 0
tigrot said: SMS service is started by OS like Firebase one. Probably a permission issue Click to expand... Then I SHOULD read this: https://www.b4x.com/android/forum/t...cepting-sms-messages-in-the-background.20103/ but for the moment I do not care