From c552d1fc0ccd6c43b280a636e438a77e00e0d658 Mon Sep 17 00:00:00 2001 From: Yansong Date: Fri, 1 Oct 2021 16:21:18 -0500 Subject: [PATCH 1/2] add a new API in Core -? resetIdentities --- apps/AEPSampleApp/extensions/Core.js | 70 +- apps/AEPSampleApp/ios/Podfile.lock | 26 +- packages/core/__tests__/AEPCoreTests.ts | 6 + .../mobile/reactnative/RCTAEPCoreModule.java | 5 + packages/core/ios/src/Core/RCTAEPCore.m | 5 + packages/core/js/AEPCore.js | 79 +- packages/core/js/index.d.ts | 1 + tests/jest/setup.ts | 3 +- yarn.lock | 1811 +++++++++-------- 9 files changed, 1036 insertions(+), 970 deletions(-) diff --git a/apps/AEPSampleApp/extensions/Core.js b/apps/AEPSampleApp/extensions/Core.js index fc33ac46..70e60316 100644 --- a/apps/AEPSampleApp/extensions/Core.js +++ b/apps/AEPSampleApp/extensions/Core.js @@ -14,64 +14,65 @@ governing permissions and limitations under the License. */ import React from 'react'; -import {Button, Text, View, ScrollView, NativeModules} from 'react-native'; -import {AEPCore, AEPLifecycle, AEPSignal, AEPMobileLogLevel, AEPMobilePrivacyStatus, AEPMobileVisitorAuthenticationState, AEPVisitorID, AEPExtensionEvent} from '@adobe/react-native-aepcore'; +import { Button, Text, View, ScrollView, NativeModules } from 'react-native'; +import { AEPCore, AEPLifecycle, AEPSignal, AEPMobileLogLevel, AEPMobilePrivacyStatus, AEPMobileVisitorAuthenticationState, AEPVisitorID, AEPExtensionEvent } from '@adobe/react-native-aepcore'; import styles from '../styles/styles'; export default Core = ({ navigation }) => { return ( - +