unoomad
unoomad

Reputation: 85

Is it possible to use an Sqlite database using NativeScript?

I wanted to build an application using NativeScript but i did not find if it's possible to use an sqlite database. Thanks for answering.

Upvotes: 2

Views: 1896

Answers (3)

Nathanael
Nathanael

Reputation: 5399

I'm actually working on a sqlite wrapper (at least the Android side currently). If you are interested in testing or using; the repository will be http://github.com/nathanaela/nativescript-sqlite when I publish it. I hope to have it working soon. I will need the apple side also; so that module will be done once I have the android side working.

Update: iOS and Android sides are fully working. Docs on the github or npmjs.org site explain installation.

Upvotes: 5

Ralph Mason
Ralph Mason

Reputation: 36

In the meantime this might work - https://github.com/kripken/sql.js/

It's a copy of sqlite compiled to javascript with emscripten.

Upvotes: 0

Miro
Miro

Reputation: 442

Not for now, but I believe(at least hope) this will be added in the coming months.

https://github.com/NativeScript/cross-platform-modules/issues/191 https://github.com/NativeScript/cross-platform-modules/issues/141

Upvotes: 1

Related Questions