Skip to content
Discussion options

You must be logged in to vote

The test are run on the host OS (linux/mac?) and not on a device. You need to ensure the version is installed there.
I am manually compiling it for my Linux Github runners and use brew install sqlite3 for MacOS runners.
Not sure if you can customize CodeMagic runners.

And add this to your flutter_test_config.dart

import 'package:sqlite3/open.dart';
import 'package:sqlite3/sqlite3.dart';

....


/// This is required in order to support the `RETURNING` keyword
/// which was added in 3.35.0 which is not available by default on MacOS.
///
/// Sqlite needs to be installed via brew.
Future<void> _configureSqlite3Library() async {
  late File library;
  late OperatingSystem os;
  if (Platform.is…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@svarlet
Comment options

@svarlet
Comment options

@kuhnroyal
Comment options

@kuhnroyal
Comment options

@simolus3
Comment options

Answer selected by svarlet
Comment options

You must be logged in to vote
1 reply
@simolus3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants