flutter_help_scout 0.0.1+8
flutter_help_scout: ^0.0.1+8 copied to clipboard

Flutter implementation for Help Scout mobile SDK. Help Scout is an all-in-one customer service platform that helps you balance everything your customers need to be happy.

Beacon #

Flutter implementation for Help Scout mobile SDK. Help Scout is an all-in-one customer service platform that helps you balance everything your customers need to be happy.

Overview #

This plugin implements Help Scout official native SDK Learn more

Demo #

flutter_help_scout_demo

Usage #

Setup beacon with your Beacon ID, user's email address and name (optional)

FlutterHelpScout _beacon;
String beaconId = 'YOUR_BEACON_ID';

Future<void> initBeacon() async {
    _beacon = FlutterHelpScout(
        beaconId: beaconId,
        email: 'example@example.com',
        name: 'John Doe',
        avatar: 'https://avatars3.githubusercontent.com/u/53996412?s=460&v=4');

    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      _beacon.initialize();
    } on PlatformException catch (e) {
      debugPrint('${e.message}');
    }
  }

  @override
  void initState() {
    // initialize beacon
    initBeacon();

    super.initState();
  }

  _beacon.open(beaconId: beaconId);

Other methods #

_beacon.clear();

_beacon.logout();

Requirements #

For Android

  • minSdkVersion: 21 (Android 5.0)
  • compileSdkVersion: 29 (Android 10.0)
  • Enable Java 8 language feature support
android {
...
compileOptions {
  sourceCompatibility JavaVersion.VERSION_1_8
  targetCompatibility JavaVersion.VERSION_1_8
}
// For Kotlin projects
kotlinOptions {
  jvmTarget = "1.8"
}
}

For iOS

The Beacon SDK requires iOS 11.0+.

Note: For this plugin to work as expected, add the following permission to your info.plist file (Optional)

  • NSPhotoLibraryUsageDescription
  • NSCameraUsageDescription
  • NSMicrophoneUsageDescription
  • NSPhotoLibraryAddUsageDescription

info.plist config

DOCUMENTS

To access the documents picker in the attachment menu, you’ll need the entitlements for iCloud and iCloud Containers. The ‘Import file from’ menu option throws an error message without these entitlements.

iCloud container

3
likes
100
pub points
42%
popularity

Publisher

kelvinforteta.dev

Flutter implementation for Help Scout mobile SDK. Help Scout is an all-in-one customer service platform that helps you balance everything your customers need to be happy.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_help_scout