-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,551 additions
and
25 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
## Getting started | ||
|
||
The Adobe Experience Platform Identity for Edge Network extension has the following peer dependency, which must be installed prior to installing the identity extension: | ||
- [Mobile Core](https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core) | ||
|
||
## Add the AEP Identity extension to your app | ||
|
||
### Download and import the Identity extension | ||
|
||
> :information_source: The following instructions are for configuring an application using Adobe Experience Platform Edge mobile extensions. If an application will include both Edge Network and Adobe Solution extensions, both the Identity for Edge Network and Identity for Experience Cloud ID Service extensions are required. Find more details in the [Frequently Asked Questions](https://aep-sdks.gitbook.io/docs/foundation-extensions/identity-for-edge-network/identity-faq) page. | ||
|
||
### Java | ||
|
||
1. Add the Mobile Core and Edge extensions to your project using the app's Gradle file. | ||
|
||
```java | ||
implementation 'com.adobe.marketing.mobile:core:1.+' | ||
implementation 'com.adobe.marketing.mobile:edge:1.+' | ||
implementation 'com.adobe.marketing.mobile:edgeidentity:1.+' | ||
``` | ||
|
||
2. Import the Mobile Core and Edge extensions in your Application class. | ||
|
||
```java | ||
import com.adobe.marketing.mobile.MobileCore; | ||
import com.adobe.marketing.mobile.Edge; | ||
import com.adobe.marketing.mobile.edge.identity.Identity; | ||
``` | ||
|
||
3. Register the Identity for Edge Extension with MobileCore: | ||
|
||
### Java | ||
|
||
```java | ||
public class MobileApp extends Application { | ||
|
||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
MobileCore.setApplication(this); | ||
try { | ||
Edge.registerExtension(); | ||
Identity.registerExtension(); | ||
// register other extensions | ||
MobileCore.start(new AdobeCallback () { | ||
@Override | ||
public void call(Object o) { | ||
MobileCore.configureWithAppID("yourAppId"); | ||
} | ||
}); | ||
|
||
} catch (Exception e) { | ||
... | ||
} | ||
|
||
|
||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.