Cobrowse - Flutter SDK
Flutter iOS and Android SDK
Run this command:
With Flutter:
$ flutter pub add cobrowse_sdk_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
), If it is not added automatically, you can add the following package to your pubspec.yaml
:
...
dependencies:
...
cobrowse_sdk_flutter: ^1.0.0
...
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Add the following lines to your code which will register this device so you can connect to it. You could choose to do this on app startup, or when your users visits a support page in your application, or any other time.
import 'package:cobrowse_sdk_flutter/cobrowseio.dart';
CobrowseIO.instance.setLicense('put your license key here');
CobrowseIO.instance.start();
Requirements
iOS 12.0 or later
Android API version 24 (7.0 Nougat) or later
Last updated
Was this helpful?