Я работаю над фоновой задачей Geolocation, когда я буду запускать приложение, все в порядке, но при закрытии или перезапуске приложения отображается сообщение.
Я фактически использую этот пакет дляфоновая геолокация https://github.com/mauron85/react-native-background-geolocation
И OneSignal SDK для собственной реакции тоже.
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Memory: 3.86 GB / 11.88 GB Binaries:
Node: 10.16.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD SDKs:
Android SDK:
API Levels: 19, 23, 25, 26, 27, 28, 29
Build Tools: 26.0.3, 28.0.3, 29.0.1
System Images: android-23 | Intel x86 Atom, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-23 |
Google APIs Intel x86 Atom_64, android-29 | Intel x86 Atom,
android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86
Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google
Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5900203 npmPackages:
react: 16.8.6 => 16.8.6
react-native: ^0.60.5 => 0.60.6
Я удаляю и геолокации OneSignal, и фоновую геолокацию - все еще отображается сообщение.