⚠️ New users should start with, and users of version
0.x.xshould migrate to the latest beta. The API has been heavily refactored from0.x.xto1.0.0and0.x.xwont 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());
}