Update documentation and tutorial for 2.0#35
Conversation
Codecov Report
@@ Coverage Diff @@
## dev-v2.0.0 #35 +/- ##
=============================================
Coverage 83.05% 83.05%
Complexity 361 361
=============================================
Files 29 29
Lines 1534 1534
Branches 217 217
=============================================
Hits 1274 1274
Misses 161 161
Partials 99 99
Flags with carried forward coverage won't be shown. Click here to find out more. |
Update XML files to have xml as absolute first element Update build dependencies to use 2.0 versions of extensions Remove jetifier
Update XML files to have xml as absolute first element Update build dependencies to use 2.0 versions of extensions Remove jetifier
Add alternative gradle sync instructions
README.md
Outdated
| To open and run the project, open the `code/settings.gradle` file in Android Studio. | ||
|
|
||
| **Data Collection mobile property prerequisites** | ||
| #### **Adobe Experience Platform mobile property prerequisites** |
There was a problem hiding this comment.
nit: Do we require bold here since its already a header?
There was a problem hiding this comment.
Thanks for catching this! Updated to remove bold style
README.md
Outdated
| The Adobe Experience Platform Edge Network mobile extension allows you to send data to the Adobe Edge Network from a mobile application. This extension allows you to implement Adobe Experience Cloud capabilities in a more robust way, serve multiple Adobe solutions though one network call, and simultaneously forward this information to the Adobe Experience Platform. | ||
|
|
||
| The AEP Edge Network mobile extension is an extension for the [Adobe Experience Platform SDK](https://aep-sdks.gitbook.io) and requires the `AEPCore` and `AEPServices` extensions for event handling, as well as the `AEPEdgeIdentity` extension for retrieving the identities, such as ECID. | ||
| The AEP Edge Network mobile extension is an extension for the [Adobe Experience Platform SDK](https://developer.adobe.com/client-sdks/documentation/) and requires the `AEPCore` and `AEPServices` extensions for event handling, as well as the `AEPEdgeIdentity` extension for handling identities, such as `ECID`. |
There was a problem hiding this comment.
Let's move all non-internal links to one section on Readme and reference that section.
There was a problem hiding this comment.
Ok, I consolidated the documentation links and moved its placement to make it more prominent; let me know what you think of the changes!
Update formatting
README.md
Outdated
| To learn more about this extension, see the [Adobe Experience Platform Edge Network](https://developer.adobe.com/client-sdks/documentation/edge-network/) documentation. | ||
|
|
||
| Additional information about SDK usage and architecture can be found in the [Documentation](Documentation) directory. | ||
|
|
There was a problem hiding this comment.
Can we reword to something on these lines:
Information regarding AEP Edge Network extension implementation, API usage and architecture can be found in Documentation directory
Learn more about AEP Edge Network extension along with all the other AEP Mobile extensions on the official AEP Mobile documentation.
There was a problem hiding this comment.
Thank you! Made some adjustments to the wording, please let me know what you think!
cacheung
left a comment
There was a problem hiding this comment.
getting-started.md still have two links pointing to
aep-sdks.gitbook doc
README.md
Outdated
|
|
||
| Additional documentation for usage and SDK architecture can be found under the [Documentation](Documentation) directory. | ||
| | [AEP Core Extensions](https://github.com/adobe/aepsdk-core-android) | The AEPCore and AEPServices represent the foundation of the Adobe Experience Platform SDK. | | ||
| | [AEP onsent Extension](https://github.com/adobe/aepsdk-edgeconsent-android) | The AEPConsent extension enables consent preferences collection from your mobile app when using the AEP Mobile SDK and the Edge Network extension. | |
README.md
Outdated
| implementation 'com.adobe.marketing.mobile:edgeidentity:1.+' | ||
| implementation 'com.adobe.marketing.mobile:edge:1.+' | ||
| implementation 'com.adobe.marketing.mobile:core:1.+' | ||
| implementation 'com.adobe.marketing.mobile:core:2.0.0' |
There was a problem hiding this comment.
We will point this to getting started page.
There was a problem hiding this comment.
Integrate the Edge Network extension into your app by including the following the getting started guide.
There was a problem hiding this comment.
Are you going to update getting started to 2+ in this PR?
https://github.com/timkimadobe/aepsdk-edge-android/blob/update-tutorial-2.0/Documentation/getting-started.md#add-the-edge-network-extension-to-your-app
There was a problem hiding this comment.
You can wait for edgeIdentity doc PR reviewed then change.
Documentation/api-reference.md
Outdated
| Registers the Edge Network extension with the Mobile Core extension. | ||
|
|
||
| > **Warning** | ||
| > Deprecated as of 2.0.0. Use the [MobileCore.registerExtensions API](https://developer.adobe.com/client-sdks/documentation/mobile-core/api-reference) instead. |
There was a problem hiding this comment.
let change the link to https://github.com/adobe/aepsdk-core-android
Replace all usages of acronym
emdobrin
left a comment
There was a problem hiding this comment.
@timkimadobe your changes look great
left small cleanup comments, aside from the README that needs few more updates
...ials/EdgeTutorialAppStart/app/src/main/java/com/adobe/marketing/mobile/tutorial/MainApp.java
Outdated
Show resolved
Hide resolved
...ials/EdgeTutorialAppFinal/app/src/main/java/com/adobe/marketing/mobile/tutorial/MainApp.java
Outdated
Show resolved
Hide resolved
| ## Documentation | ||
|
|
||
| Additional documentation for usage and SDK architecture can be found under the [Documentation](Documentation) directory. | ||
| Information about Adobe Experience Platform Edge Network's implementation, API usage, and architecture can be found in the [Documentation](Documentation) directory. |
There was a problem hiding this comment.
can you include Getting started with the test app in the Documentation/README.md contents table?
Documentation/getting-started.md
Outdated
| class MainApp : Application() { | ||
|
|
||
| 1. Add the Mobile Core, Identity for Edge Network, and Edge Network extensions to your project using the app's Gradle file: | ||
| private var ENVIRONMENT_FILE_ID: String = "" |
There was a problem hiding this comment.
nit: you can use ENVIRONMENT_FILE_ID: String = "YOUR_APP_ENVIRONMENT_ID" similar to java code
Documentation/getting-started.md
Outdated
| MobileCore.configureWithAppID(ENVIRONMENT_FILE_ID); | ||
|
|
||
| MobileCore.registerExtensions( | ||
| Arrays.asList(Consent.EXTENSION, Edge.EXTENSION, Identity.EXTENSION), |
There was a problem hiding this comment.
consent is not installed/imported, maybe we can remove from these two examples
| .setXdmSchema(eventData) | ||
| .build(); | ||
| Log.d(LOG_TAG, "Sending event"); | ||
| Log.debug(LOG_TAG, LOG_SOURCE, "Sending event"); |
There was a problem hiding this comment.
nit: "Sending ProductView Edge event"
...EdgeTutorialAppFinal/app/src/main/java/com/adobe/marketing/mobile/tutorial/EdgeFragment.java
Outdated
Show resolved
Hide resolved
...EdgeTutorialAppFinal/app/src/main/java/com/adobe/marketing/mobile/tutorial/EdgeFragment.java
Outdated
Show resolved
Hide resolved
| @Override | ||
| public void onComplete(final List<EdgeEventHandle> handles) { | ||
| Log.d(LOG_TAG, "Edge event callback called"); | ||
| Log.debug(LOG_TAG, LOG_SOURCE, "Edge event callback called"); |
There was a problem hiding this comment.
nit: "Callback called for ProductAdd Edge event"
...EdgeTutorialAppFinal/app/src/main/java/com/adobe/marketing/mobile/tutorial/MainActivity.java
Outdated
Show resolved
Hide resolved
Documentation/api-reference.md
Outdated
| Registers the Edge Network extension with the Mobile Core extension. | ||
|
|
||
| > **Warning** | ||
| > Deprecated as of 2.0.0. Use the [MobileCore.registerExtensions API](https://github.com/adobe/aepsdk-core-android) instead. |
There was a problem hiding this comment.
There was a problem hiding this comment.
let's use main branch for all link references:
https://github.com/adobe/aepsdk-core-android/blob/main/Documentation/MobileCore/api-reference.md
Remove api deeplink
Update doc readme with test app getting started
README.md
Outdated
| To learn more about this extension, see the [Adobe Experience Platform Edge Network](https://developer.adobe.com/client-sdks/documentation/edge-network/) documentation. | ||
|
|
||
| Additional information about SDK usage and architecture can be found in the [Documentation](Documentation) directory. | ||
|
|
There was a problem hiding this comment.
Thank you! Made some adjustments to the wording, please let me know what you think!
Description
This PR updates both documentation and tutorial apps to reflect the new Core 2.0 dependencies.
Start/Final app:
Edge Tutorial:
API reference:
registerExtensionAPIMain README:
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: