Provides SQLite database access for NativeScript apps on Android and iOS. Version 3.0.5 stable. It offers synchronous SQLite operations (must be wrapped in async wrappers manually) and supports CRUD, transactions, and batch execution. Key differentiators: lightweight, no native build tools required, works with NativeScript CLI plugin approach. Compared to alternatives like @nativescript/sqlite, it uses a slightly different API with openOrCreate and deleteDatabase directly. The plugin ships TypeScript types and follows NativeScript plugin conventions. No major breaking changes reported recently, but users often misuse synchronous calls in UI thread.
npm install nativescript-akylas-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Opens or creates a SQLite database, creates a table, inserts a row, queries data, and deletes the database file.
Use setTimeout or runOnBackgroundThread to avoid blocking UI.
Pass cancelTransaction as parameter and call it to abort transaction.
Switch to nativescript-akylas-sqlite.
Use full path like `openOrCreate('./myapp.db')` or use known directories.Run `tns plugin add nativescript-akylas-sqlite` and `tns prepare`
Use exact path `nativescript-akylas-sqlite` (hyphenated)
Check that database was opened successfully and store reference correctly.