You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created flutter app using Encrypted Drift using provided instruction and it worked like a charm, but...
Recently I've added a new package firebase_messaging to my app and everything worked on Android, but when I tried to open an app on iOS physical device, creating NativeDatabase instance failed following assertion:
Unhandled Exception: '../DriftContext.dart': Failed assertion: line 156 pos 18: '_debugCheckHasCipher(rawDb)': is not true.
#0 DriftCommunication.request (package:drift/src/remote/communication.dart:116:66)
#1 _RemoteQueryExecutor.ensureOpen (package:drift/src/remote/client_impl.dart:158:10)
I've already tried a potential solution with adding -framework SQLCipher in "Other Linker Flags" in project's settings on Xcode described here, but this setting was already there.
Do you have any suggestions?
I am creating NativeDatabase instance (in separate Isolate) with following code:
Hi,
I've created flutter app using Encrypted Drift using provided instruction and it worked like a charm, but...
Recently I've added a new package firebase_messaging to my app and everything worked on Android, but when I tried to open an app on iOS physical device, creating NativeDatabase instance failed following assertion:
with an error:
I've already tried a potential solution with adding -framework SQLCipher in "Other Linker Flags" in project's settings on Xcode described here, but this setting was already there.
Do you have any suggestions?
I am creating NativeDatabase instance (in separate Isolate) with following code:
The text was updated successfully, but these errors were encountered: