diff --git a/apps/AEPSampleApp/extensions/PlacesView.tsx b/apps/AEPSampleApp/extensions/PlacesView.tsx
index ce8a22b4..a715a58d 100644
--- a/apps/AEPSampleApp/extensions/PlacesView.tsx
+++ b/apps/AEPSampleApp/extensions/PlacesView.tsx
@@ -78,6 +78,12 @@ const setAuthorizationStatus = () => {
console.log('Authorization status set');
};
+const setAccuracyAuthorization = () => {
+ Places.setAccuracyAuthorization('fullAccuracy');
+ console.log('Accuracy authorization set');
+};
+
+
const PlacesView = ({navigation: {goBack}}: NavigationProps) => {
return (
@@ -99,6 +105,10 @@ const PlacesView = ({navigation: {goBack}}: NavigationProps) => {
title="setAuthorizationStatus()"
onPress={setAuthorizationStatus}
/>
+
diff --git a/apps/AEPSampleApp/ios/Podfile b/apps/AEPSampleApp/ios/Podfile
index 94e64e1a..c73c9958 100644
--- a/apps/AEPSampleApp/ios/Podfile
+++ b/apps/AEPSampleApp/ios/Podfile
@@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
-platform :ios, '11.0'
+platform :ios, '14.0'
install! 'cocoapods', :deterministic_uuids => false
target 'AEPSampleApp' do
diff --git a/apps/AEPSampleApp/ios/Podfile.lock b/apps/AEPSampleApp/ios/Podfile.lock
index ad110511..78d79233 100644
--- a/apps/AEPSampleApp/ios/Podfile.lock
+++ b/apps/AEPSampleApp/ios/Podfile.lock
@@ -5,10 +5,10 @@ PODS:
- AEPCampaignClassic (3.0.0):
- AEPCore (>= 3.7.0)
- AEPServices (>= 3.7.0)
- - AEPCore (3.7.1):
+ - AEPCore (3.7.2):
- AEPRulesEngine (>= 1.1.0)
- - AEPServices (>= 3.7.1)
- - AEPEdge (1.4.1):
+ - AEPServices (>= 3.7.2)
+ - AEPEdge (1.5.0):
- AEPCore (>= 3.5.0)
- AEPEdgeIdentity
- AEPEdgeConsent (1.0.1):
@@ -28,33 +28,33 @@ PODS:
- AEPOptimize (1.0.0):
- AEPCore (>= 3.2.0)
- AEPEdge (>= 1.2.0)
- - AEPPlaces (3.0.1):
+ - AEPPlaces (3.0.2):
- AEPCore
- AEPServices
- AEPRulesEngine (1.2.0)
- - AEPServices (3.7.1)
+ - AEPServices (3.7.2)
- AEPSignal (3.7.1):
- AEPCore (>= 3.7.1)
- - AEPTarget (3.2.0):
+ - AEPTarget (3.3.0):
- AEPCore (>= 3.1.0)
- AEPUserProfile (3.0.1):
- AEPCore
- boost (1.76.0)
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
- - FBLazyVector (0.68.2)
- - FBReactNativeSpec (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTRequired (= 0.68.2)
- - RCTTypeSafety (= 0.68.2)
- - React-Core (= 0.68.2)
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
+ - FBLazyVector (0.70.4)
+ - FBReactNativeSpec (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTRequired (= 0.70.4)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Core (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
- Flipper (0.125.0):
- Flipper-Folly (~> 2.6)
- Flipper-RSocket (~> 1.4)
- Flipper-Boost-iOSX (1.76.0.1.11)
- - Flipper-DoubleConversion (3.2.0)
+ - Flipper-DoubleConversion (3.2.0.1)
- Flipper-Fmt (7.1.7)
- Flipper-Folly (2.6.10):
- Flipper-Boost-iOSX
@@ -63,7 +63,7 @@ PODS:
- Flipper-Glog
- libevent (~> 2.1.12)
- OpenSSL-Universal (= 1.1.1100)
- - Flipper-Glog (0.5.0.4)
+ - Flipper-Glog (0.5.0.5)
- Flipper-PeerTalk (0.0.4)
- Flipper-RSocket (1.4.3):
- Flipper-Folly (~> 2.6)
@@ -113,19 +113,26 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
+ - hermes-engine (0.70.4)
- libevent (2.1.12)
- OpenSSL-Universal (1.1.1100)
- - RCT-Folly (2021.06.28.00-v2):
+ - RCT-Folly (2021.07.22.00):
- boost
- DoubleConversion
- fmt (~> 6.2.1)
- glog
- - RCT-Folly/Default (= 2021.06.28.00-v2)
- - RCT-Folly/Default (2021.06.28.00-v2):
+ - RCT-Folly/Default (= 2021.07.22.00)
+ - RCT-Folly/Default (2021.07.22.00):
- boost
- DoubleConversion
- fmt (~> 6.2.1)
- glog
+ - RCT-Folly/Futures (2021.07.22.00):
+ - boost
+ - DoubleConversion
+ - fmt (~> 6.2.1)
+ - glog
+ - libevent
- RCTAEPAssurance (3.0.0):
- AEPAssurance (~> 3.0)
- React
@@ -153,7 +160,7 @@ PODS:
- RCTAEPOptimize (1.0.0):
- AEPOptimize (~> 1.0)
- React
- - RCTAEPPlaces (1.0.0):
+ - RCTAEPPlaces (1.0.1):
- AEPPlaces (~> 3.0)
- React
- RCTAEPTarget (1.0.0):
@@ -162,271 +169,285 @@ PODS:
- RCTAEPUserProfile (1.0.0):
- AEPUserProfile (~> 3.0)
- React
- - RCTRequired (0.68.2)
- - RCTTypeSafety (0.68.2):
- - FBLazyVector (= 0.68.2)
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTRequired (= 0.68.2)
- - React-Core (= 0.68.2)
- - React (0.68.2):
- - React-Core (= 0.68.2)
- - React-Core/DevSupport (= 0.68.2)
- - React-Core/RCTWebSocket (= 0.68.2)
- - React-RCTActionSheet (= 0.68.2)
- - React-RCTAnimation (= 0.68.2)
- - React-RCTBlob (= 0.68.2)
- - React-RCTImage (= 0.68.2)
- - React-RCTLinking (= 0.68.2)
- - React-RCTNetwork (= 0.68.2)
- - React-RCTSettings (= 0.68.2)
- - React-RCTText (= 0.68.2)
- - React-RCTVibration (= 0.68.2)
- - React-callinvoker (0.68.2)
- - React-Codegen (0.68.2):
- - FBReactNativeSpec (= 0.68.2)
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTRequired (= 0.68.2)
- - RCTTypeSafety (= 0.68.2)
- - React-Core (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-Core (0.68.2):
+ - RCTRequired (0.70.4)
+ - RCTTypeSafety (0.70.4):
+ - FBLazyVector (= 0.70.4)
+ - RCTRequired (= 0.70.4)
+ - React-Core (= 0.70.4)
+ - React (0.70.4):
+ - React-Core (= 0.70.4)
+ - React-Core/DevSupport (= 0.70.4)
+ - React-Core/RCTWebSocket (= 0.70.4)
+ - React-RCTActionSheet (= 0.70.4)
+ - React-RCTAnimation (= 0.70.4)
+ - React-RCTBlob (= 0.70.4)
+ - React-RCTImage (= 0.70.4)
+ - React-RCTLinking (= 0.70.4)
+ - React-RCTNetwork (= 0.70.4)
+ - React-RCTSettings (= 0.70.4)
+ - React-RCTText (= 0.70.4)
+ - React-RCTVibration (= 0.70.4)
+ - React-bridging (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-jsi (= 0.70.4)
+ - React-callinvoker (0.70.4)
+ - React-Codegen (0.70.4):
+ - FBReactNativeSpec (= 0.70.4)
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTRequired (= 0.70.4)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Core (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-Core (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-Core/Default (= 0.68.2)
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - RCT-Folly (= 2021.07.22.00)
+ - React-Core/Default (= 0.70.4)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/CoreModulesHeaders (0.68.2):
+ - React-Core/CoreModulesHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/Default (0.68.2):
+ - React-Core/Default (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - RCT-Folly (= 2021.07.22.00)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/DevSupport (0.68.2):
+ - React-Core/DevSupport (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-Core/Default (= 0.68.2)
- - React-Core/RCTWebSocket (= 0.68.2)
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-jsinspector (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - RCT-Folly (= 2021.07.22.00)
+ - React-Core/Default (= 0.70.4)
+ - React-Core/RCTWebSocket (= 0.70.4)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-jsinspector (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTActionSheetHeaders (0.68.2):
+ - React-Core/RCTActionSheetHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTAnimationHeaders (0.68.2):
+ - React-Core/RCTAnimationHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTBlobHeaders (0.68.2):
+ - React-Core/RCTBlobHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTImageHeaders (0.68.2):
+ - React-Core/RCTImageHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTLinkingHeaders (0.68.2):
+ - React-Core/RCTLinkingHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTNetworkHeaders (0.68.2):
+ - React-Core/RCTNetworkHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTSettingsHeaders (0.68.2):
+ - React-Core/RCTSettingsHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTTextHeaders (0.68.2):
+ - React-Core/RCTTextHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTVibrationHeaders (0.68.2):
+ - React-Core/RCTVibrationHeaders (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
+ - RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-Core/RCTWebSocket (0.68.2):
+ - React-Core/RCTWebSocket (0.70.4):
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-Core/Default (= 0.68.2)
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsiexecutor (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - RCT-Folly (= 2021.07.22.00)
+ - React-Core/Default (= 0.70.4)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- Yoga
- - React-CoreModules (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTTypeSafety (= 0.68.2)
- - React-Codegen (= 0.68.2)
- - React-Core/CoreModulesHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-RCTImage (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-cxxreact (0.68.2):
+ - React-CoreModules (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Codegen (= 0.70.4)
+ - React-Core/CoreModulesHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-RCTImage (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-cxxreact (0.70.4):
- boost (= 1.76.0)
- DoubleConversion
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-callinvoker (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-jsinspector (= 0.68.2)
- - React-logger (= 0.68.2)
- - React-perflogger (= 0.68.2)
- - React-runtimeexecutor (= 0.68.2)
- - React-jsi (0.68.2):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-callinvoker (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsinspector (= 0.70.4)
+ - React-logger (= 0.70.4)
+ - React-perflogger (= 0.70.4)
+ - React-runtimeexecutor (= 0.70.4)
+ - React-hermes (0.70.4):
+ - DoubleConversion
+ - glog
+ - hermes-engine
+ - RCT-Folly (= 2021.07.22.00)
+ - RCT-Folly/Futures (= 2021.07.22.00)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-jsiexecutor (= 0.70.4)
+ - React-jsinspector (= 0.70.4)
+ - React-perflogger (= 0.70.4)
+ - React-jsi (0.70.4):
- boost (= 1.76.0)
- DoubleConversion
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-jsi/Default (= 0.68.2)
- - React-jsi/Default (0.68.2):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-jsi/Default (= 0.70.4)
+ - React-jsi/Default (0.70.4):
- boost (= 1.76.0)
- DoubleConversion
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-jsiexecutor (0.68.2):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-jsiexecutor (0.70.4):
- DoubleConversion
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-perflogger (= 0.68.2)
- - React-jsinspector (0.68.2)
- - React-logger (0.68.2):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-perflogger (= 0.70.4)
+ - React-jsinspector (0.70.4)
+ - React-logger (0.70.4):
- glog
- react-native-safe-area-context (3.4.1):
- React-Core
- react-native-webview (11.22.4):
- React-Core
- - React-perflogger (0.68.2)
- - React-RCTActionSheet (0.68.2):
- - React-Core/RCTActionSheetHeaders (= 0.68.2)
- - React-RCTAnimation (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTTypeSafety (= 0.68.2)
- - React-Codegen (= 0.68.2)
- - React-Core/RCTAnimationHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-RCTBlob (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-Codegen (= 0.68.2)
- - React-Core/RCTBlobHeaders (= 0.68.2)
- - React-Core/RCTWebSocket (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-RCTNetwork (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-RCTImage (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTTypeSafety (= 0.68.2)
- - React-Codegen (= 0.68.2)
- - React-Core/RCTImageHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-RCTNetwork (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-RCTLinking (0.68.2):
- - React-Codegen (= 0.68.2)
- - React-Core/RCTLinkingHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-RCTNetwork (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTTypeSafety (= 0.68.2)
- - React-Codegen (= 0.68.2)
- - React-Core/RCTNetworkHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-RCTSettings (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - RCTTypeSafety (= 0.68.2)
- - React-Codegen (= 0.68.2)
- - React-Core/RCTSettingsHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-RCTText (0.68.2):
- - React-Core/RCTTextHeaders (= 0.68.2)
- - React-RCTVibration (0.68.2):
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-Codegen (= 0.68.2)
- - React-Core/RCTVibrationHeaders (= 0.68.2)
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (= 0.68.2)
- - React-runtimeexecutor (0.68.2):
- - React-jsi (= 0.68.2)
- - ReactCommon/turbomodule/core (0.68.2):
+ - React-perflogger (0.70.4)
+ - React-RCTActionSheet (0.70.4):
+ - React-Core/RCTActionSheetHeaders (= 0.70.4)
+ - React-RCTAnimation (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTAnimationHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-RCTBlob (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTBlobHeaders (= 0.70.4)
+ - React-Core/RCTWebSocket (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-RCTNetwork (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-RCTImage (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTImageHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-RCTNetwork (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-RCTLinking (0.70.4):
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTLinkingHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-RCTNetwork (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTNetworkHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-RCTSettings (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - RCTTypeSafety (= 0.70.4)
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTSettingsHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-RCTText (0.70.4):
+ - React-Core/RCTTextHeaders (= 0.70.4)
+ - React-RCTVibration (0.70.4):
+ - RCT-Folly (= 2021.07.22.00)
+ - React-Codegen (= 0.70.4)
+ - React-Core/RCTVibrationHeaders (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (= 0.70.4)
+ - React-runtimeexecutor (0.70.4):
+ - React-jsi (= 0.70.4)
+ - ReactCommon/turbomodule/core (0.70.4):
- DoubleConversion
- glog
- - RCT-Folly (= 2021.06.28.00-v2)
- - React-callinvoker (= 0.68.2)
- - React-Core (= 0.68.2)
- - React-cxxreact (= 0.68.2)
- - React-jsi (= 0.68.2)
- - React-logger (= 0.68.2)
- - React-perflogger (= 0.68.2)
+ - RCT-Folly (= 2021.07.22.00)
+ - React-bridging (= 0.70.4)
+ - React-callinvoker (= 0.70.4)
+ - React-Core (= 0.70.4)
+ - React-cxxreact (= 0.70.4)
+ - React-jsi (= 0.70.4)
+ - React-logger (= 0.70.4)
+ - React-perflogger (= 0.70.4)
- RNCMaskedView (0.1.11):
- React
- RNGestureHandler (2.5.0):
@@ -476,10 +497,10 @@ DEPENDENCIES:
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
- Flipper (= 0.125.0)
- Flipper-Boost-iOSX (= 1.76.0.1.11)
- - Flipper-DoubleConversion (= 3.2.0)
+ - Flipper-DoubleConversion (= 3.2.0.1)
- Flipper-Fmt (= 7.1.7)
- Flipper-Folly (= 2.6.10)
- - Flipper-Glog (= 0.5.0.4)
+ - Flipper-Glog (= 0.5.0.5)
- Flipper-PeerTalk (= 0.0.4)
- Flipper-RSocket (= 1.4.3)
- FlipperKit (= 0.125.0)
@@ -496,29 +517,32 @@ DEPENDENCIES:
- FlipperKit/FlipperKitUserDefaultsPlugin (= 0.125.0)
- FlipperKit/SKIOSNetworkPlugin (= 0.125.0)
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
+ - hermes-engine (from `../node_modules/react-native/sdks/hermes/hermes-engine.podspec`)
+ - libevent (~> 2.1.12)
- OpenSSL-Universal (= 1.1.1100)
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
- - RCTAEPAssurance (from `../../../packages/assurance`)
- - RCTAEPCampaignClassic (from `../../../packages/campaignclassic`)
- - RCTAEPCore (from `../../../packages/core`)
- - RCTAEPEdge (from `../../../packages/edge`)
- - RCTAEPEdgeConsent (from `../../../packages/edgeconsent`)
- - RCTAEPEdgeIdentity (from `../../../packages/edgeidentity`)
- - RCTAEPMessaging (from `../../../packages/messaging`)
- - RCTAEPOptimize (from `../../../packages/optimize`)
- - RCTAEPPlaces (from `../../../packages/places`)
- - RCTAEPTarget (from `../../../packages/target`)
- - RCTAEPUserProfile (from `../../../packages/userprofile`)
+ - "RCTAEPAssurance (from `../node_modules/@adobe/react-native-aepassurance`)"
+ - "RCTAEPCampaignClassic (from `../node_modules/@adobe/react-native-aepcampaignclassic`)"
+ - "RCTAEPCore (from `../node_modules/@adobe/react-native-aepcore`)"
+ - "RCTAEPEdge (from `../node_modules/@adobe/react-native-aepedge`)"
+ - "RCTAEPEdgeConsent (from `../node_modules/@adobe/react-native-aepedgeconsent`)"
+ - "RCTAEPEdgeIdentity (from `../node_modules/@adobe/react-native-aepedgeidentity`)"
+ - "RCTAEPMessaging (from `../node_modules/@adobe/react-native-aepmessaging`)"
+ - "RCTAEPOptimize (from `../node_modules/@adobe/react-native-aepoptimize`)"
+ - "RCTAEPPlaces (from `../node_modules/@adobe/react-native-aepplaces`)"
+ - "RCTAEPTarget (from `../node_modules/@adobe/react-native-aeptarget`)"
+ - "RCTAEPUserProfile (from `../node_modules/@adobe/react-native-aepuserprofile`)"
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
- React (from `../node_modules/react-native/`)
+ - React-bridging (from `../node_modules/react-native/ReactCommon`)
- React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
- React-Codegen (from `build/generated/ios`)
- React-Core (from `../node_modules/react-native/`)
- - React-Core/DevSupport (from `../node_modules/react-native/`)
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
- React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
+ - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`)
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
@@ -590,36 +614,40 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/React/FBReactNativeSpec"
glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
+ hermes-engine:
+ :podspec: "../node_modules/react-native/sdks/hermes/hermes-engine.podspec"
RCT-Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
RCTAEPAssurance:
- :path: "../../../packages/assurance"
+ :path: "../node_modules/@adobe/react-native-aepassurance"
RCTAEPCampaignClassic:
- :path: "../../../packages/campaignclassic"
+ :path: "../node_modules/@adobe/react-native-aepcampaignclassic"
RCTAEPCore:
- :path: "../../../packages/core"
+ :path: "../node_modules/@adobe/react-native-aepcore"
RCTAEPEdge:
- :path: "../../../packages/edge"
+ :path: "../node_modules/@adobe/react-native-aepedge"
RCTAEPEdgeConsent:
- :path: "../../../packages/edgeconsent"
+ :path: "../node_modules/@adobe/react-native-aepedgeconsent"
RCTAEPEdgeIdentity:
- :path: "../../../packages/edgeidentity"
+ :path: "../node_modules/@adobe/react-native-aepedgeidentity"
RCTAEPMessaging:
- :path: "../../../packages/messaging"
+ :path: "../node_modules/@adobe/react-native-aepmessaging"
RCTAEPOptimize:
- :path: "../../../packages/optimize"
+ :path: "../node_modules/@adobe/react-native-aepoptimize"
RCTAEPPlaces:
- :path: "../../../packages/places"
+ :path: "../node_modules/@adobe/react-native-aepplaces"
RCTAEPTarget:
- :path: "../../../packages/target"
+ :path: "../node_modules/@adobe/react-native-aeptarget"
RCTAEPUserProfile:
- :path: "../../../packages/userprofile"
+ :path: "../node_modules/@adobe/react-native-aepuserprofile"
RCTRequired:
:path: "../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety:
:path: "../node_modules/react-native/Libraries/TypeSafety"
React:
:path: "../node_modules/react-native/"
+ React-bridging:
+ :path: "../node_modules/react-native/ReactCommon"
React-callinvoker:
:path: "../node_modules/react-native/ReactCommon/callinvoker"
React-Codegen:
@@ -630,6 +658,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/React/CoreModules"
React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact"
+ React-hermes:
+ :path: "../node_modules/react-native/ReactCommon/hermes"
React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
@@ -679,45 +709,46 @@ EXTERNAL SOURCES:
CHECKOUT OPTIONS:
AEPMessaging:
- :commit: 7cfc4a2403b5c824f2902ed5b6395cecc446d583
+ :commit: 5da195462a696392a05296d3df55241a7bba92c2
:git: https://github.com/adobe/aepsdk-messaging-ios.git
SPEC CHECKSUMS:
AEPAssurance: b25880cd4b14f22c61a1dce19807bd0ca0fe9b17
AEPCampaignClassic: cd20252606d9e12d5ee2c410df260762faa49d2c
- AEPCore: 412fe933382892ab6c6af958d2f69ebcbca11216
- AEPEdge: 6faf60328f9e5ae7a107fd61f9a968f46ebf2928
+ AEPCore: b606a373e01673d3d9ee244d95010cd75f26d50d
+ AEPEdge: 924cd8ace3db40b9c42bc2bc5e8fb1fcad3a9b77
AEPEdgeConsent: a23b35ab331d2aa2013fcef49c9d6b80085d5597
AEPEdgeIdentity: 47f0c6ecbec5857b2a8cb9b7bf717c2424c6bae0
AEPIdentity: 7cd5a51d8012aeaeee769e99597db016ad68b0d1
AEPLifecycle: 94c36a54f7e5466c5274bc822c53eaa410b74888
AEPMessaging: 31635f7570be215f1bd2781f0e67a7a3a49952aa
AEPOptimize: 413690f88cb8ae574153a94081331788ca740a91
- AEPPlaces: 04294020832c78249732c80aec86928114698cbf
+ AEPPlaces: f52c80817845429fca4321fc64326bd45ad9e495
AEPRulesEngine: 71228dfdac24c9ded09be13e3257a7eb22468ccc
- AEPServices: 7284c30359c789cd16bf366b4ea81094a66d21ab
+ AEPServices: 243909789b9961d07ebe92ec8350e2d5954d5be7
AEPSignal: c9b3c239120190fae8e8479d584d54b60af37d99
- AEPTarget: 7aa8a2c8e4a2fd36862911581b420380709e5578
+ AEPTarget: dcadd4dabd59976ff9067cead194c2d29576ffd9
AEPUserProfile: 2ddb5ba8e2c22dd8f942992306b050f4be2c2403
boost: a7c83b31436843459a1961bfd74b96033dc77234
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
- DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
- FBLazyVector: a7a655862f6b09625d11c772296b01cd5164b648
- FBReactNativeSpec: 81ce99032d5b586fddd6a38d450f8595f7e04be4
+ DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
+ FBLazyVector: 8a28262f61fbe40c04ce8677b8d835d97c18f1b3
+ FBReactNativeSpec: b475991eb2d8da6a4ec32d09a8df31b0247fa87d
Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0
Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
- Flipper-DoubleConversion: 3d3d04a078d4f3a1b6c6916587f159dc11f232c4
+ Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b
Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3
- Flipper-Glog: 87bc98ff48de90cb5b0b5114ed3da79d85ee2dd4
+ Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541
FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
- glog: 476ee3e89abb49e07f822b48323c51c57124b572
+ glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
+ hermes-engine: 3623325e0d0676a45fbc544d72c57dd79fce7446
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
- RCT-Folly: 4d8508a426467c48885f1151029bc15fa5d7b3b8
+ RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCTAEPAssurance: 9f51b9b5da17f9b98a41ce29e4f3e3b67ea36c17
RCTAEPCampaignClassic: 4a4fa594992153438e9f838d50ad97bb734d8fd9
RCTAEPCore: 513c7e995cafcaf536653f0dfaaba2b92862b93a
@@ -726,43 +757,45 @@ SPEC CHECKSUMS:
RCTAEPEdgeIdentity: 1b18a3ff1947f8f4896d5f40083d31a6971e4bbc
RCTAEPMessaging: db5eac36357eef99c482687f76ebe4ad4c491879
RCTAEPOptimize: 634c655a49f57aaf9e9f41b03be4d69ba0df1e9b
- RCTAEPPlaces: d666c74a21b7fa2edb3740677b16440b99a9bf8e
+ RCTAEPPlaces: 45f17b446ff7abb6d8f7efa3f1025c9d9dfe1d31
RCTAEPTarget: 84b56042d100452714ef6b7c816808a51ff901b8
RCTAEPUserProfile: 341c77e0d18d69872c81e425a2e9cae37fe82045
- RCTRequired: 3e917ea5377751094f38145fdece525aa90545a0
- RCTTypeSafety: c43c072a4bd60feb49a9570b0517892b4305c45e
- React: 176dd882de001854ced260fad41bb68a31aa4bd0
- React-callinvoker: c2864d1818d6e64928d2faf774a3800dfc38fe1f
- React-Codegen: 98b6f97f0a7abf7d67e4ce435c77c05b7a95cf05
- React-Core: fdaa2916b1c893f39f02cff0476d1fb0cab1e352
- React-CoreModules: fd8705b80699ec36c2cdd635c2ce9d874b9cfdfc
- React-cxxreact: 1832d971f7b0cb2c7b943dc0ec962762c90c906e
- React-jsi: 72af715135abe8c3f0dcf3b2548b71d048b69a7e
- React-jsiexecutor: b7b553412f2ec768fe6c8f27cd6bafdb9d8719e6
- React-jsinspector: c5989c77cb89ae6a69561095a61cce56a44ae8e8
- React-logger: a0833912d93b36b791b7a521672d8ee89107aff1
+ RCTRequired: 49a2c4d4215580d8b24ed538ae01b6de20b43a76
+ RCTTypeSafety: 55d538399fe8b51e5cd862e2ec2f9b135b07e783
+ React: 413fd7d791365c2c5742b60493d3ab450ca1a210
+ React-bridging: 8e577e404677d57daa0310db63e6a27328a57207
+ React-callinvoker: d0ae2f0ea66bcf29a3e42a895428d2f01473d2ea
+ React-Codegen: 273200ed3b02d35fd1755aebe0eb3319b037d950
+ React-Core: f42a10403076c1114f8c50f063ddafc9eea92fff
+ React-CoreModules: 1ed78c63dad96f40b123d4d4ca455e09ccd8aaed
+ React-cxxreact: 7d30af80adb5fe6a97646a06540c19e61736aa15
+ React-hermes: 185ce251487bcb812c34ce33b1ab6412419b43a3
+ React-jsi: 9b2b4ac1642b72bffcd74550f0caa0926b3f8a4d
+ React-jsiexecutor: 4a893fc8f683b91befcaf56c44ad8be4506b6828
+ React-jsinspector: 1d5a9e84e419a57cabc23249aec3d837d1b03a80
+ React-logger: f8071ad48248781d5afdb8a07f778758529d3019
react-native-safe-area-context: 9e40fb181dac02619414ba1294d6c2a807056ab9
react-native-webview: a1ed211d50a5047a4fe54e07140991e277cd66e6
- React-perflogger: a18b4f0bd933b8b24ecf9f3c54f9bf65180f3fe6
- React-RCTActionSheet: 547fe42fdb4b6089598d79f8e1d855d7c23e2162
- React-RCTAnimation: bc9440a1c37b06ae9ebbb532d244f607805c6034
- React-RCTBlob: a1295c8e183756d7ef30ba6e8f8144dfe8a19215
- React-RCTImage: a30d1ee09b1334067fbb6f30789aae2d7ac150c9
- React-RCTLinking: ffc6d5b88d1cb9aca13c54c2ec6507fbf07f2ac4
- React-RCTNetwork: f807a2facab6cf5cf36d592e634611de9cf12d81
- React-RCTSettings: 861806819226ed8332e6a8f90df2951a34bb3e7f
- React-RCTText: f3fb464cc41a50fc7a1aba4deeb76a9ad8282cb9
- React-RCTVibration: 79040b92bfa9c3c2d2cb4f57e981164ec7ab9374
- React-runtimeexecutor: b960b687d2dfef0d3761fbb187e01812ebab8b23
- ReactCommon: 095366164a276d91ea704ce53cb03825c487a3f2
+ React-perflogger: 5e41b01b35d97cc1b0ea177181eb33b5c77623b6
+ React-RCTActionSheet: 48949f30b24200c82f3dd27847513be34e06a3ae
+ React-RCTAnimation: 96af42c97966fcd53ed9c31bee6f969c770312b6
+ React-RCTBlob: 22aa326a2b34eea3299a2274ce93e102f8383ed9
+ React-RCTImage: 1df0dbdb53609778f68830ccdd07ff3b40812837
+ React-RCTLinking: eef4732d9102a10174115a727588d199711e376c
+ React-RCTNetwork: 18716f00568ec203df2192d35f4a74d1d9b00675
+ React-RCTSettings: 1dc8a5e5272cea1bad2f8d9b4e6bac91b846749b
+ React-RCTText: 17652c6294903677fb3d754b5955ac293347782c
+ React-RCTVibration: 0e247407238d3bd6b29d922d7b5de0404359431b
+ React-runtimeexecutor: 5407e26b5aaafa9b01a08e33653255f8247e7c31
+ ReactCommon: abf3605a56f98b91671d0d1327addc4ffb87af77
RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489
RNGestureHandler: bad495418bcbd3ab47017a38d93d290ebd406f50
- RNReanimated: e7d8afaf8fed4b3bf1a46e06adb2e04a2b248f1c
+ RNReanimated: 1b1b442d84cba454bae467c91a0ac3274e4ca25d
RNScreens: 40a2cb40a02a609938137a1e0acfbf8fc9eebf19
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
- Yoga: 99652481fcd320aefa4a7ef90095b95acd181952
+ Yoga: 1f02ef4ce4469aefc36167138441b27d988282b1
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
-PODFILE CHECKSUM: b6cc517de111ec2f7c3a5f799cfd5bd953d7cb51
+PODFILE CHECKSUM: 0b6fe6e2014864f2b2968c9da5b8ddf79e7200f2
-COCOAPODS: 1.10.1
\ No newline at end of file
+COCOAPODS: 1.11.2
diff --git a/packages/places/README.md b/packages/places/README.md
index 995c7585..8418ce19 100644
--- a/packages/places/README.md
+++ b/packages/places/README.md
@@ -99,8 +99,9 @@ public class MainApplication extends Application implements ReactApplication {
### Importing the extension:
```typescript
-import {
+import {
Places,
+ PlacesAccuracy,
PlacesAuthStatus,
PlacesGeofence,
PlacesGeofenceTransitionType,
@@ -114,11 +115,13 @@ import {
#### Getting the extension version:
**Syntax**
+
```typescript
extensionVersion(): Promise
```
**Example**
+
```typescript
const version = await Places.extensionVersion();
console.log(`AdobeExperienceSDK: Places version: ${version}`);
@@ -127,11 +130,13 @@ console.log(`AdobeExperienceSDK: Places version: ${version}`);
#### Get the nearby points of interest:
**Syntax**
+
```typescript
getNearbyPointsOfInterest(location, ): Promise>
```
**Example**
+
```typescript
let location = new PlacesLocation(, , , , );
@@ -146,11 +151,13 @@ try {
#### Process geofence:
**Syntax**
+
```typescript
processGeofence(geofence, ): void
```
**Example**
+
```typescript
// create a geofence
let geofence = new PlacesGeofence("geofence Identifier", , , , );
@@ -161,11 +168,13 @@ Places.processGeofence(geofence, PlacesGeofenceTransitionType.EXIT);
#### Get the current point of interests:
**Syntax**
+
```typescript
getCurrentPointsOfInterest(): Promise>
```
**Example**
+
```typescript
const pois = await Places.getCurrentPointsOfInterest();
console.log('AdobeExperienceSDK: Places pois: ' + pois);
@@ -175,11 +184,13 @@ console.log('AdobeExperienceSDK: Places pois: ' + pois);
#### Get the last known location
**Syntax**
+
```typescript
getLastKnownLocation(): Promise
```
**Example**
+
```typescript
const location = await Places.getLastKnownLocation();
console.log('AdobeExperienceSDK: Places location: ' + location)
@@ -189,11 +200,13 @@ console.log('AdobeExperienceSDK: Places location: ' + location)
#### Clear
**Syntax**
+
```typescript
clear(): void
```
**Example**
+
```typescript
Places.clear();
```
@@ -201,11 +214,13 @@ Places.clear();
#### Set Authorization status:
**Syntax**
+
```typescript
setAuthorizationStatus(authStatus?: PlacesAuthStatus): void;
```
**Example**
+
```typescript
Places.setAuthorizationStatus(PlacesAuthStatus.ALWAYS);
Places.setAuthorizationStatus(PlacesAuthStatus.DENIED);
@@ -213,3 +228,20 @@ Places.setAuthorizationStatus(PlacesAuthStatus.RESTRICTED);
Places.setAuthorizationStatus(PlacesAuthStatus.WHEN_IN_USE);
Places.setAuthorizationStatus(PlacesAuthStatus.UNKNOWN);
```
+
+#### (iOS only) Set Accuracy Authorization:
+
+**Syntax**
+
+```typescript
+setAccuracyAuthorization(accuracy: PlacesAccuracy): void;
+```
+
+**Example**
+
+```typescript
+Places.setAccuracyAuthorization('fullAccuracy');
+Places.setAccuracyAuthorization('reducedAccuracy');
+Places.setAccuracyAuthorization(PlacesAccuracy.Full);
+Places.setAccuracyAuthorization(PlacesAccuracy.Reduced);
+```
diff --git a/packages/places/__tests__/PlacesTests.ts b/packages/places/__tests__/PlacesTests.ts
index 29707a8b..f52a986c 100644
--- a/packages/places/__tests__/PlacesTests.ts
+++ b/packages/places/__tests__/PlacesTests.ts
@@ -68,4 +68,10 @@ describe('Places', () => {
await Places.setAuthorizationStatus();
expect(spy).toHaveBeenCalled();
});
+
+ test('setAccuracyAuthorization is called', async () => {
+ const spy = jest.spyOn(NativeModules.AEPPlaces, 'setAccuracyAuthorization');
+ await Places.setAccuracyAuthorization('fullAccuracy');
+ expect(spy).toHaveBeenCalled();
+ })
});
diff --git a/packages/places/ios/src/RCTAEPPlaces.m b/packages/places/ios/src/RCTAEPPlaces.m
index dc92b057..57a5cb37 100644
--- a/packages/places/ios/src/RCTAEPPlaces.m
+++ b/packages/places/ios/src/RCTAEPPlaces.m
@@ -46,6 +46,15 @@ - (dispatch_queue_t)methodQueue {
authStatusFromString:authStatus]];
}
+RCT_EXPORT_METHOD(setAccuracyAuthorization
+ : (nonnull NSString *)accuracy) {
+ if (@available(iOS 14, *)) {
+ [AEPMobilePlaces
+ setAccuracyAuthorization:[RCTAEPPlacesDataBridge
+ accuracyAuthoriztionFromString:accuracy]];
+ }
+}
+
RCT_EXPORT_METHOD(getNearbyPointsOfInterest
: (nonnull NSDictionary *)locationDict limit
: (int)limit resolver
@@ -70,10 +79,10 @@ - (dispatch_queue_t)methodQueue {
RCT_EXPORT_METHOD(processGeofence
: (nonnull NSDictionary *)geofenceDict transitionType
: (int)transitionType) {
- [AEPMobilePlaces
- processRegionEvent:[RCTAEPPlacesDataBridge
- regionEventFromInt:transitionType]
- forRegion:[RCTAEPPlacesDataBridge clRegionFromDict:geofenceDict]];
+ [AEPMobilePlaces processRegionEvent:[RCTAEPPlacesDataBridge
+ regionEventFromInt:transitionType]
+ forRegion:[RCTAEPPlacesDataBridge
+ clRegionFromDict:geofenceDict]];
}
RCT_EXPORT_METHOD(getCurrentPointsOfInterest
diff --git a/packages/places/ios/src/RCTAEPPlacesDataBridge.h b/packages/places/ios/src/RCTAEPPlacesDataBridge.h
index 3deb41cb..54e3c70a 100644
--- a/packages/places/ios/src/RCTAEPPlacesDataBridge.h
+++ b/packages/places/ios/src/RCTAEPPlacesDataBridge.h
@@ -22,6 +22,8 @@
+ (CLAuthorizationStatus)authStatusFromString: (NSString *) authStatusString;
++ (CLAccuracyAuthorization)accuracyAuthoriztionFromString:(NSString *) accuracy;
+
+ (NSDictionary *)dictionaryFromPoi: (AEPPlacesPoi *) poi;
+ (CLRegion *)clRegionFromDict: (NSDictionary *) clRegionDict;
diff --git a/packages/places/ios/src/RCTAEPPlacesDataBridge.m b/packages/places/ios/src/RCTAEPPlacesDataBridge.m
index 49f7d31f..798cb673 100644
--- a/packages/places/ios/src/RCTAEPPlacesDataBridge.m
+++ b/packages/places/ios/src/RCTAEPPlacesDataBridge.m
@@ -25,6 +25,10 @@
static NSString *const AEP_PLACES_AUTH_STATUS_WHEN_IN_USE =
@"AEP_PLACES_AUTH_STATUS_WHEN_IN_USE";
+// AccuracyStatus
+static NSString *const FULL_ACCURACY_STATUS = @"fullAccuracy";
+static NSString *const REDUCED_ACCURACY_STATUS = @"reducedAccuracy";
+
// Location
static NSString *const LOCATION_LATITUDE = @"latitude";
static NSString *const LOCATION_LONGITUDE = @"longitude";
@@ -86,6 +90,16 @@ + (CLAuthorizationStatus)authStatusFromString:(NSString *)authStatusString {
}
}
++ (CLAccuracyAuthorization)accuracyAuthoriztionFromString:(NSString *)accuracy {
+ if ([accuracy isEqualToString:FULL_ACCURACY_STATUS]) {
+ return CLAccuracyAuthorizationFullAccuracy;
+ }
+ if ([accuracy isEqualToString:REDUCED_ACCURACY_STATUS]) {
+ return CLAccuracyAuthorizationReducedAccuracy;
+ }
+ return CLAccuracyAuthorizationFullAccuracy;
+}
+
+ (NSDictionary *)dictionaryFromPoi:(AEPPlacesPoi *)poi {
NSMutableDictionary *poiDict = [NSMutableDictionary dictionary];
diff --git a/packages/places/package.json b/packages/places/package.json
index 0e711b87..d52c980d 100644
--- a/packages/places/package.json
+++ b/packages/places/package.json
@@ -1,6 +1,6 @@
{
"name": "@adobe/react-native-aepplaces",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "Adobe Experience Platform support for React Native apps.",
"homepage": "https://developer.adobe.com/client-sdks/documentation/",
"license": "Apache-2.0",
diff --git a/packages/places/ts/Places.ts b/packages/places/ts/Places.ts
index d6894c39..75543418 100644
--- a/packages/places/ts/Places.ts
+++ b/packages/places/ts/Places.ts
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/
-import { NativeModules } from 'react-native';
+import { NativeModules, Platform } from 'react-native';
+import { PlacesAccuracy } from './models/PlacesAccuracy';
import PlacesAuthStatus from './models/PlacesAuthStatus';
import PlacesGeofence from './models/PlacesGeofence';
import PlacesLocation from './models/PlacesLocation';
@@ -26,7 +27,12 @@ interface IPlaces {
getCurrentPointsOfInterest: () => Promise>;
getLastKnownLocation: () => Promise;
clear: () => void;
- setAuthorizationStatus: (authStatus?: PlacesAuthStatus) => void;
+ setAuthorizationStatus: (
+ authStatus?: PlacesAuthStatus | `${PlacesAuthStatus}`
+ ) => void;
+ setAccuracyAuthorization: (
+ accuracy: PlacesAccuracy | `${PlacesAccuracy}`
+ ) => void;
}
const AEPPlaces: IPlaces = NativeModules.AEPPlaces;
@@ -107,8 +113,26 @@ const Places: IPlaces = {
*
* @param authStatus the {@link PlacesAuthStatus} to be set for this device
*/
- setAuthorizationStatus(authStatus?: PlacesAuthStatus) {
+ setAuthorizationStatus(
+ authStatus?: PlacesAuthStatus | `${PlacesAuthStatus}`
+ ) {
AEPPlaces.setAuthorizationStatus(authStatus);
+ },
+
+ /**
+ * @brief IOS Only - Sets the accuracy authorization in the Places extension.
+ *
+ * The status provided is stored in the Places shared state, and is for reference only.
+ * Calling this method does not impact the actual location accuracy setting for this device.
+ *
+ * This method is only available on iOS 14 and newer.
+ *
+ * @param accuracy the CLAccuracyAuthorization to be set for this device
+ */
+ setAccuracyAuthorization(accuracy: PlacesAccuracy | `${PlacesAccuracy}`) {
+ if (Platform.OS === 'ios') {
+ AEPPlaces.setAccuracyAuthorization(accuracy);
+ }
}
};
diff --git a/packages/places/ts/index.ts b/packages/places/ts/index.ts
index c3d43cde..9c4af2dd 100644
--- a/packages/places/ts/index.ts
+++ b/packages/places/ts/index.ts
@@ -11,6 +11,7 @@ governing permissions and limitations under the License.
*/
import Places from './Places';
+import { PlacesAccuracy } from './models/PlacesAccuracy';
import PlacesAuthStatus from './models/PlacesAuthStatus';
import PlacesGeofence from './models/PlacesGeofence';
import PlacesGeofenceTransitionType from './models/PlacesGeofenceTransitionType';
@@ -19,6 +20,7 @@ import PlacesPOI from './models/PlacesPOI';
export {
Places,
+ PlacesAccuracy,
PlacesAuthStatus,
PlacesGeofence,
PlacesGeofenceTransitionType,
diff --git a/packages/places/ts/models/PlacesAccuracy.ts b/packages/places/ts/models/PlacesAccuracy.ts
new file mode 100644
index 00000000..04f60338
--- /dev/null
+++ b/packages/places/ts/models/PlacesAccuracy.ts
@@ -0,0 +1,4 @@
+export enum PlacesAccuracy {
+ Full = 'fullAccuracy',
+ Reduced = 'reducedAccuracy'
+}
diff --git a/tests/jest/setup.ts b/tests/jest/setup.ts
index ac360162..9eca9ae1 100644
--- a/tests/jest/setup.ts
+++ b/tests/jest/setup.ts
@@ -13,138 +13,216 @@ governing permissions and limitations under the License.
import * as ReactNative from 'react-native';
jest.doMock('react-native', () => {
- return Object.setPrototypeOf({
- NativeModules: {
- ...ReactNative.NativeModules,
- AEPEdgeConsent: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- update: jest.fn(),
- getConsents: jest.fn(() => new Promise(resolve => resolve(null)))
- },
- AEPEdgeIdentity: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- getExperienceCloudId: jest.fn(() => new Promise(resolve => resolve(''))),
- getUrlVariables: jest.fn(() => new Promise(resolve => resolve(''))),
- getIdentities: jest.fn(() => new Promise(resolve => resolve({"ABC":[{"id":"id1","authenticatedState":"ambiguous","primary":false}]}))),
- updateIdentities: jest.fn(),
- removeIdentity: jest.fn(),
- },
- AEPEdge: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- sendEvent: jest.fn(() => new Promise(resolve => resolve([{type: "example", payload: {sample: "data"}}]))),
- },
- AEPAssurance: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- startSession: jest.fn()
- },
- AEPUserProfile: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- removeUserAttributes: jest.fn(),
- getUserAttributes: jest.fn(() => new Promise(resolve => resolve(null))),
- updateUserAttributes: jest.fn()
- },
- AEPSignal: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve('')))
- },
- AEPLifecycle: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve('')))
- },
- AEPCore: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- configureWithAppId: jest.fn(),
- updateConfiguration: jest.fn(),
- setLogLevel: jest.fn(),
- getLogLevel: jest.fn(() => new Promise(resolve => resolve('DEBUG'))),
- log: jest.fn(),
- setPrivacyStatus: jest.fn(),
- getPrivacyStatus: jest.fn(() => new Promise(resolve => resolve('OPT_OUT'))),
- getSdkIdentities: jest.fn(() => new Promise(resolve => resolve(''))),
- dispatchEvent: jest.fn(),
- dispatchEventWithResponseCallback: jest.fn(() => new Promise(resolve => resolve(null))),
- trackAction: jest.fn(),
- trackState: jest.fn(),
- setAdvertisingIdentifier: jest.fn(),
- setPushIdentifier: jest.fn(),
- collectPii: jest.fn(),
- setSmallIconResourceID: jest.fn(),
- setLargeIconResourceID: jest.fn(),
- setAppGroup: jest.fn(),
- resetIdentities: jest.fn(),
- },
- AEPIdentity: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- syncIdentifiers: jest.fn(),
- syncIdentifiersWithAuthState: jest.fn(),
- syncIdentifier: jest.fn(),
- appendVisitorInfoForURL: jest.fn(() => new Promise(resolve => resolve(''))),
- getUrlVariables: jest.fn(() => new Promise(resolve => resolve(''))),
- getIdentifiers: jest.fn(() => new Promise(resolve => resolve(null))),
- getExperienceCloudId: jest.fn(() => new Promise(resolve => resolve('')))
- },
- AEPMessaging: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- refreshInAppMessages: jest.fn(),
- setMessagingDelegate: jest.fn(),
- setAutoTrack: jest.fn(),
- show: jest.fn(),
- dismiss: jest.fn(),
- track: jest.fn(),
- handleJavascriptMessage: jest.fn(() => new Promise(resolve => resolve(new Object()))),
- clear: jest.fn()
- },
- AEPOptimize: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- onPropositionsUpdate: jest.fn(),
- clearCachedPropositions: jest.fn(),
- getPropositions: jest.fn(() => new Promise(resolve => {
- let map = new Map();
- resolve(map);
- })),
- updatePropositions: jest.fn(),
- offerDisplayed: jest.fn(),
- offerTapped: jest.fn(),
- generateDisplayInteractionXdm: jest.fn(() => new Promise(resolve => resolve(new Map()))),
- generateTapInteractionXdm: jest.fn(() => new Promise(resolve => resolve(new Map()))),
- generateReferenceXdm: jest.fn(() => new Promise(resolve => resolve(new Map())))
- },
- AEPTarget: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- registerExtension: jest.fn(),
- clearPrefetchCache: jest.fn(),
- getSessionId: jest.fn(() => new Promise(resolve => resolve(''))),
- getThirdPartyId: jest.fn(() => new Promise(resolve => resolve(''))),
- getTntId: jest.fn(() => new Promise(resolve => resolve(''))),
- resetExperience: jest.fn(),
- setPreviewRestartDeeplink: jest.fn(),
- setSessionId: jest.fn(),
- setThirdPartyId: jest.fn(),
- setTntId: jest.fn(),
- retrieveLocationContent: jest.fn(),
- prefetchContent: jest.fn(() => new Promise(resolve => resolve(''))),
- displayedLocations: jest.fn(),
- clickedLocation: jest.fn(),
- registerTargetRequests: jest.fn()
- },
- AEPPlaces: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve(''))),
- getNearbyPointsOfInterest: jest.fn(() => new Promise(resolve => resolve([]))),
- processGeofence: jest.fn(),
- getCurrentPointsOfInterest: jest.fn(() => new Promise(resolve => resolve([]))),
- getLastKnownLocation: () => jest.fn(() => new Promise(resolve => resolve({}))),
- clear: jest.fn(),
- setAuthorizationStatus: jest.fn(),
- },
- AEPCampaignClassic: {
- extensionVersion: jest.fn(() => new Promise(resolve => resolve('1.0.0'))),
- registerDeviceWithToken: jest.fn(),
- trackNotificationClickWithUserInfo: jest.fn(),
- trackNotificationReceiveWithUserInfo: jest.fn(),
- }
- },
- NativeEventEmitter: class {
- addListener() {}
- }
+ return Object.setPrototypeOf(
+ {
+ NativeModules: {
+ ...ReactNative.NativeModules,
+ AEPEdgeConsent: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ update: jest.fn(),
+ getConsents: jest.fn(() => new Promise((resolve) => resolve(null)))
},
- ReactNative,
- );
+ AEPEdgeIdentity: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ getExperienceCloudId: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ getUrlVariables: jest.fn(() => new Promise((resolve) => resolve(''))),
+ getIdentities: jest.fn(
+ () =>
+ new Promise((resolve) =>
+ resolve({
+ ABC: [
+ {
+ id: 'id1',
+ authenticatedState: 'ambiguous',
+ primary: false
+ }
+ ]
+ })
+ )
+ ),
+ updateIdentities: jest.fn(),
+ removeIdentity: jest.fn()
+ },
+ AEPEdge: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ sendEvent: jest.fn(
+ () =>
+ new Promise((resolve) =>
+ resolve([{ type: 'example', payload: { sample: 'data' } }])
+ )
+ )
+ },
+ AEPAssurance: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ startSession: jest.fn()
+ },
+ AEPUserProfile: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ removeUserAttributes: jest.fn(),
+ getUserAttributes: jest.fn(
+ () => new Promise((resolve) => resolve(null))
+ ),
+ updateUserAttributes: jest.fn()
+ },
+ AEPSignal: {
+ extensionVersion: jest.fn(() => new Promise((resolve) => resolve('')))
+ },
+ AEPLifecycle: {
+ extensionVersion: jest.fn(() => new Promise((resolve) => resolve('')))
+ },
+ AEPCore: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ configureWithAppId: jest.fn(),
+ updateConfiguration: jest.fn(),
+ setLogLevel: jest.fn(),
+ getLogLevel: jest.fn(
+ () => new Promise((resolve) => resolve('DEBUG'))
+ ),
+ log: jest.fn(),
+ setPrivacyStatus: jest.fn(),
+ getPrivacyStatus: jest.fn(
+ () => new Promise((resolve) => resolve('OPT_OUT'))
+ ),
+ getSdkIdentities: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ dispatchEvent: jest.fn(),
+ dispatchEventWithResponseCallback: jest.fn(
+ () => new Promise((resolve) => resolve(null))
+ ),
+ trackAction: jest.fn(),
+ trackState: jest.fn(),
+ setAdvertisingIdentifier: jest.fn(),
+ setPushIdentifier: jest.fn(),
+ collectPii: jest.fn(),
+ setSmallIconResourceID: jest.fn(),
+ setLargeIconResourceID: jest.fn(),
+ setAppGroup: jest.fn(),
+ resetIdentities: jest.fn()
+ },
+ AEPIdentity: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ syncIdentifiers: jest.fn(),
+ syncIdentifiersWithAuthState: jest.fn(),
+ syncIdentifier: jest.fn(),
+ appendVisitorInfoForURL: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ getUrlVariables: jest.fn(() => new Promise((resolve) => resolve(''))),
+ getIdentifiers: jest.fn(
+ () => new Promise((resolve) => resolve(null))
+ ),
+ getExperienceCloudId: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ )
+ },
+ AEPMessaging: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ refreshInAppMessages: jest.fn(),
+ setMessagingDelegate: jest.fn(),
+ setAutoTrack: jest.fn(),
+ show: jest.fn(),
+ dismiss: jest.fn(),
+ track: jest.fn(),
+ handleJavascriptMessage: jest.fn(
+ () => new Promise((resolve) => resolve(new Object()))
+ ),
+ clear: jest.fn()
+ },
+ AEPOptimize: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ onPropositionsUpdate: jest.fn(),
+ clearCachedPropositions: jest.fn(),
+ getPropositions: jest.fn(
+ () =>
+ new Promise((resolve) => {
+ let map = new Map();
+ resolve(map);
+ })
+ ),
+ updatePropositions: jest.fn(),
+ offerDisplayed: jest.fn(),
+ offerTapped: jest.fn(),
+ generateDisplayInteractionXdm: jest.fn(
+ () => new Promise((resolve) => resolve(new Map()))
+ ),
+ generateTapInteractionXdm: jest.fn(
+ () => new Promise((resolve) => resolve(new Map()))
+ ),
+ generateReferenceXdm: jest.fn(
+ () => new Promise((resolve) => resolve(new Map()))
+ )
+ },
+ AEPTarget: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ registerExtension: jest.fn(),
+ clearPrefetchCache: jest.fn(),
+ getSessionId: jest.fn(() => new Promise((resolve) => resolve(''))),
+ getThirdPartyId: jest.fn(() => new Promise((resolve) => resolve(''))),
+ getTntId: jest.fn(() => new Promise((resolve) => resolve(''))),
+ resetExperience: jest.fn(),
+ setPreviewRestartDeeplink: jest.fn(),
+ setSessionId: jest.fn(),
+ setThirdPartyId: jest.fn(),
+ setTntId: jest.fn(),
+ retrieveLocationContent: jest.fn(),
+ prefetchContent: jest.fn(() => new Promise((resolve) => resolve(''))),
+ displayedLocations: jest.fn(),
+ clickedLocation: jest.fn(),
+ registerTargetRequests: jest.fn()
+ },
+ AEPPlaces: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve(''))
+ ),
+ getNearbyPointsOfInterest: jest.fn(
+ () => new Promise((resolve) => resolve([]))
+ ),
+ processGeofence: jest.fn(),
+ getCurrentPointsOfInterest: jest.fn(
+ () => new Promise((resolve) => resolve([]))
+ ),
+ getLastKnownLocation: () =>
+ jest.fn(() => new Promise((resolve) => resolve({}))),
+ clear: jest.fn(),
+ setAuthorizationStatus: jest.fn(),
+ setAccuracyAuthorization: jest.fn()
+ },
+ AEPCampaignClassic: {
+ extensionVersion: jest.fn(
+ () => new Promise((resolve) => resolve('1.0.0'))
+ ),
+ registerDeviceWithToken: jest.fn(),
+ trackNotificationClickWithUserInfo: jest.fn(),
+ trackNotificationReceiveWithUserInfo: jest.fn()
+ }
+ },
+ NativeEventEmitter: class {
+ addListener() {}
+ }
+ },
+ ReactNative
+ );
});