diff --git a/ios/eMobility.plist b/ios/eMobility.plist
index 5e8e76cd1..4770a2fac 100644
--- a/ios/eMobility.plist
+++ b/ios/eMobility.plist
@@ -52,10 +52,8 @@
NSCameraUsageDescription
${PRODUCT_NAME} needs access to the camera to scan the charging station's QR Code to register the organization or start a transaction
- NSLocationAlwaysUsageDescription
- Discover charging stations
NSLocationWhenInUseUsageDescription
- Discover charging stations
+ Discover Charging Stations
UIAppFonts
AntDesign.ttf
@@ -80,7 +78,6 @@
UIBackgroundModes
- location
remote-notification
UILaunchStoryboardName
diff --git a/ios/eMobility.xcodeproj/project.pbxproj b/ios/eMobility.xcodeproj/project.pbxproj
index a5beed13d..cd4c6b230 100644
--- a/ios/eMobility.xcodeproj/project.pbxproj
+++ b/ios/eMobility.xcodeproj/project.pbxproj
@@ -8,8 +8,8 @@
/* Begin PBXBuildFile section */
00E356F31AD99517003FC87E /* eMobilityTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* eMobilityTests.m */; };
- 27E51D4CC74E87E6E2A7AFDA /* libPods-eMobility-eMobilityTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 83A621336F30E7396940B70F /* libPods-eMobility-eMobilityTests.a */; };
- C6E9E7C669D09BDEE6393CDF /* libPods-eMobility.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2992818126A14B4027E891A6 /* libPods-eMobility.a */; };
+ 60AB165144D5A870F065DB39 /* libPods-eMobility.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D6CD643E61034EA9FEF6F4D2 /* libPods-eMobility.a */; };
+ 921CF99BD9EB850A7E1D0F36 /* libPods-eMobility-eMobilityTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A9937DE837329214E400553 /* libPods-eMobility-eMobilityTests.a */; };
D2336F6323510E6F00A1BCB0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
D2336F7D23510E6F00A1BCB0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
D2336F9D23510E6F00A1BCB0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
@@ -73,20 +73,20 @@
00E356EE1AD99517003FC87E /* eMobilityTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = eMobilityTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
00E356F21AD99517003FC87E /* eMobilityTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = eMobilityTests.m; sourceTree = ""; };
- 0F96741BBDF3FDC1C9951B3F /* Pods-eMobility-eMobilityTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility-eMobilityTests.debug.xcconfig"; path = "Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests.debug.xcconfig"; sourceTree = ""; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = eMobility/AppDelegate.h; sourceTree = ""; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = eMobility/AppDelegate.m; sourceTree = ""; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = eMobility/Images.xcassets; sourceTree = ""; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = eMobility/Info.plist; sourceTree = ""; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = eMobility/main.m; sourceTree = ""; };
- 27FD5F51A519042769C25561 /* Pods-eMobility-eMobilityTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility-eMobilityTests.release.xcconfig"; path = "Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests.release.xcconfig"; sourceTree = ""; };
- 2992818126A14B4027E891A6 /* libPods-eMobility.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-eMobility.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 83A621336F30E7396940B70F /* libPods-eMobility-eMobilityTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-eMobility-eMobilityTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- A1F58890497896CB116A776F /* Pods-eMobility.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility.release.xcconfig"; path = "Target Support Files/Pods-eMobility/Pods-eMobility.release.xcconfig"; sourceTree = ""; };
- A6EA0B5D1AB591EE7E9FDFA8 /* Pods-eMobility.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility.debug.xcconfig"; path = "Target Support Files/Pods-eMobility/Pods-eMobility.debug.xcconfig"; sourceTree = ""; };
+ 2A9937DE837329214E400553 /* libPods-eMobility-eMobilityTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-eMobility-eMobilityTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 3B7972A2039D3B9A4E89CB73 /* Pods-eMobility.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility.debug.xcconfig"; path = "Target Support Files/Pods-eMobility/Pods-eMobility.debug.xcconfig"; sourceTree = ""; };
+ 4479C204C6B5D7317A7E4C67 /* Pods-eMobility.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility.release.xcconfig"; path = "Target Support Files/Pods-eMobility/Pods-eMobility.release.xcconfig"; sourceTree = ""; };
+ 908A594C9CFB406C6D88B474 /* Pods-eMobility-eMobilityTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility-eMobilityTests.debug.xcconfig"; path = "Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests.debug.xcconfig"; sourceTree = ""; };
+ 991E19A5D4B162769F3F0DEA /* Pods-eMobility-eMobilityTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-eMobility-eMobilityTests.release.xcconfig"; path = "Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests.release.xcconfig"; sourceTree = ""; };
D2336FA623510E6F00A1BCB0 /* eMobility.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = eMobility.app; sourceTree = BUILT_PRODUCTS_DIR; };
D2D3C4392469AFDC00D6DECE /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; };
D2F07E6724CB15C300BD3DD2 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = eMobility/LaunchScreen.storyboard; sourceTree = ""; };
+ D6CD643E61034EA9FEF6F4D2 /* libPods-eMobility.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-eMobility.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E14E225C2687AF8C0048CD9B /* RNChartManagerBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RNChartManagerBridge.h; path = "../../node_modules/react-native-charts-wrapper/ios/ReactNativeCharts/RNChartManagerBridge.h"; sourceTree = ""; };
E14E225E2687AF8C0048CD9B /* RNScatterChartManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RNScatterChartManager.swift; sourceTree = ""; };
E14E225F2687AF8C0048CD9B /* RNScatterChartView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RNScatterChartView.swift; sourceTree = ""; };
@@ -153,7 +153,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 27E51D4CC74E87E6E2A7AFDA /* libPods-eMobility-eMobilityTests.a in Frameworks */,
+ 921CF99BD9EB850A7E1D0F36 /* libPods-eMobility-eMobilityTests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -161,7 +161,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- C6E9E7C669D09BDEE6393CDF /* libPods-eMobility.a in Frameworks */,
+ 60AB165144D5A870F065DB39 /* libPods-eMobility.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -204,8 +204,8 @@
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
- 2992818126A14B4027E891A6 /* libPods-eMobility.a */,
- 83A621336F30E7396940B70F /* libPods-eMobility-eMobilityTests.a */,
+ D6CD643E61034EA9FEF6F4D2 /* libPods-eMobility.a */,
+ 2A9937DE837329214E400553 /* libPods-eMobility-eMobilityTests.a */,
);
name = Frameworks;
sourceTree = "";
@@ -245,10 +245,10 @@
C4E99EF1EB30928FD26DDEBC /* Pods */ = {
isa = PBXGroup;
children = (
- A6EA0B5D1AB591EE7E9FDFA8 /* Pods-eMobility.debug.xcconfig */,
- A1F58890497896CB116A776F /* Pods-eMobility.release.xcconfig */,
- 0F96741BBDF3FDC1C9951B3F /* Pods-eMobility-eMobilityTests.debug.xcconfig */,
- 27FD5F51A519042769C25561 /* Pods-eMobility-eMobilityTests.release.xcconfig */,
+ 3B7972A2039D3B9A4E89CB73 /* Pods-eMobility.debug.xcconfig */,
+ 4479C204C6B5D7317A7E4C67 /* Pods-eMobility.release.xcconfig */,
+ 908A594C9CFB406C6D88B474 /* Pods-eMobility-eMobilityTests.debug.xcconfig */,
+ 991E19A5D4B162769F3F0DEA /* Pods-eMobility-eMobilityTests.release.xcconfig */,
);
path = Pods;
sourceTree = "";
@@ -414,12 +414,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "eMobilityTests" */;
buildPhases = (
- F4EA80B4BA54CF3F85410571 /* [CP] Check Pods Manifest.lock */,
+ CA026066CD510A97350095BB /* [CP] Check Pods Manifest.lock */,
00E356EA1AD99517003FC87E /* Sources */,
00E356EB1AD99517003FC87E /* Frameworks */,
00E356EC1AD99517003FC87E /* Resources */,
- F18636A05A5816ED325773F7 /* [CP] Embed Pods Frameworks */,
- B238ACCA38D7911F94B69F4C /* [CP] Copy Pods Resources */,
+ 66ADAB0906E00E1925417A2F /* [CP] Embed Pods Frameworks */,
+ 2870FF7080956EFABB4135F6 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@@ -434,14 +434,14 @@
isa = PBXNativeTarget;
buildConfigurationList = D2336FA323510E6F00A1BCB0 /* Build configuration list for PBXNativeTarget "eMobility" */;
buildPhases = (
- 8571C080057E82F794469549 /* [CP] Check Pods Manifest.lock */,
+ 15FA34D9C709EBC0851F6C7B /* [CP] Check Pods Manifest.lock */,
D2336F5923510E6F00A1BCB0 /* Start Packager */,
D2336F5A23510E6F00A1BCB0 /* Sources */,
D2336F9123510E6F00A1BCB0 /* Frameworks */,
D2336F9323510E6F00A1BCB0 /* Resources */,
D2336FA123510E6F00A1BCB0 /* Bundle React Native code and images */,
- AF401110C92F07D56FF7F035 /* [CP] Embed Pods Frameworks */,
- 36A1E48E12579D75C1278C12 /* [CP] Copy Pods Resources */,
+ CBB2FB71825E719556745227 /* [CP] Embed Pods Frameworks */,
+ 97FCADB5DDBC9DA1839C4F97 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@@ -512,13 +512,35 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
- 36A1E48E12579D75C1278C12 /* [CP] Copy Pods Resources */ = {
+ 15FA34D9C709EBC0851F6C7B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
+ inputFileListPaths = (
+ );
inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-resources.sh",
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-eMobility-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 2870FF7080956EFABB4135F6 /* [CP] Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-resources.sh",
"${PODS_ROOT}/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Resources/GoogleMaps.bundle",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
@@ -569,38 +591,16 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 8571C080057E82F794469549 /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-eMobility-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
- AF401110C92F07D56FF7F035 /* [CP] Embed Pods Frameworks */ = {
+ 66ADAB0906E00E1925417A2F /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-frameworks.sh",
+ "${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
);
name = "[CP] Embed Pods Frameworks";
@@ -609,16 +609,16 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-frameworks.sh\"\n";
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
- B238ACCA38D7911F94B69F4C /* [CP] Copy Pods Resources */ = {
+ 97FCADB5DDBC9DA1839C4F97 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-resources.sh",
+ "${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-resources.sh",
"${PODS_ROOT}/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/Resources/GoogleMaps.bundle",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
@@ -669,10 +669,10 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-resources.sh\"\n";
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-resources.sh\"\n";
showEnvVarsInLog = 0;
};
- D2336F5923510E6F00A1BCB0 /* Start Packager */ = {
+ CA026066CD510A97350095BB /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -680,70 +680,70 @@
inputFileListPaths = (
);
inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
);
- name = "Start Packager";
+ name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-eMobility-eMobilityTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
- D2336FA123510E6F00A1BCB0 /* Bundle React Native code and images */ = {
+ CBB2FB71825E719556745227 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-frameworks.sh",
+ "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
);
- name = "Bundle React Native code and images";
+ name = "[CP] Embed Pods Frameworks";
outputPaths = (
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility/Pods-eMobility-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
};
- F18636A05A5816ED325773F7 /* [CP] Embed Pods Frameworks */ = {
+ D2336F5923510E6F00A1BCB0 /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
+ inputFileListPaths = (
+ );
inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-frameworks.sh",
- "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
);
- name = "[CP] Embed Pods Frameworks";
+ name = "Start Packager";
+ outputFileListPaths = (
+ );
outputPaths = (
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-eMobility-eMobilityTests/Pods-eMobility-eMobilityTests-frameworks.sh\"\n";
+ shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
showEnvVarsInLog = 0;
};
- F4EA80B4BA54CF3F85410571 /* [CP] Check Pods Manifest.lock */ = {
+ D2336FA123510E6F00A1BCB0 /* Bundle React Native code and images */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
- inputFileListPaths = (
- );
inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
);
+ name = "Bundle React Native code and images";
outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-eMobility-eMobilityTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
+ shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
/* End PBXShellScriptBuildPhase section */
@@ -822,7 +822,7 @@
/* Begin XCBuildConfiguration section */
00E356F61AD99517003FC87E /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 0F96741BBDF3FDC1C9951B3F /* Pods-eMobility-eMobilityTests.debug.xcconfig */;
+ baseConfigurationReference = 908A594C9CFB406C6D88B474 /* Pods-eMobility-eMobilityTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_IDENTITY = "iPhone Developer";
@@ -847,7 +847,7 @@
};
00E356F71AD99517003FC87E /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 27FD5F51A519042769C25561 /* Pods-eMobility-eMobilityTests.release.xcconfig */;
+ baseConfigurationReference = 991E19A5D4B162769F3F0DEA /* Pods-eMobility-eMobilityTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_IDENTITY = "iPhone Developer";
@@ -979,7 +979,7 @@
};
D2336FA423510E6F00A1BCB0 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = A6EA0B5D1AB591EE7E9FDFA8 /* Pods-eMobility.debug.xcconfig */;
+ baseConfigurationReference = 3B7972A2039D3B9A4E89CB73 /* Pods-eMobility.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUNDLE_NAME = "e-Mobility";
@@ -1053,7 +1053,7 @@
};
D2336FA523510E6F00A1BCB0 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = A1F58890497896CB116A776F /* Pods-eMobility.release.xcconfig */;
+ baseConfigurationReference = 4479C204C6B5D7317A7E4C67 /* Pods-eMobility.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
BUNDLE_NAME = "e-Mobility";
diff --git a/ios/eMobility/Info.plist b/ios/eMobility/Info.plist
index c52cb2868..4a8e76201 100644
--- a/ios/eMobility/Info.plist
+++ b/ios/eMobility/Info.plist
@@ -65,8 +65,6 @@
- NSLocationAlwaysUsageDescription
- Discover Charging Stations
NSLocationWhenInUseUsageDescription
Discover Charging Stations
UIAppFonts
diff --git a/src/App.tsx b/src/App.tsx
index 2b8d16a61..78384751a 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -545,11 +545,11 @@ export default class App extends React.Component {
public componentWillUnmount() {
// Deactivate Deep links
- this.deepLinkingManager.stopListening();
+ this.deepLinkingManager?.stopListening();
// Stop Notifications
- this.notificationManager.stop();
+ this.notificationManager?.stop();
// Stop Location
- this.location.stopListening();
+ this.location?.stopListening();
}
public render() {
diff --git a/src/location/LocationManager.tsx b/src/location/LocationManager.tsx
index 8c85d45dd..eb5da4412 100644
--- a/src/location/LocationManager.tsx
+++ b/src/location/LocationManager.tsx
@@ -26,7 +26,7 @@ export default class LocationManager {
headingFilter: 1, // Degrees
headingOrientation: 'portrait',
pausesLocationUpdatesAutomatically: false,
- showsBackgroundLocationIndicator: false
+ showsBackgroundLocationIndicator: true
});
}