Skip to content

Commit

Permalink
Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyansong-adbe authored Sep 22, 2021
1 parent 45b475e commit 36806b1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 12 deletions.
6 changes: 3 additions & 3 deletions apps/AEPSampleApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
},
"dependencies": {
"@adobe/react-native-aepcore": "^1.0.0-alpha.1",
"@adobe/react-native-aepuserprofile": "^1.0.0-alpha.2",
"@adobe/react-native-aepedge": "1.0.0-alpha.1",
"@adobe/react-native-aepuserprofile": "^1.0.0-alpha.3",
"@adobe/react-native-aepedge": "1.0.0-alpha.2",
"@adobe/react-native-aepedgeidentity": "^1.0.0-alpha.1",
"@adobe/react-native-aepmessaging": "^1.0.0-alpha.1",
"@adobe/react-native-aepmessaging": "^1.0.0-alpha.2",
"@adobe/react-native-aepassurance": "^3.0.0-alpha.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/bottom-tabs": "^5.8.0",
Expand Down
22 changes: 20 additions & 2 deletions packages/edge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,28 @@
[![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedge.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedge)
[![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedge)](https://www.npmjs.com/package/@adobe/react-native-aepedge)

`@adobe/react-native-aepedge` is a wrapper around the iOS and Android [Adobe Experience Platform Edge Network](https://aep-sdks.gitbook.io/docs/foundation-extensions/experience-platform-extension) to allow for integration with React Native applications.

## Prerequisites

The Edge Network extension has the following peer dependencies, which must be installed prior to installing the messaging extension:
- [Core](../core/README.md)
- [Identity for Edge Network](../edgeidentity/README.md)

## Installation

See [Requirements and Installation](https://github.com/adobe/aepsdk-react-native#requirements) instructions on the main page

Install the `@adobe/react-native-aepedge` package:

```bash
cd MyReactApp
npm install @adobe/react-native-aepedge
```
## Usage

### [Adobe Experience Platform Edge Network](https://aep-sdks.gitbook.io/docs/foundation-extensions/experience-platform-extension)

### Initializing:

Initializing the SDK should be done in native code, documentation on how to initialize the SDK can be found [here](https://github.com/adobe/aepsdk-react-native#initializing).
Expand Down Expand Up @@ -76,8 +96,6 @@ public class MainApplication extends Application implements ReactApplication {
}
```

### [Edge Network](https://aep-sdks.gitbook.io/docs/foundation-extensions/experience-platform-extension)

#### Importing the extension:
```javascript
import {AEPEdge, AEPExperienceEvent} from '@adobe/react-native-aepedge';
Expand Down
6 changes: 3 additions & 3 deletions packages/edge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/react-native-aepedge",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Adobe Experience Platform Edge Network extension for Adobe Experience Platform Mobile SDK. Written and maintained by Adobe.",
"homepage": "https://aep-sdks.gitbook.io/docs/",
"license": "Apache-2.0",
Expand All @@ -26,8 +26,8 @@
"name": "Adobe Experience Platform SDK Team"
},
"peerDependencies": {
"@adobe/react-native-aepcore": "^1.0.0",
"@adobe/react-native-aepedgeidentity": "^1.0.0",
"@adobe/react-native-aepcore": "^1.0.0-alpha",
"@adobe/react-native-aepedgeidentity": "^1.0.0-alpha",
"react-native": ">=0.60.0"
},
"publishConfig": {
Expand Down
8 changes: 4 additions & 4 deletions packages/messaging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/react-native-aepmessaging",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Adobe Experience Platform support for React Native apps.",
"homepage": "https://aep-sdks.gitbook.io/docs/",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,9 +28,9 @@
"name": "Adobe Experience Platform SDK Team"
},
"peerDependencies": {
"@adobe/react-native-aepcore": "^1.0.0-alpha.1",
"@adobe/react-native-aepedge": "^1.0.0-alpha.1",
"@adobe/react-native-aepedgeidentity":"1.0.0-alpha.1",
"@adobe/react-native-aepcore": "^1.0.0-alpha",
"@adobe/react-native-aepedge": "^1.0.0-alpha",
"@adobe/react-native-aepedgeidentity": "^1.0.0-alpha",
"react-native": ">=0.60.0"
},
"publishConfig": {
Expand Down

0 comments on commit 36806b1

Please sign in to comment.