Android Question Background location

stari

Active Member
Licensed User
Longtime User
I try Background location tracking.
in Manifest i put: SetServiceAttribute(Tracker, android:foregroundServiceType, "location")
i use platform 29
but when i compile, i get:
B4A Version: 9.90
Java Version: 8
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. Error
Error compiling program.
Error description: Unknown member: partiallock
Error occurred on line: 17
lock.PartialLock
Word: partiallock

What i make wrong?
 
Top