- Jun 6, 2020
- 11,593
- 4,507
Hi!
My app was working OK except in Android 10.
It has the mandatory location permission ACCESS_FINE_LOCATION because it must scan for Bluetooth devices.
There is a service that runs only when the SO is pairing with the Bluetooth device.
In Android 10 the service seems not to start. (no errors shown in the unfiltered log)
Things I have tried:
-Update to B4A v10
-Android sdk platform 29 and targetSdkVersion="29"
-As noted in the post
B4X:
(Changing the service name)
The results are the same.
The service don't start.
Some doubts now:
Must I add the manifest line somewhere specific position? Here:
Is a...
My app was working OK except in Android 10.
It has the mandatory location permission ACCESS_FINE_LOCATION because it must scan for Bluetooth devices.
There is a service that runs only when the SO is pairing with the Bluetooth device.
In Android 10 the service seems not to start. (no errors shown in the unfiltered log)
Things I have tried:
-Update to B4A v10
-Android sdk platform 29 and targetSdkVersion="29"
-As noted in the post
برای دیدن لینک ها باید ثبت نام کنید
added to the manifest this line:B4X:
SetServiceAttribute(Tracker, android:foregroundServiceType, "location")(Changing the service name)
The results are the same.
The service don't start.
Some doubts now:
Must I add the manifest line somewhere specific position? Here:
برای دیدن لینک ها باید ثبت نام کنید
says that it may be declared in the "service section" of the manifest. Is this relevant?Is a...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید