Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
9e36891
Add getExperienceCloudId API
cacheung Sep 21, 2021
bdaa54e
Update Readme
cacheung Sep 21, 2021
f019b4d
Some more Readme fix
cacheung Sep 21, 2021
458ce85
Merge pull request #48 from cacheung/syncStaging
cacheung Sep 21, 2021
85e6ce6
Update links in Readme
cacheung Sep 21, 2021
55bb9c5
update peer dependency edgeidentity version in messaging wrapper
cacheung Sep 21, 2021
d5d75ee
update peerDependencies version
cacheung Sep 21, 2021
20b1fdf
revert Messaging package.json
cacheung Sep 21, 2021
3833c14
UserProfile (1.0.0-alpha.3) -> staging (#50) (#53)
yangyansong-adbe Sep 22, 2021
010dd42
Update with review comments
cacheung Sep 22, 2021
32ce266
Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> staging (#54)
yangyansong-adbe Sep 22, 2021
e438749
Update Edge Wrapper Readme
cacheung Sep 22, 2021
c93100d
update readme
cacheung Sep 22, 2021
10643a1
Merge pull request #56 from cacheung/edgeReadme
cacheung Sep 22, 2021
c1e5d72
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung Sep 22, 2021
596d224
Update Readme and revert code
cacheung Sep 22, 2021
0155864
update package json for sample app
cacheung Sep 22, 2021
37e8165
Merge pull request #49 from cacheung/edgeIdentity
cacheung Sep 22, 2021
b811484
Fix a typo in sample app
cacheung Sep 22, 2021
7612455
Merge pull request #57 from cacheung/edgeIdentity
cacheung Sep 22, 2021
2a13742
Add promise checking for error case
cacheung Sep 22, 2021
284ce32
Remove the unused import statements (#60)
cacheung Sep 23, 2021
2d6dcbe
EdgeIdentity (1.0.0-alpha.2) -> staging (#59)
yangyansong-adbe Sep 23, 2021
7271b88
fix a typo in readme (#61)
cacheung Sep 23, 2021
a1547ef
Merge branch 'main' into staging
yangyansong-adbe Sep 23, 2021
e67c005
add a new API in Core - resetIdentities (#63) (#64)
yangyansong-adbe Oct 2, 2021
a09ae8e
Merge commit 'b58470acfaf35b5dc6abdabc413233d609de9a51' into staging
yangyansong-adbe Oct 2, 2021
784c618
Update README.md
yangyansong-adbe Oct 4, 2021
f4001a5
add a FAQ section (#66)
yangyansong-adbe Oct 8, 2021
a282e07
add promise reject with error
cacheung Oct 13, 2021
2117c97
Merge branch 'edgeIdentity' into edgeIds
cacheung Oct 13, 2021
72735b2
Merge pull request #68 from cacheung/edgeIds
cacheung Oct 13, 2021
80e46c5
Updated for callback error
cacheung Oct 14, 2021
9f6c744
update to final for handleError parameter
cacheung Oct 14, 2021
1b38b08
update with review feedback
cacheung Oct 15, 2021
253b2cb
Merge pull request #58 from cacheung/promiseCheck
cacheung Oct 15, 2021
9ce3c07
add import statements for RCTAEPEdgeIdentityModule.java
cacheung Oct 15, 2021
7c4ad4d
Merge pull request #70 from cacheung/fixerror
cacheung Oct 15, 2021
6b5ad9a
Consent package setup
emdobrin Nov 1, 2021
a74b9c8
update dependencies
emdobrin Nov 1, 2021
4e105f3
Merge pull request #76 from emdobrin/edge
emdobrin Nov 2, 2021
927170c
Reduce visibility for util classes, cleanup
emdobrin Oct 29, 2021
e7a5c3e
Merge pull request #77 from emdobrin/utils-update
emdobrin Nov 2, 2021
c41641a
Fix consent module
emdobrin Nov 2, 2021
c3ab473
Add consent to iOS sample app
emdobrin Nov 2, 2021
3405b93
Renaming, update dependencies
emdobrin Nov 3, 2021
771949a
Update gradle
emdobrin Nov 5, 2021
875224c
Merge pull request #78 from emdobrin/consent
emdobrin Nov 5, 2021
30ce6f7
Add Edge Identity API in JS and Java (#74)
cacheung Nov 10, 2021
a762178
Added APIs for Consent extension (#80)
emdobrin Nov 12, 2021
ea83cd9
Merge branch 'staging' into consent-br
emdobrin Nov 16, 2021
53fe119
Merge pull request #83 from emdobrin/consent-br
emdobrin Nov 16, 2021
21960e1
fix the release issue: NPM registry enforces a minimum of TLS 1.2 beg…
yangyansong-adbe Nov 16, 2021
e7c9269
EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81)
cacheung Nov 19, 2021
bf0813b
Add Edge Identity API in JS and Java (#74)
cacheung Nov 10, 2021
ac09b0a
EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81)
cacheung Nov 19, 2021
9845670
Merge pull request #88 from emdobrin/edgeidentity-apis
emdobrin Nov 19, 2021
31066e1
Merge pull request #89 from adobe/edgeidentity-apis
emdobrin Nov 19, 2021
9803b20
Edge - renaming, sample app and documentation updates (#87)
emdobrin Nov 22, 2021
6f1135f
Consent - renaming public JS classes (#93)
emdobrin Nov 23, 2021
7218bda
Update Readme for EdgeIdentity (#82)
cacheung Nov 24, 2021
3ee2d0e
Edge Identity iOS implementation (#92)
cacheung Nov 24, 2021
6ce7077
EdgeIdentity - renaming
emdobrin Nov 24, 2021
1e71aab
EdgeIdentity - fix typo
emdobrin Nov 24, 2021
19d6a0a
update readme
cacheung Nov 24, 2021
de3af42
Merge pull request #95 from cacheung/edgeReadme
emdobrin Nov 24, 2021
6a1b536
EdgeIdentity - renaming in Readme
emdobrin Nov 24, 2021
ce1e59c
EdgeIdentity - more renaming
emdobrin Nov 24, 2021
0dd0bd3
Merge pull request #94 from emdobrin/identity-rename
emdobrin Nov 24, 2021
e01891f
Consent - updated return promise
emdobrin Nov 25, 2021
eb8f1f8
Pods update
emdobrin Nov 25, 2021
bbdce3c
Merge pull request #97 from emdobrin/consent
emdobrin Nov 25, 2021
4d33e15
Merge pull request #84 from adobe/consent
emdobrin Nov 25, 2021
893bd3a
Merge branch 'staging' into edge
emdobrin Nov 25, 2021
44ef077
Updated pods
emdobrin Nov 25, 2021
fe3c135
Merge pull request #99 from emdobrin/edge
emdobrin Nov 25, 2021
0003360
Convert native identity map object to js identity map
cacheung Nov 26, 2021
ebb2018
Update identity.js for iterating identity item
cacheung Nov 30, 2021
f91ba69
Core - renaming public JS classes (#102)
yangyansong-adbe Nov 30, 2021
d103245
Add jest tests for getIdentities API
cacheung Dec 1, 2021
423b449
remove an extra line of code
cacheung Dec 1, 2021
4e9dc6c
Core - clean up the sample app (#107)
yangyansong-adbe Dec 1, 2021
5c70ff7
Update getIdentity return promise
cacheung Dec 1, 2021
7ebc9cf
Merge pull request #100 from cacheung/customClassPromise
cacheung Dec 1, 2021
f50a961
Changes for the Beta release. Includes changes in the file names and …
shtomar-adb Dec 2, 2021
012ebdf
Updated the unit tests for Messaging.
shtomar-adb Dec 2, 2021
87b483f
Merge the staging branch.
shtomar-adb Dec 2, 2021
820e4a6
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung Dec 2, 2021
4576ca2
Update Sample App
cacheung Dec 2, 2021
55a2584
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung Dec 2, 2021
6431162
update app.js and remove an extra file
cacheung Dec 2, 2021
68dd6bd
UserProfile -> staging : rename JS classes (#108)
yangyansong-adbe Dec 2, 2021
a8d1ff5
Merge pull request #111 from cacheung/EdgeIdentityStaging
emdobrin Dec 2, 2021
8405aa1
Merge pull request #110 from cacheung/edgeStaging
cacheung Dec 2, 2021
d5b9a7d
Fixed code review comments.
shtomar-adb Dec 2, 2021
af8b1ba
Merged the staging branch.
shtomar-adb Dec 2, 2021
44f05f0
Removed merge conflicts.
shtomar-adb Dec 2, 2021
f1adeff
Updated the Readme.md
shtomar-adb Dec 3, 2021
ba97fbf
Updated Readme.
shtomar-adb Dec 3, 2021
9963ebd
Add return promise custom type
cacheung Dec 3, 2021
2800d6f
Remove Static for from Readme
cacheung Dec 3, 2021
59910f2
remove styles in EdgeIdentityView
cacheung Dec 3, 2021
bc77f57
revert consent sample app style change
cacheung Dec 3, 2021
acc9e61
move text and breakline to styles
cacheung Dec 3, 2021
49ffb34
remove static in Readme and update sample app style
cacheung Dec 3, 2021
6a602cc
Merge pull request #115 from cacheung/EdgeIdentityStaging
emdobrin Dec 3, 2021
6dd5ac4
Merge pull request #117 from cacheung/consent
emdobrin Dec 3, 2021
d094987
Update Edge.js for return catch error
cacheung Dec 3, 2021
7e30e3a
check null for promise return custom class
cacheung Dec 4, 2021
434d464
update with review feedback
cacheung Dec 4, 2021
200b167
Merge pull request #114 from cacheung/edgeStaging
emdobrin Dec 4, 2021
a621c3d
Fix return type for ts
emdobrin Dec 4, 2021
8028761
Merge pull request #119 from adobe/consent
emdobrin Dec 4, 2021
3eb20c0
Merge pull request #109 from adobe/messaging
emdobrin Dec 4, 2021
4d4fb16
Update syntax for sendEvent
emdobrin Dec 4, 2021
53dd1af
Merge pull request #120 from emdobrin/edge
emdobrin Dec 4, 2021
84436c5
Merge branch 'staging' into edge
emdobrin Dec 4, 2021
48778d5
Merge pull request #121 from emdobrin/edge
emdobrin Dec 4, 2021
e54c705
enum support for AuthenticatedState in ts
cacheung Dec 5, 2021
c654d82
remove extra spaces
cacheung Dec 5, 2021
4bbbe80
fixed typo
cacheung Dec 5, 2021
1e58375
Merge pull request #98 from adobe/edge
emdobrin Dec 14, 2021
77a673f
Merge pull request #122 from cacheung/EdgeIdentityStaging
cacheung Dec 14, 2021
b06ece5
merge from staging
cacheung Dec 14, 2021
0bad1df
Core -> staging: add enum support in d.ts file (#124)
yangyansong-adbe Dec 14, 2021
f213b4a
Rename Items to IdentityMap
cacheung Dec 14, 2021
cf0fab0
Merge pull request #125 from cacheung/edgeStaging
emdobrin Dec 15, 2021
29855d7
Merge pull request #116 from adobe/edgeIdentity
emdobrin Dec 15, 2021
9ed4c4e
Update Readme with initializing information for Edge extensions
cacheung Dec 15, 2021
b5ece34
update Readme files with the review comments
cacheung Dec 15, 2021
cac2014
Update few Readme format
cacheung Dec 15, 2021
c41b962
Merge pull request #126 from cacheung/staging
emdobrin Dec 16, 2021
c1f1f45
update version alpha -> beta (#127)
yangyansong-adbe Dec 16, 2021
a33cc0e
Move from Assurance_publish branch to staging (#128)
PravinPK Dec 17, 2021
634a936
Main README cleanup (#130)
yangyansong-adbe Dec 17, 2021
b94f7a3
REAME cleanup (#132)
yangyansong-adbe Dec 17, 2021
b2ae24c
Bug fix: correct error handling logic (#133)
yangyansong-adbe Dec 20, 2021
b484de6
Remove Jcenter() repository from Gradle file (#134)
yangyansong-adbe Jan 21, 2022
8265232
Merge pull request #144 from cacheung/EdgeResponse
cacheung Feb 18, 2022
29c38d5
Add Arraylist support in WriteableArray
cacheung Feb 18, 2022
5d378ee
Add ArrayList check for more locations.
cacheung Feb 18, 2022
4090b71
Remove unused flow library definition files (#135)
yangyansong-adbe Feb 18, 2022
4550ae1
Change checking the instanceof List instead of the ArrayList
cacheung Feb 28, 2022
f7d0b58
Merge pull request #145 from cacheung/EdgeResponse
cacheung Feb 28, 2022
d4181fe
Merge pull request #147 from adobe/edge
cacheung Mar 1, 2022
237a47c
Add List Array check for Writeable Map in Utils files
cacheung Mar 3, 2022
023d4b8
convert data to WritableMap when passing it to javascript (#149)
yangyansong-adbe Mar 7, 2022
8c22421
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into List
cacheung Mar 7, 2022
4ba4660
Remove unused writeableMap for EdgeIdentity
cacheung Mar 8, 2022
2476bc5
Merge pull request #148 from cacheung/List
cacheung Mar 8, 2022
b4dcaf0
Edge Beta.2 release (#150)
cacheung Mar 11, 2022
4d9841e
Merge branch 'main' into staging
yangyansong-adbe Mar 11, 2022
7454ee2
Update README.md
yangyansong-adbe Mar 11, 2022
e054bfc
Update README.md
yangyansong-adbe Mar 11, 2022
f4a283d
feat: convert all packages to typescript (#146)
dsoffiantini Mar 21, 2022
26fe574
[userprofile] clean up userprofile package & update public docs with …
yangyansong-adbe Mar 22, 2022
f025a74
Clean up for Edge extension
cacheung Mar 24, 2022
6d887c3
Merge pull request #156 from cacheung/typescript
cacheung Mar 28, 2022
066abd8
[core] clean up core package & update public docs with typescript syn…
yangyansong-adbe Mar 29, 2022
56b89af
Clean up for EdgeIdentity and update readme.
cacheung Mar 30, 2022
815950c
Merge pull request #159 from cacheung/edgeId
cacheung Mar 30, 2022
c2baa57
[assurance] clean up assurance package & update public docs with type…
yangyansong-adbe Mar 30, 2022
a8c6b35
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung Mar 30, 2022
dc0c65c
remove babelrc file
cacheung Mar 30, 2022
08a2991
Merge pull request #161 from cacheung/edgeId
cacheung Mar 30, 2022
2c50ef2
Merge pull request #160 from adobe/edgeIdentity
cacheung Mar 30, 2022
1b85ea8
Clean up Consent package
cacheung Mar 30, 2022
b3737c6
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into c…
cacheung Mar 30, 2022
fff667c
Merge pull request #162 from cacheung/consent
cacheung Mar 31, 2022
bb4ad46
Merge pull request #163 from adobe/consent
cacheung Mar 31, 2022
832033b
Merge commit '93137af2e77c94d8f6241f4d34514ab381b88f88' into staging
yangyansong-adbe Mar 31, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 0 additions & 74 deletions .flowconfig

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
npm whoami
env: # More info about the environment variables in the README
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
- name: transpile
run: yarn build
- name: lerna publish
run: npx lerna publish from-package --yes
env: # More info about the environment variables in the README
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,6 @@ dist
build/
## User settings
xcuserdata/
packages/.DS_Store
packages/.DS_Store

js/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Adobe
Copyright 2022 Adobe

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ By using the Beta, you hereby acknowledge that the Beta is provided "as is" with
This repository is a monorepo. It contains a collection of Adobe Experience Platform Mobile SDK React Native modules listed below. These modules can be found in the [packages](./packages) directory.
| Package Name | Latest Version |
| ---- | ---- |
| [@adobe/react-native-aepcore (required)](./packages/core) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcore.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcore) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcore)](https://www.npmjs.com/package/@adobe/react-native-aepcore) |
| [@adobe/react-native-aepuserprofile](./packages/userprofile) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepuserprofile.svg)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepuserprofile)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile)
| [@adobe/react-native-aepedge](./packages/edge) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedge.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedge) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedge)](https://www.npmjs.com/package/@adobe/react-native-aepedge) |
| [@adobe/react-native-aepedgeidentity](./packages/edgeidentity) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeidentity.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeidentity)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) |
| [@adobe/react-native-aepedgeconsent](./packages/edgeconsent) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeconsent.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeconsent)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) |
| [@adobe/react-native-aepmessaging](./packages/messaging) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepmessaging.svg)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepmessaging)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) |
| [@adobe/react-native-aepassurance](./packages/assurance) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepassurance.svg)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepassurance)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) |
| [@adobe/react-native-aepcore (required)](./packages/core) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepcore.svg)](https://www.npmjs.com/package/@adobe/react-native-aepcore) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepcore)](https://www.npmjs.com/package/@adobe/react-native-aepcore) |
| [@adobe/react-native-aepuserprofile](./packages/userprofile) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepuserprofile.svg)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepuserprofile)](https://www.npmjs.com/package/@adobe/react-native-aepuserprofile)
| [@adobe/react-native-aepedge](./packages/edge) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedge.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedge) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedge)](https://www.npmjs.com/package/@adobe/react-native-aepedge) |
| [@adobe/react-native-aepedgeidentity](./packages/edgeidentity) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeidentity.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeidentity)](https://www.npmjs.com/package/@adobe/react-native-aepedgeidentity) |
| [@adobe/react-native-aepedgeconsent](./packages/edgeconsent) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepedgeconsent.svg)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepedgeconsent)](https://www.npmjs.com/package/@adobe/react-native-aepedgeconsent) |
| [@adobe/react-native-aepmessaging](./packages/messaging) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepmessaging.svg)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepmessaging)](https://www.npmjs.com/package/@adobe/react-native-aepmessaging) |
| [@adobe/react-native-aepassurance](./packages/assurance) | [![npm version](https://badge.fury.io/js/%40adobe%2Freact-native-aepassurance.svg)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) [![npm downloads](https://img.shields.io/npm/dm/@adobe/react-native-aepassurance)](https://www.npmjs.com/package/@adobe/react-native-aepassurance) |

`@adobe/react-native-aep{extension}` is a wrapper around the iOS and Android [AEP SDK](https://aep-sdks.gitbook.io/docs/) to allow for integration with React Native applications.

> Note: @adobe/react-native-aepassurance <=2.0 is not compatible with @adobe/react-native-aepcore. Please use @adobe/react-native-aepassurance [3.x alpha versions or above](./packages/assurance#install-npm-package)
> Note: @adobe/react-native-aepassurance <=2.0 is not compatible with @adobe/react-native-aepcore. Please use @adobe/react-native-aepassurance [3.x alpha versions or above](./packages/assurance#install-npm-package)

## Requirements

Expand All @@ -34,7 +34,7 @@ This repository is a monorepo. It contains a collection of Adobe Experience Plat

You need to install the SDK with [npm](https://www.npmjs.com/) and configure the native Android/iOS project in your React Native project.

> Note: If you are new to React Native, we suggest you follow the [React Native Getting Started](<https://reactnative.dev>) page before continuing.
> Note: If you are new to React Native, we suggest you follow the [React Native Getting Started](https://reactnative.dev) page before continuing.

### Install npm package

Expand All @@ -61,6 +61,7 @@ To update native dependencies to latest available versions, run the following co
Initializing the SDK should be done in native code inside your `AppDelegate` (iOS) and `MainApplication` (Android). The following code snippets demonstrate how to import and register the Mobile Core, Identity, Lifecycle, Signal, and Profile extensions. For other extensions, the documentation on how to initialize the extension can be found in `./packages/{extension}/README.md`

###### **iOS**

```objective-c
@import AEPCore;
@import AEPServices;
Expand Down Expand Up @@ -101,10 +102,11 @@ Initializing the SDK should be done in native code inside your `AppDelegate` (iO
```

> Note : While running iOS application after AEPSDK installation. If you have build error that states:
> "ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'"
> "ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'"
> This is because AEPSDK now requires the app uses swift interfaces. Add a dummy .swift file to your project to embed the swift standard libs. See the SampleApp presented in this repo for example.

###### **Android:**

```java
import com.adobe.marketing.mobile.AdobeCallback;
import com.adobe.marketing.mobile.InvalidInitException;
Expand Down Expand Up @@ -149,17 +151,17 @@ public class MainApplication extends Application implements ReactApplication {
...
}
}
}
}
```


## Development

See [development.md](./docs/development.md) for development docs.


## Contributing

See [CONTRIBUTING](CONTRIBUTING.md)

## License

See [LICENSE](LICENSE)
12 changes: 12 additions & 0 deletions apps/AEPSampleApp/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
module.exports = {
root: true,
extends: '@react-native-community',
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/no-shadow': ['error'],
'no-shadow': 'off',
'no-undef': 'off',
},
},
],
};
66 changes: 0 additions & 66 deletions apps/AEPSampleApp/.flowconfig

This file was deleted.

7 changes: 4 additions & 3 deletions apps/AEPSampleApp/App.js → apps/AEPSampleApp/App.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import * as React from 'react';
import { Button, View, Text } from 'react-native';
import { Button, View } from 'react-native';
import { createDrawerNavigator } from '@react-navigation/drawer';
import { NavigationContainer } from '@react-navigation/native';
import ProfileView from './extensions/ProfileView';
import MessagingView from './extensions/MessagingView';
import CoreView from './extensions/CoreView';
import IdentityView from './extensions/IdentityView';
import EdgeIdentity from './extensions/EdgeIdentityView';
import ConsentView from './extensions/ConsentView';
import EdgeView from './extensions/EdgeView';
import AssuranceView from './extensions/AssuranceView';
import EdgeIdentityView from './extensions/EdgeIdentityView';
import { NavigationProps } from './types/props';

function HomeScreen({ navigation }) {
function HomeScreen({ navigation }: NavigationProps) {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Button
Expand Down
13 changes: 0 additions & 13 deletions apps/AEPSampleApp/android/app/src/debug/AndroidManifest.xml

This file was deleted.

44 changes: 27 additions & 17 deletions apps/AEPSampleApp/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.aepsampleapp">
package="com.aepsampleapp">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name=".MainApplication"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

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

<data android:scheme="assurance" />
</intent-filter>
</activity>
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Adobe. All rights reserved.
Copyright 2022 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Adobe. All rights reserved.
Copyright 2022 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Expand Down
Loading