From 6a766c2b35eda5ce16d7e0cb9deb698da5d89379 Mon Sep 17 00:00:00 2001 From: Yansong Yang Date: Thu, 9 Mar 2023 15:21:35 -0700 Subject: [PATCH] [2.0.0 release] staging -> main (#255) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: defer to root project sdk version gradle params (#223) * Bump up package versions to adopt Android 2.0 (#226) * update extension packages with Android 2.0 builds * no message * revert messaging version to 1.0.0 * address review comments * bump API level to 33 for test app * Update SDK installation steps for Android 2.0 integration (#232) * update extension packages with Android 2.0 builds * no message * installation doc update for Android 2.0 * update docs * Update README.md * update sample app * Update README.md * address review comments * Add location hint in Edge extension - Add setLocationHint and getLocationHint to ts, ios and android. - Update Sample App - Add location hint APIs to doc * update AndroidManifest file and location hint clean up Update AndroidManifest file to work with Android API 33 Clean up for location hint. * rename a title in the sample app rename a title in the sample app * Add location hint unit tests Add location hint unit tests * Commented out a failing Target unit test Commented out a failing Target unit test for now. Need to look at it later. * Update yarn.lock Update yarn.lock * Update circle ci node version Update circle ci node version * commented out a target test commented out a target test * Comment out few optimize tests Comment out few optimize tests to see if helps the CI unit test running. * Remove optimizeTest and update xcode version Remove optimizeTest and update xcode version * revert xcode version revert xcode version * ci unit test update ci unit test update * remove more test remove more test * Fix compilation errors in Target, Places and Campaign classic * update config for unit test update config for unit test * add back Optimize and Target tests add back Optimize and Target tests * Update circle ci * Update config for unit tests * Update consent readme doc for registration information Update consent readme doc for registration information * update sample app, add an unit test and update doc -update sample app to print null when hint is null -Add setLocationHint to empty string in unit test -update API doc for getLocationHint * Update Edge Readme registration info Update Edge Readme registration info * Update EdgeIdentity readme registration info Update EdgeIdentity readme registration info Also update EdgeConsent format in the readme * Update readme for format Update readme for format * Assurance -> Staging (#243) * clean up Assurance package and update docs with typescript syntax * remove app id * Merge Staging -> Assurance for Assurance 2.0.0 update (#235) * Initial commit. Added Optimize RN package and Android sample app. * Update README.md * Added classed offer and Proposition * Added model class Offer and Preposition in js and hadle Offer tapped tracking. * Added podspec in Optimize wrapper. * Added RN wrapper ios bridge code * Updated js files with values type. * Modified the model classes Offer, Proposition, DecisionScope * Code optimization in model classes and data movement between native and js. * Updated Android aar and made necessary changes in js and Android native. * Added following 2 news js API: generateReferenceXDM and generateTapInteractionXDM * Made changes in ios code to integrate with changes in JS API. * Added APIs for in-app messaging. * Added the JS equivalent of Messaging Delegate. * Removed the suppresautotrack parameter from Message.dismiss. * Updated sample app to show usage of more IAM API's. Update in the implementation of Messaging APIs * Update Home Readme Update Home Readme * Fix format Fix format * Address code review feedback. * Remove Services from the Readme Remove Services from the Readme * update comments for messaging update comments for messaging * Addressed code review feedback. * Added Message parameter in urlLoaded function of MessagingDelegate. * Added IAM APIs in Messaging Readme * Added more Logs. * Rename function Message.clearMessage to Message.clear * Updated the Readme to address code review feedback * Update with review comments Update with review comments * Updated the installation instructions Added the installation instructions for react-native-aepmessaging v1.0.0-beta.2 pre release. * update readme package.json description update readme package.json description * Update Readme with dependencies and Lifecycle info Update Readme with dependencies and Lifecycle info * Add Native Extension column and add description to extensions Add Native Extension column and add description to extensions * Fix the Capital letter Fix the Capital letter * code review feedback * New Approach for the doc format New Approach for the doc format - use core and edge network extensions as an example. * Code review feedback * Updated more with review comments Updated more with review comments * update messaging link leave the link blank right now. * Code review feedback. * Added Android native code RN package * Removed flow-typed folder * Updated Readme Updated Readme with following: 1. Installation instructions 2. APIs in AEPOptimize module * Updated Android install instructions * Added public class documentation Added documentation on following public classes: - DecisionScope - Offer - Proposition * Updated the comments for DecisionScope * Fix compilation issues. * Improved the UI: Improve the List view showing all the Offers. * Implemented Offer displayed interaction in sample app. * Added typescript definition file and Unit tests. * Added Unit tests and Type script description file. * Changes in RN Messaging package Android side. * Added Offer activity id and placement id as metadata in AndroidManifest file. * Staging -> Main for Edge beta.2 release (#151) * Add getExperienceCloudId API Add getExperienceCloudId API * Update Readme Update Readme * Some more Readme fix Some more Readme fix * Update links in Readme Update links in Readme * update peer dependency edgeidentity version in messaging wrapper update peer dependency edgeidentity version in messaging wrapper * update peerDependencies version update peerDependencies version * revert Messaging package.json revert Messaging package.json, will update together with other wrappers in another PR * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * Update with review comments Update with review comments * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Update Readme and revert code Update Readme and revert code * update package json for sample app update package json for sample app * Fix a typo in sample app Fix a typo in sample app * Add promise checking for error case Add promise checking for error case * Remove the unused import statements (#60) Remove the unused import statements * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * add promise reject with error add promise reject with error * Updated for callback error Updated for callback error * update to final for handleError parameter update to final for handleError parameter * update with review feedback update with review feedback * add import statements for RCTAEPEdgeIdentityModule.java add import statement for RCTAEPEdgeIdentityModule.java * Consent package setup * update dependencies * Reduce visibility for util classes, cleanup * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Edge - renaming, sample app and documentation updates (#87) * Renaming - Edge, EdgeEventHandle, ExperienceEvent * Renaming for Edge extension, minor sample app updates * Edge - update documentation * Edge - rename EdgeView * dev - yarn update * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Update Readme for EdgeIdentity (#82) * Update Readme Update Readme * Update Readme with the review comments Update Readme with the review comments * Update readme file Update readme file * update to the correct link update to the correct link * correct a typo correct a typo * Edge Identity iOS implementation (#92) * Edge Identity iOS implementation Edge Identity iOS implementation * Update with review comments Update with review comments * update nullable for databridge file update nullable for databridge file * Update null checks order Update null checks order * EdgeIdentity - renaming * EdgeIdentity - fix typo * update readme update readme * EdgeIdentity - renaming in Readme * EdgeIdentity - more renaming * Consent - updated return promise * Pods update * Updated pods * Convert native identity map object to js identity map Convert native identity map object to js identity map * Update identity.js for iterating identity item Update identity.js for iterating identity item * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Add jest tests for getIdentities API Add jest tests for getIdentities API * remove an extra line of code remove an extra line of code * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update getIdentity return promise Update getIdentity return promise * Changes for the Beta release. Includes changes in the file names and version name in package.json * Updated the unit tests for Messaging. * Update Sample App Update Sample App * update app.js and remove an extra file update app.js and remove an extra file * UserProfile -> staging : rename JS classes (#108) * bump version (#21) * Clean up package - UserProfile (#27) * update copyright * Fix peerDependecies issue for npm client * UserProfile - merge latest staging changes (#104) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * UserProfile - rename JS classes (#105) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * rename js classes * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update the sample app Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * update yarn.lock Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * Fixed code review comments. * Removed merge conflicts. * Updated the Readme.md * Updated Readme. * Add return promise custom type Add return promise custom type * Remove Static for from Readme Remove Static for from Readme * remove styles in EdgeIdentityView remove styles in EdgeIdentityView * revert consent sample app style change revert consent sample app style change Will do that in consent PR * move text and breakline to styles move text and breakline to styles * remove static in Readme and update sample app style remove static in Readme and update sample app style * Update Edge.js for return catch error Update Edge.js for return catch error * check null for promise return custom class check null for promise return custom class * update with review feedback update with review feedback * Fix return type for ts * Update syntax for sendEvent * enum support for AuthenticatedState in ts enum support for AuthenticatedState in ts * remove extra spaces remove extra spaces * fixed typo fixed typo * Core -> staging: add enum support in d.ts file (#124) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * remove dispatchResponseEvent API from Core (#112) * Core - add enum support in d.ts file (#113) * add enum support in d.ts file * add more enum types in d.ts files * update tests * fix conflicts * Rename Items to IdentityMap Rename Items to IdentityMap * Update Readme with initializing information for Edge extensions Update Readme with initializing information for Edge extensions * update Readme files with the review comments update Readme files with the review comments * Update few Readme format Update few Readme format * update version alpha -> beta (#127) * update version alpha -> beta * revert lock file * revert babel config * Move from Assurance_publish branch to staging (#128) * move code from AssurancePublish branch * readMe edits * core dependency to beta * Update to Assurance readMe * Remove Identity and correct naming * Update Assurance readme * Update assurance sample app to beta tag * Assurance badge update * Main README cleanup (#130) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * REAME cleanup (#132) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * update the sample code to present use of setWrapperType * Update README.md * clean up README * Bug fix: correct error handling logic (#133) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * update the sample code to present use of setWrapperType * Update README.md * clean up README * fix review comments * Remove Jcenter() repository from Gradle file (#134) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * update the sample code to present use of setWrapperType * Update README.md * clean up README * fix review comments * Staging -> main for beta.1 release (#129) * Add getExperienceCloudId API Add getExperienceCloudId API * Update Readme Update Readme * Some more Readme fix Some more Readme fix * Update links in Readme Update links in Readme * update peer dependency edgeidentity version in messaging wrapper update peer dependency edgeidentity version in messaging wrapper * update peerDependencies version update peerDependencies version * revert Messaging package.json revert Messaging package.json, will update together with other wrappers in another PR * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * Update with review comments Update with review comments * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Update Readme and revert code Update Readme and revert code * update package json for sample app update package json for sample app * Fix a typo in sample app Fix a typo in sample app * Add promise checking for error case Add promise checking for error case * Remove the unused import statements (#60) Remove the unused import statements * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * add promise reject with error add promise reject with error * Updated for callback error Updated for callback error * update to final for handleError parameter update to final for handleError parameter * update with review feedback update with review feedback * add import statements for RCTAEPEdgeIdentityModule.java add import statement for RCTAEPEdgeIdentityModule.java * Consent package setup * update dependencies * Reduce visibility for util classes, cleanup * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Edge - renaming, sample app and documentation updates (#87) * Renaming - Edge, EdgeEventHandle, ExperienceEvent * Renaming for Edge extension, minor sample app updates * Edge - update documentation * Edge - rename EdgeView * dev - yarn update * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Update Readme for EdgeIdentity (#82) * Update Readme Update Readme * Update Readme with the review comments Update Readme with the review comments * Update readme file Update readme file * update to the correct link update to the correct link * correct a typo correct a typo * Edge Identity iOS implementation (#92) * Edge Identity iOS implementation Edge Identity iOS implementation * Update with review comments Update with review comments * update nullable for databridge file update nullable for databridge file * Update null checks order Update null checks order * EdgeIdentity - renaming * EdgeIdentity - fix typo * update readme update readme * EdgeIdentity - renaming in Readme * EdgeIdentity - more renaming * Consent - updated return promise * Pods update * Updated pods * Convert native identity map object to js identity map Convert native identity map object to js identity map * Update identity.js for iterating identity item Update identity.js for iterating identity item * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Add jest tests for getIdentities API Add jest tests for getIdentities API * remove an extra line of code remove an extra line of code * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update getIdentity return promise Update getIdentity return promise * Changes for the Beta release. Includes changes in the file names and version name in package.json * Updated the unit tests for Messaging. * Update Sample App Update Sample App * update app.js and remove an extra file update app.js and remove an extra file * UserProfile -> staging : rename JS classes (#108) * bump version (#21) * Clean up package - UserProfile (#27) * update copyright * Fix peerDependecies issue for npm client * UserProfile - merge latest staging changes (#104) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * UserProfile - rename JS classes (#105) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * rename js classes * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update the sample app Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * update yarn.lock Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * Fixed code review comments. * Removed merge conflicts. * Updated the Readme.md * Updated Readme. * Add return promise custom type Add return promise custom type * Remove Static for from Readme Remove Static for from Readme * remove styles in EdgeIdentityView remove styles in EdgeIdentityView * revert consent sample app style change revert consent sample app style change Will do that in consent PR * move text and breakline to styles move text and breakline to styles * remove static in Readme and update sample app style remove static in Readme and update sample app style * Update Edge.js for return catch error Update Edge.js for return catch error * check null for promise return custom class check null for promise return custom class * update with review feedback update with review feedback * Fix return type for ts * Update syntax for sendEvent * enum support for AuthenticatedState in ts enum support for AuthenticatedState in ts * remove extra spaces remove extra spaces * fixed typo fixed typo * Core -> staging: add enum support in d.ts file (#124) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a n… * Update docs for Campaign/Messaging/Optimize/Places/Target with Android 2.0 installation changes (#244) * update readme doc with Android 2.0 installation changes * Update README.md * Bump up Assurance version to 4.0.0 (#246) * clean up Assurance package and update docs with typescript syntax * remove app id * Merge Staging -> Assurance for Assurance 2.0.0 update (#235) * Initial commit. Added Optimize RN package and Android sample app. * Update README.md * Added classed offer and Proposition * Added model class Offer and Preposition in js and hadle Offer tapped tracking. * Added podspec in Optimize wrapper. * Added RN wrapper ios bridge code * Updated js files with values type. * Modified the model classes Offer, Proposition, DecisionScope * Code optimization in model classes and data movement between native and js. * Updated Android aar and made necessary changes in js and Android native. * Added following 2 news js API: generateReferenceXDM and generateTapInteractionXDM * Made changes in ios code to integrate with changes in JS API. * Added APIs for in-app messaging. * Added the JS equivalent of Messaging Delegate. * Removed the suppresautotrack parameter from Message.dismiss. * Updated sample app to show usage of more IAM API's. Update in the implementation of Messaging APIs * Update Home Readme Update Home Readme * Fix format Fix format * Address code review feedback. * Remove Services from the Readme Remove Services from the Readme * update comments for messaging update comments for messaging * Addressed code review feedback. * Added Message parameter in urlLoaded function of MessagingDelegate. * Added IAM APIs in Messaging Readme * Added more Logs. * Rename function Message.clearMessage to Message.clear * Updated the Readme to address code review feedback * Update with review comments Update with review comments * Updated the installation instructions Added the installation instructions for react-native-aepmessaging v1.0.0-beta.2 pre release. * update readme package.json description update readme package.json description * Update Readme with dependencies and Lifecycle info Update Readme with dependencies and Lifecycle info * Add Native Extension column and add description to extensions Add Native Extension column and add description to extensions * Fix the Capital letter Fix the Capital letter * code review feedback * New Approach for the doc format New Approach for the doc format - use core and edge network extensions as an example. * Code review feedback * Updated more with review comments Updated more with review comments * update messaging link leave the link blank right now. * Code review feedback. * Added Android native code RN package * Removed flow-typed folder * Updated Readme Updated Readme with following: 1. Installation instructions 2. APIs in AEPOptimize module * Updated Android install instructions * Added public class documentation Added documentation on following public classes: - DecisionScope - Offer - Proposition * Updated the comments for DecisionScope * Fix compilation issues. * Improved the UI: Improve the List view showing all the Offers. * Implemented Offer displayed interaction in sample app. * Added typescript definition file and Unit tests. * Added Unit tests and Type script description file. * Changes in RN Messaging package Android side. * Added Offer activity id and placement id as metadata in AndroidManifest file. * Staging -> Main for Edge beta.2 release (#151) * Add getExperienceCloudId API Add getExperienceCloudId API * Update Readme Update Readme * Some more Readme fix Some more Readme fix * Update links in Readme Update links in Readme * update peer dependency edgeidentity version in messaging wrapper update peer dependency edgeidentity version in messaging wrapper * update peerDependencies version update peerDependencies version * revert Messaging package.json revert Messaging package.json, will update together with other wrappers in another PR * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * Update with review comments Update with review comments * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Update Readme and revert code Update Readme and revert code * update package json for sample app update package json for sample app * Fix a typo in sample app Fix a typo in sample app * Add promise checking for error case Add promise checking for error case * Remove the unused import statements (#60) Remove the unused import statements * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * add promise reject with error add promise reject with error * Updated for callback error Updated for callback error * update to final for handleError parameter update to final for handleError parameter * update with review feedback update with review feedback * add import statements for RCTAEPEdgeIdentityModule.java add import statement for RCTAEPEdgeIdentityModule.java * Consent package setup * update dependencies * Reduce visibility for util classes, cleanup * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Edge - renaming, sample app and documentation updates (#87) * Renaming - Edge, EdgeEventHandle, ExperienceEvent * Renaming for Edge extension, minor sample app updates * Edge - update documentation * Edge - rename EdgeView * dev - yarn update * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Update Readme for EdgeIdentity (#82) * Update Readme Update Readme * Update Readme with the review comments Update Readme with the review comments * Update readme file Update readme file * update to the correct link update to the correct link * correct a typo correct a typo * Edge Identity iOS implementation (#92) * Edge Identity iOS implementation Edge Identity iOS implementation * Update with review comments Update with review comments * update nullable for databridge file update nullable for databridge file * Update null checks order Update null checks order * EdgeIdentity - renaming * EdgeIdentity - fix typo * update readme update readme * EdgeIdentity - renaming in Readme * EdgeIdentity - more renaming * Consent - updated return promise * Pods update * Updated pods * Convert native identity map object to js identity map Convert native identity map object to js identity map * Update identity.js for iterating identity item Update identity.js for iterating identity item * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Add jest tests for getIdentities API Add jest tests for getIdentities API * remove an extra line of code remove an extra line of code * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update getIdentity return promise Update getIdentity return promise * Changes for the Beta release. Includes changes in the file names and version name in package.json * Updated the unit tests for Messaging. * Update Sample App Update Sample App * update app.js and remove an extra file update app.js and remove an extra file * UserProfile -> staging : rename JS classes (#108) * bump version (#21) * Clean up package - UserProfile (#27) * update copyright * Fix peerDependecies issue for npm client * UserProfile - merge latest staging changes (#104) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * UserProfile - rename JS classes (#105) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * rename js classes * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update the sample app Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * update yarn.lock Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * Fixed code review comments. * Removed merge conflicts. * Updated the Readme.md * Updated Readme. * Add return promise custom type Add return promise custom type * Remove Static for from Readme Remove Static for from Readme * remove styles in EdgeIdentityView remove styles in EdgeIdentityView * revert consent sample app style change revert consent sample app style change Will do that in consent PR * move text and breakline to styles move text and breakline to styles * remove static in Readme and update sample app style remove static in Readme and update sample app style * Update Edge.js for return catch error Update Edge.js for return catch error * check null for promise return custom class check null for promise return custom class * update with review feedback update with review feedback * Fix return type for ts * Update syntax for sendEvent * enum support for AuthenticatedState in ts enum support for AuthenticatedState in ts * remove extra spaces remove extra spaces * fixed typo fixed typo * Core -> staging: add enum support in d.ts file (#124) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * remove dispatchResponseEvent API from Core (#112) * Core - add enum support in d.ts file (#113) * add enum support in d.ts file * add more enum types in d.ts files * update tests * fix conflicts * Rename Items to IdentityMap Rename Items to IdentityMap * Update Readme with initializing information for Edge extensions Update Readme with initializing information for Edge extensions * update Readme files with the review comments update Readme files with the review comments * Update few Readme format Update few Readme format * update version alpha -> beta (#127) * update version alpha -> beta * revert lock file * revert babel config * Move from Assurance_publish branch to staging (#128) * move code from AssurancePublish branch * readMe edits * core dependency to beta * Update to Assurance readMe * Remove Identity and correct naming * Update Assurance readme * Update assurance sample app to beta tag * Assurance badge update * Main README cleanup (#130) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * REAME cleanup (#132) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * update the sample code to present use of setWrapperType * Update README.md * clean up README * Bug fix: correct error handling logic (#133) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * update the sample code to present use of setWrapperType * Update README.md * clean up README * fix review comments * Remove Jcenter() repository from Gradle file (#134) * update version alpha -> beta * revert lock file * revert babel config * Update README.md * Update README.md * Update README.md * update the sample code to present use of setWrapperType * Update README.md * clean up README * fix review comments * Staging -> main for beta.1 release (#129) * Add getExperienceCloudId API Add getExperienceCloudId API * Update Readme Update Readme * Some more Readme fix Some more Readme fix * Update links in Readme Update links in Readme * update peer dependency edgeidentity version in messaging wrapper update peer dependency edgeidentity version in messaging wrapper * update peerDependencies version update peerDependencies version * revert Messaging package.json revert Messaging package.json, will update together with other wrappers in another PR * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * Update with review comments Update with review comments * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Update Readme and revert code Update Readme and revert code * update package json for sample app update package json for sample app * Fix a typo in sample app Fix a typo in sample app * Add promise checking for error case Add promise checking for error case * Remove the unused import statements (#60) Remove the unused import statements * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * add promise reject with error add promise reject with error * Updated for callback error Updated for callback error * update to final for handleError parameter update to final for handleError parameter * update with review feedback update with review feedback * add import statements for RCTAEPEdgeIdentityModule.java add import statement for RCTAEPEdgeIdentityModule.java * Consent package setup * update dependencies * Reduce visibility for util classes, cleanup * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Add Edge Identity API in JS and Java (#74) * Add EdgeIdentity API in js * add import statements for RCTAEPEdgeIdentityModule.java * Update with review comments * testing branch * Update getIdentities Update getIdentities * remove add items * update EdgeIdentity.js * More Update to the IdentityMap * more updates * Update with android databridge and removeIdentity * cleaning code * Remove console codes Remove console codes * Remove public access for internal files Remove public access for internal files * update with review comments update with review comments * update review comments update review comments * Add the boolean check for Primary key Add the boolean check for Primary key * update typo for ts file update typo for ts file * Update AuthenticatedState.js Update AuthenticatedState.js * Update with review comments Update with review comments * EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81) * Edge - renaming, sample app and documentation updates (#87) * Renaming - Edge, EdgeEventHandle, ExperienceEvent * Renaming for Edge extension, minor sample app updates * Edge - update documentation * Edge - rename EdgeView * dev - yarn update * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Update Readme for EdgeIdentity (#82) * Update Readme Update Readme * Update Readme with the review comments Update Readme with the review comments * Update readme file Update readme file * update to the correct link update to the correct link * correct a typo correct a typo * Edge Identity iOS implementation (#92) * Edge Identity iOS implementation Edge Identity iOS implementation * Update with review comments Update with review comments * update nullable for databridge file update nullable for databridge file * Update null checks order Update null checks order * EdgeIdentity - renaming * EdgeIdentity - fix typo * update readme update readme * EdgeIdentity - renaming in Readme * EdgeIdentity - more renaming * Consent - updated return promise * Pods update * Updated pods * Convert native identity map object to js identity map Convert native identity map object to js identity map * Update identity.js for iterating identity item Update identity.js for iterating identity item * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Add jest tests for getIdentities API Add jest tests for getIdentities API * remove an extra line of code remove an extra line of code * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update getIdentity return promise Update getIdentity return promise * Changes for the Beta release. Includes changes in the file names and version name in package.json * Updated the unit tests for Messaging. * Update Sample App Update Sample App * update app.js and remove an extra file update app.js and remove an extra file * UserProfile -> staging : rename JS classes (#108) * bump version (#21) * Clean up package - UserProfile (#27) * update copyright * Fix peerDependecies issue for npm client * UserProfile - merge latest staging changes (#104) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * UserProfile - rename JS classes (#105) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#51) * UserProfile (1.0.0-alpha.3) -> staging (#50) (#53) * 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 * Update Edge Wrapper Readme Update Edge Wrapper Readme * update readme update readme * Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> main (#55) * EdgeIdentity (1.0.0-alpha.2) -> staging (#59) * fix a typo in readme (#61) fix a typo in readme * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * Core (1.0.0-alpha.2) -> main (#65) * add a FAQ section (#66) * Consent package setup * update dependencies * Fix consent module * Add consent to iOS sample app * Renaming, update dependencies * Update gradle * Added APIs for Consent extension (#80) * Consent - add Android + JS APIs, update sample app * Consent - sample app styling * Consent - iOS API updates, update examples on sample app * Consent - update typescript def and tests * Consent - update documentation * Consent - docs updates * Consent - reject with AEPError * Consent - add to main readme * Consent - review update sample app * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Consent - renaming public JS classes (#93) * Consent - renaming for consistency with native classes * Consent - AEP renaming * Consent - updated return promise * Pods update * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * rename js classes * Core - clean up the sample app (#107) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Core - clean up the sample app (#106) * Core - renaming public JS classes (#102) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * Reduce visibility for utility classes and handle error callback (#86) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * address review comments * Core - renaming public APIs (#91) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Update README.md * add a FAQ section (#66) * fix the release issue: NPM registry enforces a minimum of TLS 1.2 beginning October 4, 2021 (#73) * reduce visibility for utility classes. * handle error callback * rename public APIs * fix sample app compile issue * clean up logs, remove AEP prefix * remove AEP prefix for Log tags * remove AEP prefix from PriavacyStatus const strings * fix compile failure * Remove AEP prefix for internal constant strings. * Clean up the sample app after renaming JS classes in Core plugin * Update the sample app Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * update yarn.lock Co-authored-by: Calise Cheung Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> * Fixed code review comments. * Removed merge conflicts. * Updated the Readme.md * Updated Readme. * Add return promise custom type Add return promise custom type * Remove Static for from Readme Remove Static for from Readme * remove styles in EdgeIdentityView remove styles in EdgeIdentityView * revert consent sample app style change revert consent sample app style change Will do that in consent PR * move text and breakline to styles move text and breakline to styles * remove static in Readme and update sample app style remove static in Readme and update sample app style * Update Edge.js for return catch error Update Edge.js for return catch error * check null for promise return custom class check null for promise return custom class * update with review feedback update with review feedback * Fix return type for ts * Update syntax for sendEvent * enum support for AuthenticatedState in ts enum support for AuthenticatedState in ts * remove extra spaces remove extra spaces * fixed typo fixed typo * Core -> staging: add enum support in d.ts file (#124) * add a new API in Core - resetIdentities (#63) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * Merge latest staging changes (#85) * EdgeIdentity (1.0.0-alpha.2) -> main (#62) * add a new API in Core -? resetIdentities * update core package version to alpha.2 * add a new API in Core - resetIdentities (#63) (#64)… * Fix compilation errors in messaging wrapper * Fix messaging dependencies * messaging 2.x doc updates * fix some wording * Remove optimize dependency from messaging * add lifecycle extension to init steps * fix: Assurance is not registered. (#250) * update migration doc to work with 2.x update migration doc to work with 2.x * update migration doc update migration doc * update import and link info for migration doc update import and link for migration doc * Remove semi-colon for Syntax in the doc Remove semi-colon in doc Syntax for the consistency with other extensions. * fix acc api call (#254) update trackNotificationClickWithUserInfo to call CampaignClassic.trackNotificationClick * Review updates (#253) * Optimize view fixes * Fixed issue with setting Places authorization status * Fixed Places auth status enum string inconsistencies between ts and bridge files * Update lifecycle ios implementation in docs Update lifecycle ios implementation in docs * Update lifecycleStart to nil for ios initialization in the docs Update lifecycleStart to nil for ios initialization in the docs * Remove CampaignClassic from migration doc and update assurance readme Remove CampaignClassic from migration doc and update assurance readme. --------- Co-authored-by: Calise Cheung Co-authored-by: Kevin Dice Co-authored-by: praveek Co-authored-by: shtomar-adb Co-authored-by: Shivam Tomar <12368667+shtomar-adb@users.noreply.github.com> Co-authored-by: Emilia Dobrin Co-authored-by: Emilia Dobrin <33132425+emdobrin@users.noreply.github.com> Co-authored-by: Pravin Prakash Kumar Co-authored-by: Daniel Soffiantini Co-authored-by: steve benedick Co-authored-by: Ryan Morales Co-authored-by: Swarna Saraf --- .circleci/config.yml | 8 +- README.md | 125 +- .../android/app/src/main/AndroidManifest.xml | 4 +- .../java/com/aepsampleapp/MainActivity.java | 14 + .../com/aepsampleapp/MainApplication.java | 50 +- apps/AEPSampleApp/android/build.gradle | 6 +- apps/AEPSampleApp/extensions/EdgeView.tsx | 24 +- apps/AEPSampleApp/extensions/OptimizeView.tsx | 17 +- .../ios/AEPSampleApp/AppDelegate.mm | 25 +- apps/AEPSampleApp/ios/Podfile | 2 - apps/AEPSampleApp/ios/Podfile.lock | 576 +++-- apps/AEPSampleApp/package.json | 24 +- docs/migration.md | 199 +- packages/assurance/README.md | 46 +- packages/assurance/android/build.gradle | 13 +- packages/assurance/package.json | 4 +- packages/campaignclassic/README.md | 42 +- packages/campaignclassic/android/build.gradle | 13 +- .../RCTAEPCampaignClassicModule.java | 5 +- packages/campaignclassic/package.json | 4 +- packages/core/android/build.gradle | 16 +- packages/core/package.json | 2 +- packages/edge/README.md | 76 +- packages/edge/__tests__/EdgeTests.ts | 27 +- packages/edge/android/build.gradle | 13 +- .../reactnative/edge/RCTAEPEdgeModule.java | 30 + packages/edge/ios/src/RCTAEPEdge.m | 33 + packages/edge/package.json | 6 +- packages/edge/ts/Edge.ts | 24 + packages/edgeconsent/README.md | 36 +- packages/edgeconsent/android/build.gradle | 13 +- packages/edgeconsent/package.json | 4 +- packages/edgeidentity/README.md | 43 +- packages/edgeidentity/android/build.gradle | 13 +- packages/edgeidentity/package.json | 4 +- packages/messaging/RCTAEPMessaging.podspec | 2 +- packages/messaging/README.md | 336 +-- packages/messaging/android/build.gradle | 16 +- packages/messaging/android/libs/messaging.aar | Bin 98349 -> 0 bytes packages/messaging/android/libs/optimize.aar | Bin 64053 -> 0 bytes .../messaging/RCTAEPMessagingModule.java | 86 +- packages/messaging/ios/src/RCTAEPMessaging.m | 6 +- packages/messaging/package.json | 8 +- packages/optimize/README.md | 372 ++-- packages/optimize/android/build.gradle | 15 +- packages/optimize/package.json | 8 +- packages/places/README.md | 51 +- packages/places/android/build.gradle | 13 +- .../places/RCTAEPPlacesDataBridge.java | 14 +- .../places/RCTAEPPlacesModule.java | 4 +- .../places/ios/src/RCTAEPPlacesDataBridge.m | 10 +- packages/places/package.json | 4 +- packages/target/README.md | 152 +- packages/target/__tests__/TargetTests.ts | 8 +- packages/target/android/build.gradle | 12 +- .../target/RCTAEPTargetDataBridge.java | 10 +- .../target/RCTAEPTargetModule.java | 13 +- packages/target/package.json | 6 +- packages/userprofile/README.md | 49 +- packages/userprofile/android/build.gradle | 13 +- packages/userprofile/package.json | 4 +- tests/jest/setup.ts | 4 +- yarn.lock | 1938 +++++++++-------- 63 files changed, 2604 insertions(+), 2091 deletions(-) delete mode 100644 packages/messaging/android/libs/messaging.aar delete mode 100644 packages/messaging/android/libs/optimize.aar diff --git a/.circleci/config.yml b/.circleci/config.yml index cfd66cdc..4deaa3bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ version: 2.1 jobs: unit-test: docker: - - image: cimg/node:16.6.2 + - image: cimg/node:19.7.0 steps: - checkout @@ -21,7 +21,7 @@ jobs: - run: name: Unit Tests - command: yarn tests:jest + command: yarn tests:jest --watchAll=false --runInBand build-sample-app-android: docker: @@ -50,7 +50,9 @@ jobs: # CircleCI puts xcode app in consistent path, RN looks for versioned path - run: name: Move xcode - command: cd /Applications && mv Xcode.app Xcode-13.0.app + command: | + cd /Applications && mv Xcode.app Xcode-13.0.app + /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/Xcode-13.0.app/Contents/Developer/Applications/Simulator.app - run: name: Install latest NodeJS diff --git a/README.md b/README.md index 3be911c0..a9e05afa 100644 --- a/README.md +++ b/README.md @@ -8,19 +8,19 @@ This repository is a monorepo and contains a collection of React Native modules for Adobe Experience Platform Mobile SDK as listed below. These modules can be found in the [packages](./packages) directory. | Package Name | Latest Version | Native Extension | | ---- | ---- | ---- | -| [@adobe/react-native-aepcore (required)](./packages/core) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcore.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcore) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcore)](https://www.npmjs.com/package/@adobe/react-native-aepcore) | [Mobile Core](https://developer.adobe.com/client-sdks/documentation/mobile-core) -| [@adobe/react-native-aepuserprofile](./packages/userprofile) | [![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)| [Profile](https://developer.adobe.com/client-sdks/documentation/profile) -| [@adobe/react-native-aepedge](./packages/edge) | [![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) | [Edge](https://developer.adobe.com/client-sdks/documentation/edge-network) -| [@adobe/react-native-aepedgeidentity](./packages/edgeidentity) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeidentity.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeidentity)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) |[EdgeIdentity](https://developer.adobe.com/client-sdks/documentation/identity-for-edge-network) -| [@adobe/react-native-aepedgeconsent](./packages/edgeconsent) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeconsent.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeconsent)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) | [EdgeConsent](https://developer.adobe.com/client-sdks/documentation/consent-for-edge-network) -| [@adobe/react-native-aepmessaging](./packages/messaging) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepmessaging.svg)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepmessaging)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) | [Messaging](https://developer.adobe.com/client-sdks/documentation/iam/) -| [@adobe/react-native-aepassurance](./packages/assurance) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepassurance.svg)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepassurance)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) | [Assurance](https://developer.adobe.com/client-sdks/documentation/platform-assurance-sdk) -| [@adobe/react-native-aepoptimize](./packages/optimize) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepoptimize.svg)](https://www.npmjs.com/package/@adobe/react-native-aepoptimize) ![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepoptimize) | [Optimize](https://developer.adobe.com/client-sdks/documentation/adobe-journey-optimizer-decisioning) -| [@adobe/react-native-aepplaces](./packages/places) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepplaces.svg)](https://www.npmjs.com/package/@adobe/react-native-aepplaces) ![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepplaces) | [Places](https://developer.adobe.com/client-sdks/documentation/places) -| [@adobe/react-native-aeptarget](./packages/target) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aeptarget.svg)](https://www.npmjs.com/package/@adobe/react-native-aeptarget) ![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aeptarget) | [Target](https://developer.adobe.com/client-sdks/documentation/adobe-target) -| [@adobe/react-native-aepcampaignclassic](./packages/campaignclassic) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcampaignclassic.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcampaignclassic) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcampaignclassic)](https://www.npmjs.com/package/@adobe/react-native-aepcampaignclassic) |[CampaignClassic](https://developer.adobe.com/client-sdks/documentation/adobe-campaign-classic) - -> Note: @adobe/react-native-aepassurance <=2.0 is not compatible with @adobe/react-native-aepcore. Please use @adobe/react-native-aepassurance [3.x or above](./packages/assurance#install-npm-package). +| [@adobe/react-native-aepcore (required)](./packages/core) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcore.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcore) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcore)](https://www.npmjs.com/package/@adobe/react-native-aepcore) | [Mobile Core](https://developer.adobe.com/client-sdks/documentation/mobile-core) +| [@adobe/react-native-aepuserprofile](./packages/userprofile) | [![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)| [Profile](https://developer.adobe.com/client-sdks/documentation/profile) +| [@adobe/react-native-aepedge](./packages/edge) | [![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) | [Edge](https://developer.adobe.com/client-sdks/documentation/edge-network) +| [@adobe/react-native-aepedgeidentity](./packages/edgeidentity) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeidentity.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeidentity)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) |[EdgeIdentity](https://developer.adobe.com/client-sdks/documentation/identity-for-edge-network) +| [@adobe/react-native-aepedgeconsent](./packages/edgeconsent) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeconsent.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeconsent)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) | [EdgeConsent](https://developer.adobe.com/client-sdks/documentation/consent-for-edge-network) +| [@adobe/react-native-aepmessaging](./packages/messaging) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepmessaging.svg)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepmessaging)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) | [Messaging](https://developer.adobe.com/client-sdks/documentation/iam/) +| [@adobe/react-native-aepassurance](./packages/assurance) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepassurance.svg)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepassurance)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) | [Assurance](https://developer.adobe.com/client-sdks/documentation/platform-assurance-sdk) +| [@adobe/react-native-aepoptimize](./packages/optimize) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepoptimize.svg)](https://www.npmjs.com/package/@adobe/react-native-aepoptimize) ![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepoptimize) | [Optimize](https://developer.adobe.com/client-sdks/documentation/adobe-journey-optimizer-decisioning) +| [@adobe/react-native-aepplaces](./packages/places) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepplaces.svg)](https://www.npmjs.com/package/@adobe/react-native-aepplaces) ![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepplaces) | [Places](https://developer.adobe.com/client-sdks/documentation/places) +| [@adobe/react-native-aeptarget](./packages/target) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aeptarget.svg)](https://www.npmjs.com/package/@adobe/react-native-aeptarget) ![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aeptarget) | [Target](https://developer.adobe.com/client-sdks/documentation/adobe-target) +| [@adobe/react-native-aepcampaignclassic](./packages/campaignclassic) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcampaignclassic.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcampaignclassic) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcampaignclassic)](https://www.npmjs.com/package/@adobe/react-native-aepcampaignclassic) |[CampaignClassic](https://developer.adobe.com/client-sdks/documentation/adobe-campaign-classic) + +> Warning: Please always use the latest major versions of the above libraries to avoid incompatible issues. ## Requirements @@ -35,6 +35,7 @@ You need to install Adobe Experience Platform Mobile SDK with [npm](https://www. > Note: If you are new to React Native, we suggest you follow the [React Native Getting Started](https://reactnative.dev) page before continuing. ### Install AEP npm packages + Adobe Experience Platform Mobile SDK packages can be installed from [npm](https://www.npmjs.com/) command. > Note: `@adobe/react-native-aepcore` is required to be installed. @@ -54,38 +55,45 @@ The following code snippet shows for Mobile Core and Edge Network extensions as ... "dependencies": { "react-native": "0.64.2", - "@adobe/react-native-aepcore": "^1.0.0", //core is required and includes aepcore, aepsignal, aeplifecycle, aepidentity libraries - "@adobe/react-native-aepedge": "^1.0.0", - "@adobe/react-native-aepedgeidentity": "^1.0.0", - "@adobe/react-native-aepedgeconsent": "^1.0.0", + "@adobe/react-native-aepcore": "^2.0.0", //core is required and includes aepcore, aepsignal, aeplifecycle, aepidentity libraries + "@adobe/react-native-aepedge": "^2.0.0", + "@adobe/react-native-aepedgeidentity": "^2.0.0", + "@adobe/react-native-aepedgeconsent": "^2.0.0", ... }, ``` + Inside of the app directory, run ```bash #if using node package manager npm install ``` + or + ```bash #if using yarn package manager yarn install ``` ##### ios development + For iOS development, after installing the plugins from npm, download the pod dependencies by running the following command: + ```bash cd ios && pod install && cd .. ``` To update native dependencies to latest available versions, run the following command: + ```bash cd ios && pod update && cd .. ``` + ## Initializing -Initializing the SDK should be done in native code inside your `AppDelegate` (iOS) and `MainApplication` (Android). The following code snippets demonstrate how to install and register the AEP Mobile Core and Edge Network extensions. Documentation on how to initialize each extension can be found in *./packages/{extension}/README.md*. +Initializing the SDK should be done in native code inside your `AppDelegate` (iOS) and `MainApplication` (Android). The following code snippets demonstrate how to install and register the AEP Mobile Core and Edge Network extensions. Documentation on how to initialize each extension can be found in _./packages/{extension}/README.md_. ###### **iOS** @@ -93,13 +101,14 @@ Initializing the SDK should be done in native code inside your `AppDelegate` (iO //AppDelegate.h @import AEPCore; @import AEPServices; -@import AEPLifecycle; -@import AEPSignal; -@import AEPEdge; -@import AEPEdgeIdentity; -@import AEPEdgeConsent; +@import AEPLifecycle; +@import AEPSignal; +@import AEPEdge; +@import AEPEdgeIdentity; +@import AEPEdgeConsent; ... ``` + ```objective-c //AppDelegate.m ... @@ -107,45 +116,49 @@ Initializing the SDK should be done in native code inside your `AppDelegate` (iO -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [AEPMobileCore setLogLevel: AEPLogLevelDebug]; [AEPMobileCore configureWithAppId:@"yourAppID"]; + + const UIApplicationState appState = application.applicationState; + [AEPMobileCore registerExtensions: @[ - AEPMobileLifecycle.class, - AEPMobileSignal.class, - AEPMobileEdge.class, + AEPMobileLifecycle.class, + AEPMobileSignal.class, + AEPMobileEdge.class, AEPMobileEdgeIdentity.class, - AEPMobileEdgeConsent.class, - ] completion:^{ - [AEPMobileCore lifecycleStart:@{@"contextDataKey": @"contextDataVal"}]; - //enable this for Lifecycle. See Note for collecting Lifecycle metrics. - } - ]; - + AEPMobileEdgeConsent.class, + ] completion:^{ + if (appState != UIApplicationStateBackground) { + [AEPMobileCore lifecycleStart:nil}]; + } + }]; return YES; } @end ``` + > To enable the Lifecycle metrics, [implement the Lifecycle APIs](./packages/core/README.md#lifecycle) > Hint : While running iOS application after Adobe Experience Platform SDK installation. If you have build error that states: -> "ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'" +> "ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'" > This is because Adobe Experience Platform SDK now requires the app uses swift interfaces. Add a dummy .swift file to your project to embed the swift standard libs. See the SampleApp presented in this repo for example. ###### **Android:** ```java //MainApplication.java -import com.adobe.marketing.mobile.AdobeCallback; -import com.adobe.marketing.mobile.InvalidInitException; +import com.adobe.marketing.mobile.AdobeCallback; +import com.adobe.marketing.mobile.Extension; import com.adobe.marketing.mobile.LoggingMode; import com.adobe.marketing.mobile.MobileCore; import com.adobe.marketing.mobile.Lifecycle; -import com.adobe.marketing.mobile.Signal; -import com.adobe.marketing.mobile.Edge; -import com.adobe.marketing.mobile.edge.consent.Consent; +import com.adobe.marketing.mobile.Signal; +import com.adobe.marketing.mobile.Edge; +import com.adobe.marketing.mobile.edge.consent.Consent; ... import android.app.Application; ``` + ```java ... public class MainApplication extends Application implements ReactApplication { @@ -156,29 +169,23 @@ public class MainApplication extends Application implements ReactApplication { ... MobileCore.setApplication(this); MobileCore.setLogLevel(LoggingMode.DEBUG); - try { - Lifecycle.registerExtension(); - Signal.registerExtension(); - Edge.registerExtension(); - com.adobe.marketing.mobile.edge.identity.Identity.registerExtension(); - Consent.registerExtension(); - - MobileCore.configureWithAppID("yourAppID"); - MobileCore.start(new AdobeCallback() { - @Override - public void call(Object o) { - MobileCore.lifecycleStart(null); - //enable this for Lifecycle. See Note for collecting Lifecycle metrics. - } - }); - } catch (InvalidInitException e) { - ... - } + MobileCore.configureWithAppID("yourAppID"); + List> extensions = Arrays.asList( + Lifecycle.EXTENSION, + Signal.EXTENSION, + Edge.EXTENSION, + com.adobe.marketing.mobile.edge.identity.Identity.EXTENSION, + Consent.EXTENSION); + MobileCore.registerExtensions(extensions, o -> { + Log.d(LOG_TAG, "AEP Mobile SDK is initialized"); + MobileCore.lifecycleStart(null); + //enable this for Lifecycle. See Note for collecting Lifecycle metrics. + }); } } ``` -> To enable the Lifecycle metrics, [implement the Lifecycle APIs](./packages/core/README.md#lifecycle) +> To enable the Lifecycle metrics, [implement the Lifecycle APIs](./packages/core/README.md#lifecycle) ## Migration guide @@ -186,7 +193,7 @@ See [migration.md](./docs/migration.md) for guidance on migrating from ACP React ## Contributing -Contributions are welcomed! See [CONTRIBUTING](CONTRIBUTING.md) and [development.md](./docs/development.md) guides for more information. +Contributions are welcomed! See [CONTRIBUTING](CONTRIBUTING.md) and [development.md](./docs/development.md) guides for more information. ## Licensing diff --git a/apps/AEPSampleApp/android/app/src/main/AndroidManifest.xml b/apps/AEPSampleApp/android/app/src/main/AndroidManifest.xml index 95af22f7..5f588e6a 100644 --- a/apps/AEPSampleApp/android/app/src/main/AndroidManifest.xml +++ b/apps/AEPSampleApp/android/app/src/main/AndroidManifest.xml @@ -15,8 +15,10 @@ - + + + diff --git a/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainActivity.java b/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainActivity.java index a7a9d4d4..015cdc9e 100644 --- a/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainActivity.java +++ b/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainActivity.java @@ -11,6 +11,7 @@ */ package com.aepsampleapp; +import com.adobe.marketing.mobile.MobileCore; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; import com.facebook.react.ReactRootView; @@ -35,6 +36,19 @@ protected ReactActivityDelegate createReactActivityDelegate() { return new MainActivityDelegate(this, getMainComponentName()); } + @Override + protected void onResume() { + super.onResume(); + MobileCore.setApplication(getApplication()); + MobileCore.lifecycleStart(null); + } + + @Override + protected void onPause() { + super.onPause(); + MobileCore.lifecyclePause(); + } + public static class MainActivityDelegate extends ReactActivityDelegate { public MainActivityDelegate(ReactActivity activity, String mainComponentName) { super(activity, mainComponentName); diff --git a/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java b/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java index ff4148e7..cece9dd8 100644 --- a/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java +++ b/apps/AEPSampleApp/android/app/src/main/java/com/aepsampleapp/MainApplication.java @@ -14,10 +14,9 @@ import android.app.Application; import android.content.Context; -import com.adobe.marketing.mobile.AdobeCallback; import com.adobe.marketing.mobile.Assurance; import com.adobe.marketing.mobile.Edge; -import com.adobe.marketing.mobile.InvalidInitException; +import com.adobe.marketing.mobile.Extension; import com.adobe.marketing.mobile.Lifecycle; import com.adobe.marketing.mobile.LoggingMode; import com.adobe.marketing.mobile.Messaging; @@ -25,12 +24,10 @@ import com.adobe.marketing.mobile.Signal; import com.adobe.marketing.mobile.UserProfile; import com.adobe.marketing.mobile.edge.consent.Consent; -import com.adobe.marketing.mobile.edge.identity.Identity; import com.adobe.marketing.mobile.optimize.Optimize; import com.adobe.marketing.mobile.Places; import com.adobe.marketing.mobile.Target; import com.aepsampleapp.newarchitecture.MainApplicationReactNativeHost; -import com.adobe.marketing.mobile.InvalidInitException; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; @@ -39,6 +36,7 @@ import com.facebook.react.config.ReactFeatureFlags; import com.facebook.soloader.SoLoader; import java.lang.reflect.InvocationTargetException; +import java.util.Arrays; import java.util.List; public class MainApplication extends Application implements ReactApplication { @@ -89,16 +87,15 @@ public void onCreate() { } /** - * Loads Flipper in React Native templates. Call this in the onCreate method - * with something like initializeFlipper(this, - * getReactNativeHost().getReactInstanceManager()); + * Loads Flipper in React Native templates. Call this in the onCreate method with something like + * initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); * * @param context * @param reactInstanceManager */ private static void initializeFlipper(Context context, - ReactInstanceManager reactInstanceManager) { + ReactInstanceManager reactInstanceManager) { if (BuildConfig.DEBUG) { try { /* @@ -108,7 +105,7 @@ public void onCreate() { Class aClass = Class.forName("com.aepsampleapp.ReactNativeFlipper"); aClass .getMethod("initializeFlipper", Context.class, - ReactInstanceManager.class) + ReactInstanceManager.class) .invoke(null, context, reactInstanceManager); } catch (ClassNotFoundException e) { e.printStackTrace(); @@ -119,28 +116,21 @@ public void onCreate() { } catch (InvocationTargetException e) { e.printStackTrace(); } - - try { - Edge.registerExtension(); - Identity.registerExtension(); - Messaging.registerExtension(); - UserProfile.registerExtension(); - Lifecycle.registerExtension(); - Signal.registerExtension(); - Consent.registerExtension(); - Assurance.registerExtension(); - Places.registerExtension(); - Target.registerExtension(); - Optimize.registerExtension(); - } catch (InvalidInitException e) { - e.printStackTrace(); - } MobileCore.configureWithAppID("YOUR-APP-ID"); - MobileCore.start(new AdobeCallback() { - @Override - public void call(Object o) { - MobileCore.lifecycleStart(null); - } + List> extensions = Arrays.asList( + Lifecycle.EXTENSION, + Signal.EXTENSION, + Edge.EXTENSION, + com.adobe.marketing.mobile.edge.identity.Identity.EXTENSION, + Messaging.EXTENSION, + UserProfile.EXTENSION, + Assurance.EXTENSION, + Places.EXTENSION, + Target.EXTENSION, + Optimize.EXTENSION, + Consent.EXTENSION); + MobileCore.registerExtensions(extensions, o -> { + MobileCore.lifecycleStart(null); }); } } diff --git a/apps/AEPSampleApp/android/build.gradle b/apps/AEPSampleApp/android/build.gradle index 3638a407..b6e8c0f8 100644 --- a/apps/AEPSampleApp/android/build.gradle +++ b/apps/AEPSampleApp/android/build.gradle @@ -6,8 +6,8 @@ buildscript { ext { buildToolsVersion = "29.0.3" minSdkVersion = 21 - compileSdkVersion = 31 - targetSdkVersion = 31 + compileSdkVersion = 33 + targetSdkVersion = 33 if (System.properties['os.arch'] == "aarch64") { // For M1 Users we need to use the NDK 24 which added support for aarch64 @@ -22,7 +22,7 @@ buildscript { mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:7.0.4") + classpath("com.android.tools.build:gradle:7.2.2") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/apps/AEPSampleApp/extensions/EdgeView.tsx b/apps/AEPSampleApp/extensions/EdgeView.tsx index 9d30ab6f..cc7af3df 100644 --- a/apps/AEPSampleApp/extensions/EdgeView.tsx +++ b/apps/AEPSampleApp/extensions/EdgeView.tsx @@ -19,6 +19,7 @@ import {NavigationProps} from '../types/props'; const EdgeView = ({navigation}: NavigationProps) => { const [version, setVersion] = useState(''); const [eventHandles, setEventHandles] = useState(''); + const [locationHint, getlocationHintText] = useState(''); Edge.extensionVersion().then(version => setVersion(version)); @@ -31,7 +32,18 @@ const EdgeView = ({navigation}: NavigationProps) => { let eventHandlesStr = JSON.stringify(eventHandles); console.log('AdobeExperienceSDK: EdgeEventHandles = ' + eventHandlesStr); setEventHandles(eventHandlesStr); - }); + }) + } + + function getLocationHint() { + Edge.getLocationHint().then(hint => { + let locationStr = hint; + console.log('AdobeExperienceSDK: location hint = ' + locationStr); + if (hint == null) { + locationStr = "null"; + } + getlocationHintText(locationStr); + }) } return ( @@ -45,6 +57,16 @@ const EdgeView = ({navigation}: NavigationProps) => { onPress={() => sendEvent('datasetIdExample')} /> Response event handles: {eventHandles} +