SqlCipherUnavailableException class
Thrown when an encryption key is supplied but the linked native SQLite library is not a SQLCipher build, so the key would be silently ignored and data would be written to disk in plaintext.
Passnote verifies PRAGMA cipher_version after keying and refuses to open
rather than pretend the data is encrypted. Fix the build, not the call
site: package:sqlite3 selects its native library through build hooks,
and the SQLCipher source is chosen in the application's root
pubspec.yaml (the setting is read from the root package only):
hooks:
user_defines:
sqlite3:
source: sqlcipher
See the "Set up platforms" guide in the documentation.
- Implemented types
Constructors
-
Creates the exception.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited