Skip to content

Commit

Permalink
[2.0.0 release] staging -> main (#255)
Browse files Browse the repository at this point in the history
* 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 <[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 c…
  • Loading branch information
13 people authored Mar 9, 2023
1 parent a767d9c commit 6a766c2
Show file tree
Hide file tree
Showing 63 changed files with 2,604 additions and 2,091 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
125 changes: 66 additions & 59 deletions README.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion apps/AEPSampleApp/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.BROWSABLE" />

</intent-filter>
<intent-filter>
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="assurance" />
</intent-filter>
</activity>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,20 @@

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;
import com.adobe.marketing.mobile.MobileCore;
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;
Expand All @@ -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 {
Expand Down Expand Up @@ -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 {
/*
Expand All @@ -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();
Expand All @@ -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<Class<? extends Extension>> 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);
});
}
}
Expand Down
6 changes: 3 additions & 3 deletions apps/AEPSampleApp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down
24 changes: 23 additions & 1 deletion apps/AEPSampleApp/extensions/EdgeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -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 (
Expand All @@ -45,6 +57,16 @@ const EdgeView = ({navigation}: NavigationProps) => {
onPress={() => sendEvent('datasetIdExample')}
/>
<Text style={styles.text}>Response event handles: {eventHandles}</Text>
<Button
title="setLocationHint(va6)"
onPress={() => Edge.setLocationHint('va6')}
/>
<Button
title="setLocationHint(null))"
onPress={() => Edge.setLocationHint(null)}
/>
<Button title="getLocationHint()" onPress={() => getLocationHint()} />
<Text style={styles.text}>Location Hint: {locationHint}</Text>
</ScrollView>
</View>
);
Expand Down
17 changes: 2 additions & 15 deletions apps/AEPSampleApp/extensions/OptimizeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const ViewTypes = {
content: 1,
};

const TARGET_OFFER_TYPE_TEXT = 'text/plain';
const TARGET_OFFER_TYPE_JSON = 'application/json';
const TARGET_OFFER_TYPE_HTML = 'text/html';

Expand Down Expand Up @@ -113,26 +112,14 @@ export default ({navigation}: any) => {
setImageProposition(propositions.get(decisionScopeImage.getName()));
setHtmlProposition(propositions.get(decisionScopeHtml.getName()));
setJsonProposition(propositions.get(decisionScopeJson.getName()));
setTargetProposition(
propositions.get(decisionScopeTargetMbox.getName()),
);
setTargetProposition(propositions.get(decisionScopeTargetMbox.getName()));
}
},
});

const renderTargetOffer = () => {
if (targetProposition?.items) {
if (targetProposition.items[0].format === TARGET_OFFER_TYPE_TEXT) {
return (
<Text
style={{margin: 10, fontSize: 18}}
onPress={() => {
targetProposition?.items[0].tapped(targetProposition);
}}>
{targetProposition.items[0].content}
</Text>
);
} else if (targetProposition.items[0].format === TARGET_OFFER_TYPE_JSON) {
if (targetProposition.items[0].format === TARGET_OFFER_TYPE_JSON) {
return (
<Text
style={{margin: 10, fontSize: 18}}
Expand Down
25 changes: 18 additions & 7 deletions apps/AEPSampleApp/ios/AEPSampleApp/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,31 @@ - (BOOL)application:(UIApplication *)application
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
[AEPMobileCore setLogLevel:AEPLogLevelTrace];
[AEPMobileCore
configureWithAppId:@"YOUR-APP-ID"];
const UIApplicationState appState = application.applicationState;
[AEPMobileCore
registerExtensions:@[
AEPMobileEdgeIdentity.class, AEPMobileEdge.class,
AEPMobileLifecycle.class, AEPMobileEdgeIdentity.class, AEPMobileEdge.class,
AEPMobileEdgeConsent.class, AEPMobileMessaging.class,
AEPMobileOptimize.class, AEPMobilePlaces.class, AEPMobileTarget.class,
AEPMobileCampaignClassic.class
]
completion:^{
[AEPMobileCore
configureWithAppId:@"YOUR-APP-ID"];
}];
AEPMobileCampaignClassic.class, AEPMobileAssurance.class
] completion:^{
if (appState != UIApplicationStateBackground) {
[AEPMobileCore lifecycleStart:nil];
}
}];
return YES;
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
[AEPMobileCore lifecyclePause];
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
[AEPMobileCore lifecycleStart:nil];
}

- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge {
#if DEBUG
return
Expand Down
2 changes: 0 additions & 2 deletions apps/AEPSampleApp/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ target 'AEPSampleApp' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

pod "AEPMessaging", :git => "https://github.com/adobe/aepsdk-messaging-ios.git", :branch => "staging"

target 'AEPSampleAppTests' do
inherit! :complete
# Pods for testing
Expand Down
Loading

0 comments on commit 6a766c2

Please sign in to comment.