Skip to content

Commit

Permalink
Update Edge workflow info for track APIs doc and migration doc (#83)
Browse files Browse the repository at this point in the history
Update Edge workflow info for track APIs doc and migration doc.
  • Loading branch information
cacheung authored Sep 21, 2023
1 parent ce620e5 commit eca345b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ dependencies:

Updated plugins can be found in this repository under [plugins/](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/). If they are not there, they are currently not supported.

| Flutter (ACP) | Flutter (AEP) |
| :--- | :--- |
| flutter_acpcore | flutter_aepcore |
| flutter_assurance | flutter_aepassurance |
| flutter_acpuserprofile | flutter_aepuserprofile |
| flutter_acpanalytics | NA, Analytics workflows supported through [Edge Network](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/flutter_aepedge) or [Edge Bridge](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/flutter_aepedgebridge) extensions. |
| Place Services| NA |
| Place Monitor | NA |

## Update SDK initialization

Remove the deprecated registration code and the extensions that are not supported in AEP Flutter libraries.
Expand Down Expand Up @@ -54,9 +63,7 @@ public class MyApplication extends FlutterApplication {
- Assurance.registerExtension();
- UserProfile.registerExtension();
- Analytics.registerExtension();
- Target.registerExtension();
- Places.registerExtension();
- Campaign.registerExtension();
- MobileCore.start(new AdobeCallback () {
- @Override
- public void call(Object o) {
Expand Down Expand Up @@ -114,8 +121,6 @@ public class MyApplication extends FlutterApplication {
// [ACPLifecycle registerExtension];
// [ACPSignal registerExtension];
// [ACPAnalytics registerExtension];
// [ACPCampaign registerExtension];
// [ACPTarget registerExtension];

// const UIApplicationState appState = application.applicationState;
// [ACPCore start:^{
Expand Down
7 changes: 7 additions & 0 deletions plugins/flutter_aepcore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,17 @@ MobileCore.resetIdentities()
```

##### Track app actions

> [!IMPORTANT]
> trackAction is supported through [Edge Bridge](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/flutter_aepedgebridge) and [Edge Network](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/flutter_aepedge) extensions.
```dart
MobileCore.trackAction("myAction", data: {"key1": "value1"});
```
##### Track app states
> [!IMPORTANT]
> trackState is supported through [Edge Bridge](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/flutter_aepedgebridge) and [Edge Network](https://github.com/adobe/aepsdk_flutter/tree/main/plugins/flutter_aepedge) extensions.
```dart
MobileCore.trackState("myState", data: {"key1": "value1"});
```
Expand Down

0 comments on commit eca345b

Please sign in to comment.