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

SQLite plugin: echoTest() and deleteDatabase() fails #1275

Closed
bjakubiak opened this issue Mar 28, 2017 · 2 comments
Closed

SQLite plugin: echoTest() and deleteDatabase() fails #1275

bjakubiak opened this issue Mar 28, 2017 · 2 comments

Comments

@bjakubiak
Copy link

When ran on SQLiteObject it throws

TypeError: plugin.constructor.getPluginRef is not a function. (In 'plugin.constructor.getPluginRef()', 'plugin.constructor.getPluginRef' is undefined)

I ran it on iOS device, @ionic-native/sqlite versions from 3.1.0 to 3.3.0.

Maybe both echoTest() and deleteDatabase() methods should belong to SQLite class rather than to SQLiteObject?

@ihadeed
Copy link
Collaborator

ihadeed commented Mar 28, 2017

Are you using @ionic-native/core@3.2.4 ?

If so, please update that package, as that version has a bug.

@ihadeed
Copy link
Collaborator

ihadeed commented Mar 28, 2017

Just checked, you're right the methods should be part of the SQLite class. I will fix this soon.

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

No branches or pull requests

2 participants