cbl_flutter 0.4.0+4 cbl_flutter: ^0.4.0+4 copied to clipboard
Flutter Plugin for Couchbase Lite, an embedded, NoSQL JSON Document Style database, supporting Blobs, Encryption, N1QL Queries, Live Queries, Full-Text Search and Data Sync.
⚠️ New users should start with, and users of version
0.x.x
should migrate to the latest beta. The API has been heavily refactored from0.x.x
to1.0.0
and0.x.x
wont receive any more updates.
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());
}