|
According to the documentation and examples, it seems that I should be able to get the WasmDatabaseResult from the onResult callback. However, when I test it (both in my own app and in the example app), it appears that onResult never runs. web: DriftWebOptions(
sqlite3Wasm: Uri.parse('sqlite3.wasm'),
driftWorker: Uri.parse('drift_worker.js'),
onResult: (result) {
if (result.missingFeatures.isNotEmpty) {
debugPrint(
'!!!!test!!! Using ${result.chosenImplementation} due to unsupported '
'browser features: ${result.missingFeatures}',
);
}
},
),How do I get |
Answered by
simolus3
Jul 9, 2025
Replies: 1 comment
|
Well this is embarrassing 🤦 It looks like I've added that API in the initial version of |
0 replies
Answer selected by
vHrqO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well this is embarrassing 🤦 It looks like I've added that API in the initial version of
drift_flutterbut then never got around to actually implementing it... Thanks for the report, I'll release a fixed version later this week.