Hello All,
I'm making a really simple app to geolocalize my son phone on request (only with SMS - NO mobile data plan)
Not to be use in Google Play store, only personal use.
Application expected behavior:
Boot with phone and run 'forever' in background.
Intercept incoming SMS, if SMS coming from Authorize number and contain expected Keyword, then send back location by SMS
I use this tutorial as starting point; https://www.b4x.com/android/forum/threads/background-location-tracking.99873/#content
I add permissions and code for SEND_SMS / RECEIVE_SMS
Everything working perfectly on my Android 13 / SDK33
But I got issues with my son phone Android 15 / SDK35
As a temporary fix, I put targetSdkVersion = 33 in Manifest and it's working
, but I immagine this will not work for long ??
- Please help me, give me a direction to solve this, FLAG_MUTABLE ???
- Or let me know if my temporary fix, targetSdkVersion = 33 is sufficient for a personnal use for long time ?
Many thanks !
I'm making a really simple app to geolocalize my son phone on request (only with SMS - NO mobile data plan)
Not to be use in Google Play store, only personal use.
Application expected behavior:
Boot with phone and run 'forever' in background.
Intercept incoming SMS, if SMS coming from Authorize number and contain expected Keyword, then send back location by SMS
I use this tutorial as starting point; https://www.b4x.com/android/forum/threads/background-location-tracking.99873/#content
I add permissions and code for SEND_SMS / RECEIVE_SMS
Everything working perfectly on my Android 13 / SDK33

But I got issues with my son phone Android 15 / SDK35

As a temporary fix, I put targetSdkVersion = 33 in Manifest and it's working

- Please help me, give me a direction to solve this, FLAG_MUTABLE ???
- Or let me know if my temporary fix, targetSdkVersion = 33 is sufficient for a personnal use for long time ?
Many thanks !
Start of Error log:
tracker_gps_locationchanged (java line: 181)
java.lang.IllegalArgumentException: GetGPS.adu: Targeting U+ (version 34 and above) disallows creating or retrieving a PendingIntent with FLAG_MUTABLE, an implicit Intent within and without FLAG_NO_CREATE and FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT for security reasons. To retrieve an already existing PendingIntent, use FLAG_NO_CREATE, however, to create a new PendingIntent with an implicit Intent use FLAG_IMMUTABLE.