question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plugin_not_installed

See original GitHub issue

Trying to use the plugin, but when running on android device it says that the plugin is not installed

Your Environment

  • Plugin version: 3.0.1
  • Platform: Android
  • OS version: 8.0.0
  • Device manufacturer and model:
  • Running in Simulator:
  • Cordova version (cordova -v):
  • Cordova platform version (cordova platform ls):
  • Plugin configuration options:
  • Link to your project:

Context

Building a Ionic 3 application, I have followed the steps to use the plugin:

ionic cordova plugin add cordova-plugin-mauron85-background-geolocation@alpha npm install --save @ionic-native/background-geolocation@4

and when trying to run the app in an Android device, message error plugin_not_installed is shown

Expected Behavior

Show an alert with the BackgroundGeolocationResponse

Actual Behavior

plugin_not_intalled error message

Possible Fix

I am trying other versions of the plugins and the new plugin @mauron85/cordova-plugin-background-geolocation

Steps to Reproduce

Context

Debug logs

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mauron85commented, Sep 26, 2019

Try installing exact version with:

cordova plugin add @mauron85/cordova-plugin-background-geolocation@^3.1.0
1reaction
mauron85commented, Sep 26, 2019

Also I believe there is still issue with scoped packages in cordova. Meaning that when you create platform with cordova platform add it may install also non scoped package cordova-plugin-background-geolocation. It’s different package, so beware and remove it from package.json.

The best way to avoid this, is to add plugin in config.xml with spec declaration. Check https://github.com/mauron85/cordova-plugin-background-geolocation-example/blob/96b0497013f56515c2ab84a16eacceeb4826c31a/config.xml#L50

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting the error plugin_not_installed with the Ionic ...
I have been using Ionic Framework for a while but I have recently come across this error plugin_not_installed for the Health Kit plugin ......
Read more >
Ionic 5 ERROR plugin_not_installed · Issue #728 - GitHub
Description: I have installed this plugin in ionic 5 and built the app successfully. But when I run the app, I get the...
Read more >
Resolve! plugin_not_installed issue in Ionic 3/4 Applications
A few days back I was facing a strange issue i.e Plugin Not Installed! in of my Ionic 3 Application. The weird thing...
Read more >
Plugin_not_installed error on Android for FingerprintAIO
I have been successfully using the cordova-plugin-fingerprint-aio plugin and the Ionic native wrapper for a while.
Read more >
ERROR plugin_not_installed on Android - Ionic
I'm getting plugin_not_installed errors. With cordova-android 8.1.0 and without installing Zoom, everything is working. Version Ionic: 6.4.0
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found