cbl_flutter 0.4.0+1 cbl_flutter: ^0.4.0+1 copied to clipboard
Binaries for use of Couchbase Lite with Flutter. Couchbase Lite is A NoSQL database with change notification, full text search and replication.
cbl_flutter #
This package provides binaries required to use cbl
in Flutter apps.
Supported Platforms #
Platform | Minimum version |
---|---|
iOS | 11 |
macOS | 10.13 |
Android | 19 |
Usage #
Make sure you have set the required minimum target version in the build systems of the platforms you support.
Before you access any part of the library, CouchbaseLite
needs to be initialized before
it can be used. For Flutter apps you provide the initialize
function with the dynamic
libraries returned from flutterLibraries
:
import 'package:cbl/cbl.dart';
import 'package:cbl_flutter/cbl_flutter.dart';
void initCbl() {
CouchbaseLite.initialize(libraries: flutterLibraries());
}