Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

IOS doesn't work in the background #228

Closed
karo-dc opened this issue Jul 12, 2019 · 2 comments
Closed

IOS doesn't work in the background #228

karo-dc opened this issue Jul 12, 2019 · 2 comments

Comments

@karo-dc
Copy link

karo-dc commented Jul 12, 2019

Which platform(s) does your issue occur on?

  • iOS
  • iOS 12.3.1
  • device. iPhone X

Please, provide the following version numbers that your issue occurs with:

  • CLI: 5.4.2
  • Cross-platform modules: 5.4.3
  • Runtime(s): 5.4.0
  • Plugin(s): 5.1.0
    It's the demo app provided.

I added in info.plist background modes "location".

Click on the startMonitoring (the way is shown in the demo app, and I add iosAllowsBackgroundLocationUpdates: true option), then I push the app into background. In the callback of startMonitoring I write in a file when the location is changed, but it's not updating the file when in background.

Is there any code involved?

The code is the same as your demo version provided in github.

@Prefix1802
Copy link

in my project it is working in the background. log your location to console to see if it registers lats and longs.

@zbranzov
Copy link
Contributor

zbranzov commented Aug 6, 2019

I'm closing this as duplicate of #176
If @Prefix1802 can assist you further please communicate in the other thread

@zbranzov zbranzov closed this as completed Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants