https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Joey

11/29/2019, 7:19 AM
Does multiplatform library have the access to run background tasks for android and iOS? Sample use case is to monitor their location even app is in the background. Thanks in advance!
o

olonho

11/29/2019, 7:50 AM
MPP can have access to all platform APIs, including background task access
j

Joey

12/02/2019, 3:06 AM
What do you mean?
@olonho
o

olonho

12/02/2019, 5:08 AM
j

Joey

12/02/2019, 5:54 AM
So the background task should be written in native android and iOS not in common?
o

olonho

12/02/2019, 6:55 AM
yes, unless you or some third party will provide library for doing that
j

Joey

12/02/2019, 6:55 AM
Thank you so much!
271 Views