From 3833c14b7498ea818fd9c2c68107689b0432da2d Mon Sep 17 00:00:00 2001 From: Yansong Yang Date: Tue, 21 Sep 2021 20:16:49 -0500 Subject: [PATCH 1/6] UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) --- packages/userprofile/README.md | 9 +++++++++ packages/userprofile/package.json | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/userprofile/README.md b/packages/userprofile/README.md index 7e2829f4..150479b4 100644 --- a/packages/userprofile/README.md +++ b/packages/userprofile/README.md @@ -4,6 +4,15 @@ [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepuserprofile.svg)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepuserprofile)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile) +## Prerequisites + +The UserProfile extension has the following peer dependency, which must be installed prior to installing the UserProfile extension: +- [Core](../core/README.md) + +## Installation + +See [Requirements and Installation](https://github.com/adobe/aepsdk-react-native#requirements) instructions on the main page + ## Usage ### Initializing and registering the extension diff --git a/packages/userprofile/package.json b/packages/userprofile/package.json index a6acefb3..4f5f2eb4 100644 --- a/packages/userprofile/package.json +++ b/packages/userprofile/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/react-native-aepuserprofile", - "version": "1.0.0-alpha.2", + "version": "1.0.0-alpha.3", "description": "Adobe Experience Platform support for React Native apps.", "homepage": "https://aep-sdks.gitbook.io/docs/", "license": "Apache-2.0", @@ -28,7 +28,7 @@ "name": "Adobe Experience Platform SDK Team" }, "peerDependencies": { - "@adobe/react-native-aepcore": "^1.0.0", + "@adobe/react-native-aepcore": "^1.0.0-alpha", "react-native": ">=0.60.0" }, "publishConfig": { From 32ce266753c25639b599e4c971aac0014c076239 Mon Sep 17 00:00:00 2001 From: Yansong Yang Date: Wed, 22 Sep 2021 09:37:27 -0500 Subject: [PATCH 2/6] Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> staging (#54) * quick fix for peerDependecies issue * update sample app dependencies to latest versions --- apps/AEPSampleApp/package.json | 6 +++--- packages/edge/package.json | 6 +++--- packages/messaging/package.json | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/AEPSampleApp/package.json b/apps/AEPSampleApp/package.json index a6d7d3ce..a2c30e19 100644 --- a/apps/AEPSampleApp/package.json +++ b/apps/AEPSampleApp/package.json @@ -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", diff --git a/packages/edge/package.json b/packages/edge/package.json index b0af136a..68a47008 100644 --- a/packages/edge/package.json +++ b/packages/edge/package.json @@ -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", @@ -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": { diff --git a/packages/messaging/package.json b/packages/messaging/package.json index a812623c..ba1dfc0d 100644 --- a/packages/messaging/package.json +++ b/packages/messaging/package.json @@ -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", @@ -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": { From e438749f8a508a20c8bbaaf243885a849e37fdb2 Mon Sep 17 00:00:00 2001 From: calise cheung Date: Wed, 22 Sep 2021 09:43:52 -0700 Subject: [PATCH 3/6] Update Edge Wrapper Readme Update Edge Wrapper Readme --- packages/edge/README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/edge/README.md b/packages/edge/README.md index 1051dbb8..a441c5fe 100644 --- a/packages/edge/README.md +++ b/packages/edge/README.md @@ -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) +- [Edge Identity](../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). @@ -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'; From c93100d098adacff67efd71f10f93db618016df0 Mon Sep 17 00:00:00 2001 From: calise cheung Date: Wed, 22 Sep 2021 09:59:10 -0700 Subject: [PATCH 4/6] update readme update readme --- packages/edge/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edge/README.md b/packages/edge/README.md index a441c5fe..b76dcbe6 100644 --- a/packages/edge/README.md +++ b/packages/edge/README.md @@ -10,7 +10,7 @@ The Edge Network extension has the following peer dependencies, which must be installed prior to installing the messaging extension: - [Core](../core/README.md) -- [Edge Identity](../edgeidentity/README.md) +- [Identity for Edge Network](../edgeidentity/README.md) ## Installation From 2d6dcbe3dda683fbd32517264ee51bdd78a610a0 Mon Sep 17 00:00:00 2001 From: Yansong Yang Date: Wed, 22 Sep 2021 19:31:14 -0500 Subject: [PATCH 5/6] EdgeIdentity (1.0.0-alpha.2) -> staging (#59) --- apps/AEPSampleApp/extensions/EdgeIdentity.js | 4 ++ apps/AEPSampleApp/extensions/Identity.js | 2 +- apps/AEPSampleApp/ios/Podfile.lock | 38 +++++++++---------- apps/AEPSampleApp/package.json | 4 +- packages/edgeidentity/README.md | 26 ++++++++++++- .../__tests__/AEPEdgeIdentityTests.ts | 6 +++ .../RCTAEPEdgeIdentityModule.java | 10 +++++ .../edgeidentity/ios/src/RCTAEPEdgeIdentity.m | 5 +++ packages/edgeidentity/js/AEPIdentity.js | 11 ++++++ packages/edgeidentity/js/index.d.ts | 1 + packages/edgeidentity/package.json | 4 +- tests/jest/setup.ts | 1 + 12 files changed, 87 insertions(+), 25 deletions(-) diff --git a/apps/AEPSampleApp/extensions/EdgeIdentity.js b/apps/AEPSampleApp/extensions/EdgeIdentity.js index 0abd598f..6733e413 100644 --- a/apps/AEPSampleApp/extensions/EdgeIdentity.js +++ b/apps/AEPSampleApp/extensions/EdgeIdentity.js @@ -25,6 +25,7 @@ export default EdgeIdentity = ({ navigation }) => {