Last active
March 19, 2022 11:08
-
-
Save blaugold/127dc08004b355ad634532368ec6c767 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:cbl_flutter/cbl_flutter.dart'; | |
Future<void> main() async { | |
// If you're initializing Couchbase Lite in your `main` function | |
// make sure to initialize Flutter before Couchbase Lite. | |
WidgetsFlutterBinding.ensureInitialized(); | |
// Now initialize Couchbase Lite. | |
await CouchbaseLiteFlutter.init(); | |
// Finally, start running the app. | |
runApp(MyApp()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment