cobrowseio_flutter 1.0.5 copy "cobrowseio_flutter: ^1.0.5" to clipboard
cobrowseio_flutter: ^1.0.5 copied to clipboard

A Flutter plugin to make use of cobrowse.io. View your app running remotely on customer devices. Guide the user, or take remote control.

cobrowseio_flutter #

A Flutter plugin to make use of cobrowse.io. View your app running remotely on customer devices. Guide the user, or take remote control.

Supported devices

  • Android
  • iOS

Getting Started #

Usage #

To use this plugin, add cobrowseio_flutter as a dependency in your pubspec.yaml file.

init #

import 'package:cobrowseio_flutter/cobrowseio_flutter.dart';

    String result = await CobrowseIO.start("YOUR_LICENSE_KEY", {
        'custom_data_field': 'Test'
    });

Get a 6-digit code #

After doing the init above, call:

    String code = await CobrowseIO.getCode();

Add full device remote control (Android only) #

If you want to have access to the full device on android, add this to your AndroidManifest.xml file:

    <application>
        <service
            android:name="io.cobrowse.CobrowseAccessibilityService"
            android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE" />
    </application>

In your code, call:

    if (Platform.isAndroid) {

      // Or: Check if we have access to full remote control.
      if (!await CobrowseIO.accessibilityServiceIsRunning()) {

        // If not, open the accesibility service settings to let the user give access.
        CobrowseIO.accessibilityServiceOpenSettings();
      }

      // Or: Show the default setup screen.
      CobrowseIO.accessibilityServiceShowSetup();
    }

Plugins #

Plugin Links
Cobrowse.io iOS https://github.com/cobrowseio/cobrowse-sdk-ios-binary
Cobrowse.io Android https://github.com/cobrowseio/cobrowse-sdk-android-binary
1
likes
110
pub points
63%
popularity

Publisher

verified publisherrobodigital.nl

A Flutter plugin to make use of cobrowse.io. View your app running remotely on customer devices. Guide the user, or take remote control.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on cobrowseio_flutter