lv 1 mēnesi atpakaļ
vecāks
revīzija
0cf5c4e98f

+ 4 - 4
build-and-publish-app-release.sh → airpush.sh

@@ -1,8 +1,8 @@
 #!/bin/bash
 
 # Check if the correct number of arguments are provided
-if [ "$#" -ne 3 ]; then
-  echo "Usage: $0 <runtimeVersion> <xavia-ota-url> <upload-key>"
+if [ "$#" -ne 1 ]; then
+  echo "Usage: $0 <runtimeVersion>"
   exit 1
 fi
 
@@ -12,8 +12,8 @@ commitMessage=$(git log -1 --pretty=%B)
 
 # Assign arguments to variables
 runtimeVersion=$1
-serverHost=$2
-uploadKey=$3
+serverHost="https://updates-loan.ewaga.com"
+uploadKey="accdcdc"
 
 # Generate a timestamp for the output folder
 timestamp=$(date -u +%Y%m%d%H%M%S)

+ 1 - 1
android/app/build.gradle

@@ -97,7 +97,7 @@ android {
         minSdkVersion rootProject.ext.minSdkVersion
         targetSdkVersion rootProject.ext.targetSdkVersion
         versionCode 1
-        versionName "1.0.2"
+        versionName "1.0.2.1"
 
         buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\""
     }

+ 1 - 1
android/app/src/main/res/values/strings.xml

@@ -1,6 +1,6 @@
 <resources>
   <string name="app_name">Loan Assistant</string>
   <string name="expo_system_ui_user_interface_style" translatable="false">light</string>
-  <string name="expo_runtime_version">1.0.2</string>
+  <string name="expo_runtime_version">1.0.2.1</string>
   <string name="expo_splash_screen_resize_mode" translatable="false">contain</string>
 </resources>

+ 1 - 1
app.json

@@ -2,7 +2,7 @@
   "expo": {
     "name": "Loan Assistant",
     "slug": "assistant",
-    "version": "1.0.2",
+    "version": "1.0.2.1",
     "orientation": "portrait",
     "icon": "./assets/images/icon.png",
     "scheme": "loanassistant",

+ 6 - 4
ios/LoanAssistant.xcodeproj/project.pbxproj

@@ -277,11 +277,13 @@
 			);
 			inputPaths = (
 				"${PODS_ROOT}/Target Support Files/Pods-LoanAssistant/Pods-LoanAssistant-frameworks.sh",
+				"${PODS_XCFRAMEWORKS_BUILD_DIR}/React-Core-prebuilt/React.framework/React",
 				"${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies",
 				"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermesvm.framework/hermesvm",
 			);
 			name = "[CP] Embed Pods Frameworks";
 			outputPaths = (
+				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/React.framework",
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework",
 				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermesvm.framework",
 			);
@@ -370,11 +372,11 @@
 				);
 				OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
 				PRODUCT_BUNDLE_IDENTIFIER = com.cdloan.assistant;
-				PRODUCT_NAME = LoanAssistant;
+				PRODUCT_NAME = "LoanAssistant";
 				SWIFT_OBJC_BRIDGING_HEADER = "LoanAssistant/LoanAssistant-Bridging-Header.h";
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
 				SWIFT_VERSION = 5.0;
-				TARGETED_DEVICE_FAMILY = 1;
+				TARGETED_DEVICE_FAMILY = "1";
 				VERSIONING_SYSTEM = "apple-generic";
 			};
 			name = Debug;
@@ -401,10 +403,10 @@
 				);
 				OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
 				PRODUCT_BUNDLE_IDENTIFIER = com.cdloan.assistant;
-				PRODUCT_NAME = LoanAssistant;
+				PRODUCT_NAME = "LoanAssistant";
 				SWIFT_OBJC_BRIDGING_HEADER = "LoanAssistant/LoanAssistant-Bridging-Header.h";
 				SWIFT_VERSION = 5.0;
-				TARGETED_DEVICE_FAMILY = 1;
+				TARGETED_DEVICE_FAMILY = "1";
 				VERSIONING_SYSTEM = "apple-generic";
 			};
 			name = Release;

+ 3 - 3
ios/LoanAssistant/Info.plist

@@ -19,7 +19,7 @@
     <key>CFBundlePackageType</key>
     <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
     <key>CFBundleShortVersionString</key>
-    <string>1.0.2</string>
+    <string>1.0.2.1</string>
     <key>CFBundleSignature</key>
     <string>????</string>
     <key>CFBundleURLTypes</key>
@@ -48,11 +48,11 @@
       <true/>
     </dict>
     <key>NSCameraUsageDescription</key>
-    <string>需要访问相机权限以扫描二维码</string>
+    <string>需要从相机拍摄资料</string>
     <key>NSMicrophoneUsageDescription</key>
     <string>Allow $(PRODUCT_NAME) to access your microphone</string>
     <key>NSPhotoLibraryUsageDescription</key>
-    <string>需要访问照片权限以选择图片</string>
+    <string>需要从相册选择资料</string>
     <key>NSUserActivityTypes</key>
     <array>
       <string>$(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route</string>

+ 1 - 1
ios/LoanAssistant/Supporting/Expo.plist

@@ -36,7 +36,7 @@ FQ==&#xD;
     <key>EXUpdatesLaunchWaitMs</key>
     <integer>30000</integer>
     <key>EXUpdatesRuntimeVersion</key>
-    <string>1.0.2</string>
+    <string>1.0.2.1</string>
     <key>EXUpdatesURL</key>
     <string>https://updates-loan.ewaga.com/api/manifest</string>
   </dict>

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 132 - 1
ios/Podfile.lock


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels