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

outdated

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

example/lib/main.dart

import 'dart:collection';
import 'dart:io';

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:cobrowseio_flutter/cobrowseio_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState(){
    super.initState();

    // Init Cobrowse, pass licensekey and eventually custom data.
    await CobrowseIO.start("YOUR_LICENSE_KEY", {
        'username': 'Test'
    });

    // Retrieve a 6-digit code.
    print(await CobrowseIO.getCode());
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: Text('Co-browse.io Example'),
          ),
          body: Center(
            child: Text("First setup the correct license key, then find this device in your cobrowse.io dashboard to create a session.", textAlign: TextAlign.center)
          )
      ),
    );
  }
}
1
likes
0
points
25
downloads

Publisher

verified publisherrobodigital.nl

Weekly Downloads

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

License

unknown (license)

Dependencies

flutter

More

Packages that depend on cobrowseio_flutter

Packages that implement cobrowseio_flutter