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

Getting message: Native: tried accessing the SQLite plugin but it's not installed. ionic ios emulator 10 #594

Closed
vangelisv opened this issue Dec 9, 2016 · 18 comments

Comments

@vangelisv
Copy link

It works fine in android both emulator and device.
Plugin is installed for both platforms

@brodycj
Copy link
Contributor

brodycj commented Dec 9, 2016

I suspect there is something wrong with your installation. I suggest you try cordova-plugin-dialogs and maybe cordova-plugin-file first. I am busy with an urgent assignment and can take a look after 1-2 weeks. Marked community-help-welcome.

For priority support please contact [email protected] or [email protected].

@aces-tm
Copy link

aces-tm commented Jan 9, 2017

Did you ever find solution for this?

@vangelisv
Copy link
Author

vangelisv commented Jan 9, 2017 via email

@aces-tm
Copy link

aces-tm commented Jan 9, 2017

for me it happens only when I run it with ionic run android --prod and it works fine with ionic run android but it takes 15-18 seconds to load. Did you have the same problem?

@rodineijf
Copy link

rodineijf commented Jan 9, 2017

@acessoftware Same problem here

@brodycj
Copy link
Contributor

brodycj commented Jan 10, 2017

To get help from the community I suggest you guys post a minimal reproduction sample.

@rodineijf
Copy link

Hi @brodybits, by default the attribution of rootPage on ionic 2 is on declaration of var rootPage. I can solve my problem moving the rootPage attribution to the platformReady on app.component

initializeApp() {
this.platform.ready().then(() => {

  this.rootPage = MyPage;
  StatusBar.styleDefault();
  Splashscreen.hide();
});
}

@brodycj
Copy link
Contributor

brodycj commented Jan 10, 2017

Thanks @rodineijf. I just raised #613 to document this and related items.

@BasantPandey
Copy link

Hi All,

i am facing the same issue. can you please help me to fix this issue. I have cross check at my end. I installed all the mentioned plugins. But not sure why it is showing this type of message.

2017-01-19_8-56-26

@rodineijf
Copy link

@BasantPandey You're running on your browser or on the phone?

@BasantPandey
Copy link

@rodineijf I am using chrome browser emulator. As per my knowledge the old version was working well on chrome browser emulator.

@brodycj
Copy link
Contributor

brodycj commented Jan 27, 2017

This plugin does not support the Browser platform. I hope to add it in the near future.

@pbreuss
Copy link

pbreuss commented Jun 13, 2017

The most common reason for this error is calling the plugin too early before the app has been fully loaded. Use the platform.ready() command to make sure everything is loaded ...

this.platform.ready().then(() => {

// add your code here

});

@Alejo22
Copy link

Alejo22 commented Jul 26, 2017

@pbreuss you have reason, the plugin is ready for use once the current platform is ready. In a browser the plugin storage doesn't work because it needs an operating system to access.

platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
this.initilizeApp();
});

@fpassa
Copy link

fpassa commented Sep 15, 2017

I was able to use not only to interact to SQLite but also able to manage it under browser by falling into WebSQL. In addition, extended as well to MySQL.
Check it out here: https://sellfy.com/p/gUWH/

@thyagobudal
Copy link

Even inside platform.ready() I'm facing the same erro.. "plugin_not_installeed"... running on my android device.

@ravatsinh
Copy link

same issue anyone found solution please help

@nationdata-it
Copy link

any solution to this?

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