Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Plugin not enabled #70

Open
royipr opened this issue Dec 25, 2015 · 3 comments
Open

Error: Plugin not enabled #70

royipr opened this issue Dec 25, 2015 · 3 comments

Comments

@royipr
Copy link

royipr commented Dec 25, 2015

Hi all :)

I installed the plugin using:
cordova plugin add cordova-plugin-app-preferences

Now when I try to set some key im getting an error in the browser
Error: Plugin not enabled

What am i missing?

P.S
Is there a place where i can read about the app-settings file? im using the default and i have no idea what the fields there are saying

@neuberoliveira
Copy link

same here +1

@apla
Copy link
Owner

apla commented Feb 4, 2016

I cannot reproduce, but there is few possibilities, according to the SO:

  1. Unsupported platform
  2. Calling plugin before deviceready
  3. Crappy code in ionic/ng-cordova/phonegap wrapper (especially ng-cordova - take a look this.pluginNotEnabledMessage)
  4. Plugin is not installed before use

Try to add at least one supported platform, install plugin and call plugin after deviceready event. Everything should be fine then

@pougin
Copy link

pougin commented Feb 16, 2016

On iOS the plugin works. I will try later and feed back if it works in Chrome with ionic serve. This is important for auto reloading :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants