Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229599

Ionci Native background geolocation not work

$
0
0

Environment

  • Plugin version: Last version
  • Platform: iOS
  • OS version: 10
  • Device manufacturer and model: iPhone 7
  • Cordova version (cordova -v): 7.1.0
  • Cordova platform version (cordova platform ls): iOS
  • Plugin configuration options:
    desiredAccuracy: 10, stationaryRadius: 1, distanceFilter: 1, debug: true, stopOnTerminate: false,
    // Solo para Android
    locationProvider: 1, startForeground: true, interval: 6000, fastestInterval: 5000, activitiesInterval: 10000,

Context

Runtime error: Uncaught (in promise) plugin_not_installed

Steps to Reproduce

  1. Opening the app

Context

Debug logs

[10:13:04] tslint: src/app/app.module.ts, line: 28
’BackgroundGeolocationConfig’ is declared but never used.
L27: import { Geolocation } from ‘@ionic-native/geolocation’;
L28: import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationResponse } from ‘@ionic-na
L29: import { Camera /,CameraOptions/ } from ‘@ionic-native/camera’;
[10:13:04] tslint: src/app/app.module.ts, line: 28
’BackgroundGeolocationResponse’ is declared but never used.
L27: import { Geolocation } from ‘@ionic-native/geolocation’;
L28: import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationResponse } from '@ionic-na
L29: import { Camera /,CameraOptions/ } from ‘@ionic-native/camera’;
[10:13:04] lint finished in 4.22 s
[10:13:15] console.log: Ionic Pro initializing (app id: %cbf12280b%c) color: blue color: black
[10:13:16] console.log: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
[10:13:16] console.log: Ionic Native: deviceready event fired after 1264 ms
[10:13:16] console.warn: Native: tried calling BackgroundGeolocation.isLocationEnabled, but the BackgroundGeolocation plugin is not installed.
[10:13:16] console.warn: Install the BackgroundGeolocation plugin: ‘ionic cordova plugin add
cordova-plugin-mauron85-background-geolocation’

Anybody have this similar errors?


Viewing all articles
Browse latest Browse all 229599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>