| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,11 @@ SQLCipher Database for Flutter | |||
| 6 | 6 | [](https://pub.dartlang.org/documentation/flutter_sqlcipher/latest/) | |
| 7 | 7 | [](https://travis-ci.org/drydart/flutter_sqlcipher) | |
| 8 | 8 | ||
| 9 | + This is a [Flutter](https://flutter.io/) plugin that bundles and wraps | ||
| 10 | + [SQLCipher for Android](https://www.zetetic.net/sqlcipher/sqlcipher-for-android/), | ||
| 11 | + an open-source extension to [SQLite](https://www.sqlite.org) that provides | ||
| 12 | + transparent 256-bit AES encryption of database files. | ||
| 13 | + | ||
| 9 | 14 | Compatibility | |
| 10 | 15 | ------------- | |
| 11 | 16 | ||
@@ -56,3 +61,25 @@ Reference | |||
| 56 | 61 | import 'package:flutter_sqlcipher/sqlcipher.dart'; | |
| 57 | 62 | ||
| 58 | 63 | - [`SQLCipher.version`](https://pub.dartlang.org/documentation/flutter_sqlcipher/latest/sqlcipher/SQLCipher/version.html) | |
| 64 | + | ||
| 65 | + Frequently Asked Questions | ||
| 66 | + -------------------------- | ||
| 67 | + | ||
| 68 | + ### Why use this plugin instead of a plugin wrapping Android's native SQLite support? | ||
| 69 | + | ||
| 70 | + Two good reasons are: | ||
| 71 | + | ||
| 72 | + 1. **Encryption**. | ||
| 73 | + Android's native SQLite support does not support database encryption. | ||
| 74 | + By using this plugin, you can trivially enable encryption for your app | ||
| 75 | + database, something likely appreciated by both you as well as your users. | ||
| 76 | + | ||
| 77 | + 2. **Compatibility**. | ||
| 78 | + Android's native SQLite version | ||
| 79 | + [varies](https://developer.android.com/reference/android/database/sqlite/package-summary) | ||
| 80 | + greatly depending on the Android release, from SQLite 3.4 (released in | ||
| 81 | + 2007) to SQLite 3.19 (released in 2017, bundled in Android 8.1). Further, | ||
| 82 | + some device manufacturers include different versions of SQLite on their | ||
| 83 | + devices. By using this plugin, you gain a consistent, predictable, and | ||
| 84 | + up-to-date version of SQLite for your app regardless of the Android | ||
| 85 | + release your app runs on. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments