cobrowseio_flutter

Creator: coderz1093

Last updated:

0 purchases

cobrowseio_flutter Image
cobrowseio_flutter Images

Languages

Categories

Add to Cart

Description:

cobrowseio flutter

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'
});
copied to clipboard
Get a 6-digit code #
After doing the init above, call:
String code = await CobrowseIO.getCode();
copied to clipboard
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>
copied to clipboard
Please note: Only add this when you need this, because this might reject your app from the Play Store. Please read more here: https://docs.cobrowse.io/sdk-features/full-device-capabilities/full-device-remote-control#configuring-full-device-remote-control
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();
}
copied to clipboard
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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.