flutter_griffon 1.0.0-beta.3

Flutter Android iOS

Official Adobe Experience Platform support for Flutter apps. Griffon is a new, innovative beta product from Adobe to help you easily validate SDK implementations.

flutter_griffon #

pub package Build License

⚠️ This package is currently in beta, we are actively working to a release candidate. If you have any feedback please log an issue or submit a pull request.

flutter_griffon is a flutter plugin for the iOS and Android Project Griffon SDK to allow for integration with Flutter applications. Functionality to enable the Griffon extension is provided entirely through Dart documented below.

Installation #

Install instructions for this package can be found here.

Note: After you have installed the SDK, don't forget to run pod install in your ios directory to link the libraries to your Xcode project.

Tests #

Run:

flutter test

Usage #

Griffon #

Importing the SDK:
import 'package:flutter_griffon/flutter_griffon.dart';
Getting Griffon version:
String version = FlutterGriffon.extensionVersion;
Starting a Griffon session:
FlutterGriffon.startSession(url);
Ending a Griffon session:
FlutterGriffon.endSession();
Attempt to reconnect to a Griffon session:
FlutterGriffon.attemptReconnect();
Sending a Griffon event:
FlutterGriffon.sendEvent("vendor", "type", {"customPayload": "customValue"});
Log Local UI Level:
import 'package:flutter_griffon/src/acpgriffon_uilogcolor.dart';

FlutterGriffon.logLocalUILevel(ACPGriffonUILogColor.VISIBILITY_LOW, "message");
FlutterGriffon.logLocalUILevel(ACPGriffonUILogColor.VISIBILITY_NORMAL, "message");
FlutterGriffon.logLocalUILevel(ACPGriffonUILogColor.VISIBILITY_HIGH, "message");
FlutterGriffon.logLocalUILevel(ACPGriffonUILogColor.VISIBILITY_CRITICAL, "message");

Contributing #

See CONTRIBUTING

License #

See LICENSE

2
likes
90
pub points
39%
popularity

Publisher

adobe.com

Official Adobe Experience Platform support for Flutter apps. Griffon is a new, innovative beta product from Adobe to help you easily validate SDK implementations.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter, flutter_acpcore

More

Packages that depend on flutter_griffon