flutter_griffon 1.0.0-beta.4 flutter_griffon: ^1.0.0-beta.4 copied to clipboard
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 #
⚠️ This package is DEPRECATED. Please use flutter_assurance. #
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 yourios
directory to link the libraries to your Xcode project.
Tests #
Run:
flutter test
Usage #
Griffon #
Registering the extension with ACPCore:
Note: It is required to initialize the SDK via native code inside your AppDelegate and MainApplication for iOS and Android respectively. For more information see how to initialize Core.
iOS
Swift
import ACPGriffon
ACPGriffon.registerExtension()
Objective-C
#import "ACPGriffon.h"
[ACPGriffon registerExtension];
Android:
import com.adobe.marketing.mobile.Griffon;
Griffon.registerExtension();
Importing the SDK:
import 'package:flutter_griffon/flutter_griffon.dart';
Getting Griffon version:
String version = await FlutterGriffon.extensionVersion;
Starting a Griffon session:
FlutterGriffon.startSession(url);
Contributing #
See CONTRIBUTING
License #
See LICENSE