-
Notifications
You must be signed in to change notification settings - Fork 38
Add Edge Identity network extension package #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Init code for react native Edge
More updates
Update iOS implementation
Some more Android side change
React Native Edge extension
React Native AEPAssurance v3.0.0 package
Fix the build - Set right the unit tests
clean up files
Update iOS code and clean up files
Add unit test and update Readme
Cleanup few files
Update for review comments
Update package json for Edge package.
update readme file
This reverts commit 9f82a4a.
Add Edge Identity network extension package
apps/AEPSampleApp/extensions/Core.js
Outdated
| import {Button, Platform, StyleSheet, Text, View, ScrollView, NativeModules} from 'react-native'; | ||
| import {AEPCore, AEPLifecycle, AEPSignal, AEPMobileLogLevel, AEPMobilePrivacyStatus, AEPMobileVisitorAuthenticationState, AEPVisitorID, AEPExtensionEvent} from '@adobe/react-native-aepcore'; | ||
| import {AEPIdentity as AEPIdentity, AEPCore, AEPLifecycle, AEPSignal, AEPMobileLogLevel, AEPMobilePrivacyStatus, AEPMobileVisitorAuthenticationState, AEPVisitorID, AEPExtensionEvent } from '@adobe/react-native-aepcore'; | ||
| import {AEPIdentity as AEPEdgeIdentity } from '@adobe/react-native-aepedgeidentity'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add sample for core Identity and Edge Identity here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can have a separate view for Edge Identity.
It might be a good idea to make this sample app similar with the Swift Sample app in how the extensions are demoed and split in separate views.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a separate view for Edge Identity. But wondering if need to give an example how user can import when have both identities in one view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can keep an example with importing both, but the Edge Identity extension does not need to be included in Core.js. Maybe we can create a separate file for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed import Edge Identity from Core view.
Add an EdgeIdentityAndIdentity.js file for both Identities case.
Update with more review comments
@yangyansong-adbe removed. |
AEPAssurance 3.x package to Staging
Update tests and fix few bugs
Update Java Data Bridge for EdgeEventHandle payload and Readme
update for review comments
update identity register info
Update registering info for Readme
Update Readme initializing instruction
Update Readme and MainApplication.java
packages/edgeidentity/README.md
Outdated
| AEPIdentity.extensionVersion().then(version => console.log("AdobeExperienceSDK: AEPEdgeIdentity version: " + version)); | ||
| ``` | ||
|
|
||
| #### In the case of AEPIdentities and Identity for Edge Network in the same app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put two identities case here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to include this in the readme of the Edge Identity extension, we can consider adding it later in the main readme if needed. We can also remove the example with two Identity above
packages/edgeidentity/README.md
Outdated
| MobileCore.setLogLevel(LoggingMode.DEBUG); | ||
| MobileCore.setWrapperType(WrapperType.REACT_NATIVE); | ||
|
|
||
| try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have two identity registering info here?
| <Button | ||
| onPress={() => navigation.navigate('EdgeIdentityAndIdentity')} | ||
| title="EdgeIdentityAndIdentity" | ||
| /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove this, we can keep only the Identity and EdgeIdentity views.
| import {AEPIdentity as AEPIdentity, AEPCore} from '@adobe/react-native-aepcore'; | ||
| import {AEPIdentity as AEPEdgeIdentity } from '@adobe/react-native-aepedgeidentity'; | ||
|
|
||
| export default EdgeIdentityAndIdentity = ({ navigation }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to keep this example, let's remove.
| isa = PBXGroup; | ||
| children = ( | ||
| B3E7B5881CC2AC0600A0062D /* RCTAEPUserProfile.h */, | ||
| B3E7B5891CC2AC0600A0062D /* RCTAEPUserProfile.m */, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there seem to be some UserProfile related files here 😅 let's remove/update these to Edge Identity related ones.
| GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| GCC_WARN_UNUSED_FUNCTION = YES; | ||
| GCC_WARN_UNUSED_VARIABLE = YES; | ||
| IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be IPHONEOS_DEPLOYMENT_TARGET = 8.0; - same for all occurrences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emdobrin Thanks for the review, I will update them. For this one, what is the difference IPHONEOS_DEPLOYMENT_TARGET = 8.0;?
| 134814211AA4EA7D00B7C361 /* Products */ = { | ||
| isa = PBXGroup; | ||
| children = ( | ||
| 134814201AA4EA6300B7C361 /* libRCTAEPUserProfile.a */, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect product section, states user profile
| */ | ||
| package com.adobe.marketing.mobile.reactnative.edgeidentity; | ||
|
|
||
| import com.adobe.marketing.mobile.AdobeCallback; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used, can be removed
packages/edgeidentity/README.md
Outdated
| AEPIdentity.extensionVersion().then(version => console.log("AdobeExperienceSDK: AEPEdgeIdentity version: " + version)); | ||
| ``` | ||
|
|
||
| #### In the case of AEPIdentities and Identity for Edge Network in the same app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to include this in the readme of the Edge Identity extension, we can consider adding it later in the main readme if needed. We can also remove the example with two Identity above
… project file Remove EdgeIdentityAndIdentity view in sample app and fix typo in iOS project file
update project file target to IPHONEOS_DEPLOYMENT_TARGET = 10.0;
Update with review comments
Add React Native AEP Edge
Update edge extension version number
Update edge Identity alpha version number
Update podfile
Sync with the latest staging branch
Edge (1.0.0-alpha.1) -> staging
Update readme extensions download path



Add Edge Identity network extension package
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: