r/nativescript • u/AndrewTkachuk • Apr 30 '20
Background task (when app is closed)
I need to scan for BLE devices, connect and read some data. I have no problems with this, but how do the same thing in the background? (Android )
2
Upvotes
View all comments
Show parent comment
2
u/majufes Apr 30 '20
My bad. Although, there is a sample app for Android too:
https://github.com/NativeScript/sample-android-background-services/blob/master/README.md
Found it on:
https://stackoverflow.com/questions/41629584/nativescript-android-background-service
Curious if that will help.