-
Notifications
You must be signed in to change notification settings - Fork 38
Staging -> main for beta.1 release #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
137 commits
Select commit
Hold shift + click to select a range
9e36891
Add getExperienceCloudId API
cacheung bdaa54e
Update Readme
cacheung f019b4d
Some more Readme fix
cacheung 458ce85
Merge pull request #48 from cacheung/syncStaging
cacheung 85e6ce6
Update links in Readme
cacheung 55bb9c5
update peer dependency edgeidentity version in messaging wrapper
cacheung d5d75ee
update peerDependencies version
cacheung 20b1fdf
revert Messaging package.json
cacheung 3833c14
UserProfile (1.0.0-alpha.3) -> staging (#50) (#53)
yangyansong-adbe 010dd42
Update with review comments
cacheung 32ce266
Edge (1.0.0-alpha.2), Messaging (1.0.0-alpha.2) -> staging (#54)
yangyansong-adbe e438749
Update Edge Wrapper Readme
cacheung c93100d
update readme
cacheung 10643a1
Merge pull request #56 from cacheung/edgeReadme
cacheung c1e5d72
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung 596d224
Update Readme and revert code
cacheung 0155864
update package json for sample app
cacheung 37e8165
Merge pull request #49 from cacheung/edgeIdentity
cacheung b811484
Fix a typo in sample app
cacheung 7612455
Merge pull request #57 from cacheung/edgeIdentity
cacheung 2a13742
Add promise checking for error case
cacheung 284ce32
Remove the unused import statements (#60)
cacheung 2d6dcbe
EdgeIdentity (1.0.0-alpha.2) -> staging (#59)
yangyansong-adbe 7271b88
fix a typo in readme (#61)
cacheung a1547ef
Merge branch 'main' into staging
yangyansong-adbe e67c005
add a new API in Core - resetIdentities (#63) (#64)
yangyansong-adbe a09ae8e
Merge commit 'b58470acfaf35b5dc6abdabc413233d609de9a51' into staging
yangyansong-adbe 784c618
Update README.md
yangyansong-adbe f4001a5
add a FAQ section (#66)
yangyansong-adbe a282e07
add promise reject with error
cacheung 2117c97
Merge branch 'edgeIdentity' into edgeIds
cacheung 72735b2
Merge pull request #68 from cacheung/edgeIds
cacheung 80e46c5
Updated for callback error
cacheung 9f6c744
update to final for handleError parameter
cacheung 1b38b08
update with review feedback
cacheung 253b2cb
Merge pull request #58 from cacheung/promiseCheck
cacheung 9ce3c07
add import statements for RCTAEPEdgeIdentityModule.java
cacheung 7c4ad4d
Merge pull request #70 from cacheung/fixerror
cacheung 6b5ad9a
Consent package setup
emdobrin a74b9c8
update dependencies
emdobrin 4e105f3
Merge pull request #76 from emdobrin/edge
emdobrin 927170c
Reduce visibility for util classes, cleanup
emdobrin e7a5c3e
Merge pull request #77 from emdobrin/utils-update
emdobrin c41641a
Fix consent module
emdobrin c3ab473
Add consent to iOS sample app
emdobrin 3405b93
Renaming, update dependencies
emdobrin 771949a
Update gradle
emdobrin 875224c
Merge pull request #78 from emdobrin/consent
emdobrin 30ce6f7
Add Edge Identity API in JS and Java (#74)
cacheung a762178
Added APIs for Consent extension (#80)
emdobrin ea83cd9
Merge branch 'staging' into consent-br
emdobrin 53fe119
Merge pull request #83 from emdobrin/consent-br
emdobrin 21960e1
fix the release issue: NPM registry enforces a minimum of TLS 1.2 beg…
yangyansong-adbe e7c9269
EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81)
cacheung bf0813b
Add Edge Identity API in JS and Java (#74)
cacheung ac09b0a
EdgeIdentity - Updates on JS public APIs, unit testing, test app (#81)
cacheung 9845670
Merge pull request #88 from emdobrin/edgeidentity-apis
emdobrin 31066e1
Merge pull request #89 from adobe/edgeidentity-apis
emdobrin 9803b20
Edge - renaming, sample app and documentation updates (#87)
emdobrin 6f1135f
Consent - renaming public JS classes (#93)
emdobrin 7218bda
Update Readme for EdgeIdentity (#82)
cacheung 3ee2d0e
Edge Identity iOS implementation (#92)
cacheung 6ce7077
EdgeIdentity - renaming
emdobrin 1e71aab
EdgeIdentity - fix typo
emdobrin 19d6a0a
update readme
cacheung de3af42
Merge pull request #95 from cacheung/edgeReadme
emdobrin 6a1b536
EdgeIdentity - renaming in Readme
emdobrin ce1e59c
EdgeIdentity - more renaming
emdobrin 0dd0bd3
Merge pull request #94 from emdobrin/identity-rename
emdobrin e01891f
Consent - updated return promise
emdobrin eb8f1f8
Pods update
emdobrin bbdce3c
Merge pull request #97 from emdobrin/consent
emdobrin 4d33e15
Merge pull request #84 from adobe/consent
emdobrin 893bd3a
Merge branch 'staging' into edge
emdobrin 44ef077
Updated pods
emdobrin fe3c135
Merge pull request #99 from emdobrin/edge
emdobrin 0003360
Convert native identity map object to js identity map
cacheung ebb2018
Update identity.js for iterating identity item
cacheung f91ba69
Core - renaming public JS classes (#102)
yangyansong-adbe d103245
Add jest tests for getIdentities API
cacheung 423b449
remove an extra line of code
cacheung 4e9dc6c
Core - clean up the sample app (#107)
yangyansong-adbe 5c70ff7
Update getIdentity return promise
cacheung 7ebc9cf
Merge pull request #100 from cacheung/customClassPromise
cacheung f50a961
Changes for the Beta release. Includes changes in the file names and …
shtomar-adb 012ebdf
Updated the unit tests for Messaging.
shtomar-adb 87b483f
Merge the staging branch.
shtomar-adb 820e4a6
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung 4576ca2
Update Sample App
cacheung 55a2584
Merge branch 'staging' of github.com:adobe/aepsdk-react-native into e…
cacheung 6431162
update app.js and remove an extra file
cacheung 68dd6bd
UserProfile -> staging : rename JS classes (#108)
yangyansong-adbe a8d1ff5
Merge pull request #111 from cacheung/EdgeIdentityStaging
emdobrin 8405aa1
Merge pull request #110 from cacheung/edgeStaging
cacheung d5b9a7d
Fixed code review comments.
shtomar-adb af8b1ba
Merged the staging branch.
shtomar-adb 44f05f0
Removed merge conflicts.
shtomar-adb f1adeff
Updated the Readme.md
shtomar-adb ba97fbf
Updated Readme.
shtomar-adb 9963ebd
Add return promise custom type
cacheung 2800d6f
Remove Static for from Readme
cacheung 59910f2
remove styles in EdgeIdentityView
cacheung bc77f57
revert consent sample app style change
cacheung acc9e61
move text and breakline to styles
cacheung 49ffb34
remove static in Readme and update sample app style
cacheung 6a602cc
Merge pull request #115 from cacheung/EdgeIdentityStaging
emdobrin 6dd5ac4
Merge pull request #117 from cacheung/consent
emdobrin d094987
Update Edge.js for return catch error
cacheung 7e30e3a
check null for promise return custom class
cacheung 434d464
update with review feedback
cacheung 200b167
Merge pull request #114 from cacheung/edgeStaging
emdobrin a621c3d
Fix return type for ts
emdobrin 8028761
Merge pull request #119 from adobe/consent
emdobrin 3eb20c0
Merge pull request #109 from adobe/messaging
emdobrin 4d4fb16
Update syntax for sendEvent
emdobrin 53dd1af
Merge pull request #120 from emdobrin/edge
emdobrin 84436c5
Merge branch 'staging' into edge
emdobrin 48778d5
Merge pull request #121 from emdobrin/edge
emdobrin e54c705
enum support for AuthenticatedState in ts
cacheung c654d82
remove extra spaces
cacheung 4bbbe80
fixed typo
cacheung 1e58375
Merge pull request #98 from adobe/edge
emdobrin 77a673f
Merge pull request #122 from cacheung/EdgeIdentityStaging
cacheung b06ece5
merge from staging
cacheung 0bad1df
Core -> staging: add enum support in d.ts file (#124)
yangyansong-adbe f213b4a
Rename Items to IdentityMap
cacheung cf0fab0
Merge pull request #125 from cacheung/edgeStaging
emdobrin 29855d7
Merge pull request #116 from adobe/edgeIdentity
emdobrin 9ed4c4e
Update Readme with initializing information for Edge extensions
cacheung b5ece34
update Readme files with the review comments
cacheung cac2014
Update few Readme format
cacheung c41b962
Merge pull request #126 from cacheung/staging
emdobrin c1f1f45
update version alpha -> beta (#127)
yangyansong-adbe a33cc0e
Move from Assurance_publish branch to staging (#128)
PravinPK 634a936
Main README cleanup (#130)
yangyansong-adbe b94f7a3
REAME cleanup (#132)
yangyansong-adbe b2ae24c
Bug fix: correct error handling logic (#133)
yangyansong-adbe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| module.exports = { | ||
| presets: ['module:metro-react-native-babel-preset'], | ||
| presets: ['module:metro-react-native-babel-preset'] | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| /* | ||
| Copyright 2021 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 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software distributed under | ||
| the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
| OF ANY KIND, either express or implied. See the License for the specific language | ||
| governing permissions and limitations under the License. | ||
|
|
||
| @flow | ||
| @format | ||
| */ | ||
|
|
||
| import React, {useState, Component} from 'react'; | ||
| import {Button, StyleSheet, Text, View, ScrollView} from 'react-native'; | ||
| import {Consent} from '@adobe/react-native-aepedgeconsent'; | ||
| import {MobileCore} from '@adobe/react-native-aepcore'; | ||
| import styles from '../styles/styles'; | ||
|
|
||
| export default ConsentView = ({ navigation }) => { | ||
| const [version, setVersion] = useState(''); | ||
| const [consents, setConsents] = useState(''); | ||
| Consent.extensionVersion().then(version => setVersion(version)); | ||
|
|
||
| function getConsents() { | ||
| var consents = {"consents" : {"collect" : {"val": "n"}}}; | ||
| Consent.getConsents().then(currentConsents => { | ||
| let consentsStr = JSON.stringify(currentConsents); | ||
| setConsents(consentsStr); | ||
| console.log("AdobeExperienceSDK: Consent.getConsents returned current consent preferences: " + consentsStr); | ||
| }).catch((error) => { | ||
| console.warn("AdobeExperienceSDK: Consent.getConsents returned error: ", error); | ||
| }); | ||
| } | ||
|
|
||
| return ( | ||
| <View style={styles.container}> | ||
| <ScrollView contentContainerStyle={{ marginTop: 75 }}> | ||
| <Button onPress={() => navigation.goBack()} title="Go to main page" /> | ||
| <Text style={styles.welcome}>Consent v{version}</Text> | ||
| <Button title="Set Default Consent - Yes" onPress={() => setDefaultConsent(true)}/> | ||
| <Button title="Set Collect Consent - Yes" onPress={() => updateCollectConsent(true)}/> | ||
| <Button title="Set Collect Consent - No" onPress={() => updateCollectConsent(false)}/> | ||
| <Button title="Get Consents" onPress={getConsents}/> | ||
| <View style={styles.breakLine}/> | ||
| <Text style={styles.text}>{consents}</Text> | ||
| </ScrollView> | ||
| </View> | ||
| ) | ||
| } | ||
|
|
||
| function updateCollectConsent(allowed: boolean) { | ||
| var collectConsentStatus = allowed ? {"val": "y"} : {"val": "n"}; | ||
|
|
||
| var consents: {[keys: string]: any} = {"consents" : {"collect" : collectConsentStatus}}; | ||
| Consent.update(consents); | ||
| console.log("AdobeExperienceSDK: Consent.update called with: " + JSON.stringify(consents)); | ||
| } | ||
|
|
||
| function setDefaultConsent(allowed: boolean) { | ||
| var collectConsentStatus = allowed ? {"val": "y"} : {"val": "n"}; | ||
| var defaultConsents: {[keys: string]: any} = {"consent.default": {"consents" : {"collect" : collectConsentStatus}}}; | ||
| MobileCore.updateConfiguration(defaultConsents); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no content under FAQ, let remove it?