Skip to content

Commit 904b1bd

Browse files
yangyansong-adbeshtomar-adbcacheungemdobrinPravinPK
authored
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 <[email protected]> Co-authored-by: Shivam Tomar <[email protected]> Co-authored-by: Pravin Prakash Kumar <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> * 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 <[email protected]> Co-authored-by: Shivam Tomar <[email protected]> Co-authored-by: Pravin Prakash Kumar <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> * update yarn.lock Co-authored-by: Calise Cheung <[email protected]> Co-authored-by: Shivam Tomar <[email protected]> Co-authored-by: Pravin Prakash Kumar <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> * 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 <[email protected]> Co-authored-by: Shivam Tomar <[email protected]> Co-authored-by: Pravin Prakash Kumar <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> * 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 <[email protected]> Co-authored-by: Shivam Tomar <[email protected]> Co-authored-by: Pravin Prakash Kumar <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> * update yarn.lock Co-authored-by: Calise Cheung <[email protected]> Co-authored-by: Shivam Tomar <[email protected]> Co-authored-by: Pravin Prakash Kumar <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> Co-authored-by: Emilia Dobrin <[email protected]> * 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…
1 parent e88ac64 commit 904b1bd

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packages/assurance/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# React Native Adobe Experience Platform Assurance Extension
32

43
[![npm version](https://img.shields.io/npm/v/@adobe/react-native-aepassurance/alpha?color=green&label=npm%20package)](https://www.npmjs.com/package/@adobe/react-native-aepassurance/v/3.0.0-alpha.1)
@@ -9,8 +8,8 @@
98
## Prerequisites
109

1110
The Adobe Experience Platform Assurance extension has the following peer dependency, which must be installed prior to installing the identity extension:
12-
- [Core](../core/README.md)
1311

12+
- [Core](../core/README.md)
1413

1514
## Installation
1615

@@ -23,19 +22,18 @@ cd MyReactApp
2322
npm install @adobe/react-native-aepassurance
2423
```
2524

26-
2725
## Usage
2826

2927
### [Assurance](https://developer.adobe.com/client-sdks/documentation/platform-assurance/tutorials)
3028

31-
3229
### Initializing:
3330

3431
Initializing the SDK should be done in native code, documentation on how to initialize the SDK can be found [here](https://github.com/adobe/aepsdk-react-native#initializing).
3532

3633
Example:
3734

3835
iOS
36+
3937
```objective-c
4038
@import AEPAssurance;
4139

@@ -60,6 +58,7 @@ To connect to a griffon session by scanning the QR code. Follow [Apple developer
6058
```
6159

6260
Android
61+
6362
```java
6463
import com.adobe.marketing.mobile.Assurance;
6564

@@ -70,23 +69,24 @@ public class MainApplication extends Application implements ReactApplication {
7069
super.onCreate();
7170

7271
MobileCore.setApplication(this);
73-
try {
74-
Lifecycle.registerExtension();
75-
Assurance.registerExtension();
76-
MobileCore.configureWithAppID("your-app-ID");
77-
MobileCore.start(null);
78-
} catch (InvalidInitException e) {
79-
// handle exception
80-
}
81-
}
82-
}
72+
MobileCore.configureWithAppID("your-app-ID");
73+
List<Class<? extends Extension>> extensions = Arrays.asList(
74+
Lifecycle.EXTENSION,
75+
Assurance.EXTENSION);
76+
MobileCore.registerExtensions(extensions, o -> {
77+
Log.d(LOG_TAG, "Adobe Experience Platform Mobile SDK is initialized");
78+
MobileCore.lifecycleStart(null);
79+
//enable this for Lifecycle. See Note for collecting Lifecycle metrics.
80+
});
81+
}
82+
}
8383
```
8484

8585
To connect to a griffon session by scanning the QR code. Follow the [Android documentation](https://developer.android.com/training/app-links/deep-linking) on information about how to setup a deeplink.
8686

8787
##### Start Assurance session:
8888

8989
```typescript
90-
import {Assurance} from '@adobe/react-native-aepassurance';
90+
import { Assurance } from "@adobe/react-native-aepassurance";
9191
Assurance.startSession("{your-assurance-session-url}");
9292
```

0 commit comments

Comments
 (0)