@capacitor-community/sqlite 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -26
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>
|
|
2
2
|
<h3 align="center">SQLITE DATABASE</h3>
|
|
3
|
-
<p align="center"><strong><code>@capacitor-community/sqlite
|
|
3
|
+
<p align="center"><strong><code>@capacitor-community/sqlite</code></strong></p>
|
|
4
4
|
<br>
|
|
5
5
|
<p align="center" style="font-size:50px;color:red"><strong>CAPACITOR 5</strong></p><br>
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<a href="https://www.npmjs.com/package/@capacitor-community/sqlite"><img src="https://img.shields.io/npm/dw/@capacitor-community/sqlite?style=flat-square" /></a>
|
|
17
17
|
<a href="https://www.npmjs.com/package/@capacitor-community/sqlite"><img src="https://img.shields.io/npm/v/@capacitor-community/sqlite?style=flat-square" /></a>
|
|
18
18
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
19
|
-
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-
|
|
19
|
+
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-36-orange?style=flat-square" /></a>
|
|
20
20
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
21
21
|
</p>
|
|
22
22
|
|
|
@@ -48,33 +48,39 @@ npx cap sync
|
|
|
48
48
|
|
|
49
49
|
then add plugin to main `capacitor.config.json` file:
|
|
50
50
|
|
|
51
|
-
```
|
|
52
|
-
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
51
|
+
```ts
|
|
52
|
+
import { CapacitorConfig } from '@capacitor/cli';
|
|
53
|
+
|
|
54
|
+
const config: CapacitorConfig = {
|
|
55
|
+
appId: 'com.jeep.app.ionic7.angular.sqlite',
|
|
56
|
+
appName: 'ionic7-angular-sqlite-starter',
|
|
57
|
+
webDir: 'www',
|
|
58
|
+
server: {
|
|
59
|
+
androidScheme: 'https'
|
|
60
|
+
},
|
|
61
|
+
plugins: {
|
|
62
|
+
CapacitorSQLite: {
|
|
63
|
+
iosDatabaseLocation: 'Library/CapacitorDatabase',
|
|
64
|
+
iosIsEncryption: true,
|
|
65
|
+
iosKeychainPrefix: 'angular-sqlite-app-starter',
|
|
66
|
+
iosBiometric: {
|
|
67
|
+
biometricAuth: false,
|
|
68
|
+
biometricTitle : "Biometric login for capacitor sqlite"
|
|
65
69
|
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
androidIsEncryption: true,
|
|
71
|
+
androidBiometric: {
|
|
72
|
+
biometricAuth : false,
|
|
73
|
+
biometricTitle : "Biometric login for capacitor sqlite",
|
|
74
|
+
biometricSubTitle : "Log in using your biometric"
|
|
71
75
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
electronWindowsLocation: "C:\\ProgramData\\CapacitorDatabases",
|
|
77
|
+
electronMacLocation: "/Volumes/Development_Lacie/Development/Databases",
|
|
78
|
+
electronLinuxLocation: "Databases"
|
|
75
79
|
}
|
|
76
80
|
}
|
|
77
|
-
}
|
|
81
|
+
};
|
|
82
|
+
export default config;
|
|
83
|
+
|
|
78
84
|
```
|
|
79
85
|
|
|
80
86
|
## More Reading:
|
|
@@ -259,7 +265,7 @@ npm install --save node-fetch@2.6.7
|
|
|
259
265
|
|
|
260
266
|
- [Ionic/Angular Usage Documentation](https://github.com/capacitor-community/sqlite/blob/master/docs/Ionic-Angular-Usage.md)
|
|
261
267
|
|
|
262
|
-
- [
|
|
268
|
+
- [ionic7-angular-sqlite-starter](https://github.com/jepiqueau/ionic7-angular-sqlite-starter) Ionic 7 Angular 16 Capacitor 5 SQLite CRUD operations.
|
|
263
269
|
|
|
264
270
|
- [angular-sqlite-app-starter](https://github.com/jepiqueau/angular-sqlite-app-starter) This one is now more for testing the issues.
|
|
265
271
|
|
|
@@ -279,6 +285,10 @@ npm install --save node-fetch@2.6.7
|
|
|
279
285
|
|
|
280
286
|
- [react-vite-sqlite-app](https://github.com/jepiqueau/react-vite-sqlite-app)
|
|
281
287
|
|
|
288
|
+
### Ionic/React Capacitor SQLite + TypeORM Example App
|
|
289
|
+
|
|
290
|
+
- [capacitor-sqlite-react-typeorm-app](https://github.com/cosentino/capacitor-sqlite-react-typeorm-app)
|
|
291
|
+
|
|
282
292
|
### Ionic/Vue
|
|
283
293
|
|
|
284
294
|
- [Ionic/Vue Usage Documentation](https://github.com/capacitor-community/sqlite/blob/master/docs/Ionic-Vue-Usage.md)
|
|
@@ -352,6 +362,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
352
362
|
<a href="https://github.com/folsze" title="folsze"><img src="https://github.com/folsze.png?size=100" width="50" height="50" /></a>
|
|
353
363
|
<a href="https://github.com/pranav-singhal" title="pranav-singhal"><img src="https://github.com/pranav-singhal.png?size=100" width="50" height="50" /></a>
|
|
354
364
|
<a href="https://github.com/beligatclement" title="beligatclement"><img src="https://github.com/beligatclement.png?size=100" width="50" height="50" /></a>
|
|
365
|
+
<a href="https://github.com/cosentino" title="cosentino"><img src="https://avatars.githubusercontent.com/u/376903?s=48&v=4" width="50" height="50" /></a>
|
|
355
366
|
</p>
|
|
356
367
|
|
|
357
368
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor-community/sqlite",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Community plugin for native & electron SQLite databases",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -95,6 +95,6 @@
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"jeep-sqlite": "^2.3.
|
|
98
|
+
"jeep-sqlite": "^2.3.6"
|
|
99
99
|
}
|
|
100
100
|
}
|