diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a00f563..41ff88a 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2314,6 +2314,10 @@ PODS: - React-perflogger (= 0.81.4) - React-utils (= 0.81.4) - SocketRocket + - RNCAsyncStorage (2.2.0): + - React-Core + - RNDeviceInfo (15.0.1): + - React-Core - RNFS (2.20.0): - React-Core - RNScreens (4.16.0): @@ -2452,6 +2456,8 @@ DEPENDENCIES: - ReactAppDependencyProvider (from `build/generated/ios`) - ReactCodegen (from `build/generated/ios`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" + - RNDeviceInfo (from `../node_modules/react-native-device-info`) - RNFS (from `../node_modules/react-native-fs`) - RNScreens (from `../node_modules/react-native-screens`) - RNVectorIcons (from `../node_modules/react-native-vector-icons`) @@ -2612,6 +2618,10 @@ EXTERNAL SOURCES: :path: build/generated/ios ReactCommon: :path: "../node_modules/react-native/ReactCommon" + RNCAsyncStorage: + :path: "../node_modules/@react-native-async-storage/async-storage" + RNDeviceInfo: + :path: "../node_modules/react-native-device-info" RNFS: :path: "../node_modules/react-native-fs" RNScreens: @@ -2696,6 +2706,8 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: 433ddfb4536948630aadd5bd925aff8a632d2fe3 ReactCodegen: 1d05923ad119796be9db37830d5e5dc76586aa00 ReactCommon: 394c6b92765cf6d211c2c3f7f6bc601dffb316a6 + RNCAsyncStorage: b44e8a4e798c3e1f56bffccd0f591f674fb9198f + RNDeviceInfo: 36d7f232bfe7c9b5c494cb7793230424ed32c388 RNFS: 89de7d7f4c0f6bafa05343c578f61118c8282ed8 RNScreens: 35525ebfe219c8709da0d26aebbc9a5e02e1077b RNVectorIcons: 9084b0cf37b3c5690b730c5627a21d750c9f517e @@ -2703,6 +2715,6 @@ SPEC CHECKSUMS: Yoga: a3ed390a19db0459bd6839823a6ac6d9c6db198d ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c -PODFILE CHECKSUM: a23d7c8b0484328e91cacd79617607a52e3cf7fb +PODFILE CHECKSUM: e355c95d6768dc6e2cefb822baab7ea0d98c9440 COCOAPODS: 1.16.2 diff --git a/ios/dfuapp.xcodeproj/project.pbxproj b/ios/dfuapp.xcodeproj/project.pbxproj index c0d1853..1ef932c 100644 --- a/ios/dfuapp.xcodeproj/project.pbxproj +++ b/ios/dfuapp.xcodeproj/project.pbxproj @@ -11,6 +11,7 @@ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; + 82A7EFF22EFD325200209B1F /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 82A7EFF02EFD325200209B1F /* InfoPlist.strings */; }; ADAFE5564C0102A1789FE063 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; }; /* End PBXBuildFile section */ @@ -24,6 +25,8 @@ 5DCACB8F33CDC322A6C60F78 /* libPods-dfuapp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-dfuapp.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = dfuapp/AppDelegate.swift; sourceTree = ""; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = dfuapp/LaunchScreen.storyboard; sourceTree = ""; }; + 82A7EFF12EFD325200209B1F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 82A7EFF32EFD325E00209B1F /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -42,6 +45,7 @@ 13B07FAE1A68108700A75B9A /* dfuapp */ = { isa = PBXGroup; children = ( + 82A7EFF02EFD325200209B1F /* InfoPlist.strings */, 13B07FB51A68108700A75B9A /* Images.xcassets */, 761780EC2CA45674006654EE /* AppDelegate.swift */, 13B07FB61A68108700A75B9A /* Info.plist */, @@ -142,6 +146,7 @@ knownRegions = ( en, Base, + "zh-Hans", ); mainGroup = 83CBB9F61A601CBA00E9B192; productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; @@ -159,6 +164,7 @@ buildActionMask = 2147483647; files = ( 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, + 82A7EFF22EFD325200209B1F /* InfoPlist.strings in Resources */, 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, ADAFE5564C0102A1789FE063 /* PrivacyInfo.xcprivacy in Resources */, ); @@ -191,14 +197,10 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-dfuapp/Pods-dfuapp-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-dfuapp/Pods-dfuapp-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-dfuapp/Pods-dfuapp-frameworks.sh\"\n"; @@ -234,14 +236,10 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-dfuapp/Pods-dfuapp-resources-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-dfuapp/Pods-dfuapp-resources-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-dfuapp/Pods-dfuapp-resources.sh\"\n"; @@ -260,6 +258,18 @@ }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXVariantGroup section */ + 82A7EFF02EFD325200209B1F /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 82A7EFF12EFD325200209B1F /* en */, + 82A7EFF32EFD325E00209B1F /* zh-Hans */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + /* Begin XCBuildConfiguration section */ 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; @@ -268,7 +278,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = P8MRPU7UBA; + DEVELOPMENT_TEAM = B7ZA544T59; ENABLE_BITCODE = NO; INFOPLIST_FILE = dfuapp/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "POWERFUN设置"; @@ -298,7 +308,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = P8MRPU7UBA; + DEVELOPMENT_TEAM = B7ZA544T59; INFOPLIST_FILE = dfuapp/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "POWERFUN设置"; IPHONEOS_DEPLOYMENT_TARGET = 15.1; diff --git a/ios/dfuapp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/dfuapp.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..94b2795 --- /dev/null +++ b/ios/dfuapp.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,4 @@ + + + diff --git a/ios/dfuapp/Info.plist b/ios/dfuapp/Info.plist index a943636..ef7d728 100644 --- a/ios/dfuapp/Info.plist +++ b/ios/dfuapp/Info.plist @@ -22,6 +22,8 @@ ???? CFBundleVersion $(CURRENT_PROJECT_VERSION) + ITSAppUsesNonExemptEncryption + LSRequiresIPhoneOS NSAppTransportSecurity @@ -51,7 +53,5 @@ UIViewControllerBasedStatusBarAppearance - ITSAppUsesNonExemptEncryption - diff --git a/ios/dfuapp/PrivacyInfo.xcprivacy b/ios/dfuapp/PrivacyInfo.xcprivacy index 5b037f0..2c386f1 100644 --- a/ios/dfuapp/PrivacyInfo.xcprivacy +++ b/ios/dfuapp/PrivacyInfo.xcprivacy @@ -13,6 +13,14 @@ 3B52.1 + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + NSPrivacyAccessedAPIType NSPrivacyAccessedAPICategoryUserDefaults @@ -23,10 +31,10 @@ NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPICategoryDiskSpace NSPrivacyAccessedAPITypeReasons - 35F9.1 + 85F4.1 diff --git a/ios/dfuapp/en.lproj/InfoPlist.strings b/ios/en.lproj/InfoPlist.strings similarity index 100% rename from ios/dfuapp/en.lproj/InfoPlist.strings rename to ios/en.lproj/InfoPlist.strings diff --git a/ios/dfuapp/zh-Hans.lproj/InfoPlist.strings b/ios/zh-Hans.lproj/InfoPlist.strings similarity index 100% rename from ios/dfuapp/zh-Hans.lproj/InfoPlist.strings rename to ios/zh-Hans.lproj/InfoPlist.strings