High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
Fixed setting high refresh rate crash ios release build
Alex339f7f776fe9
diff --git a/mobile/android/fastlane/README.md b/mobile/android/fastlane/README.mdindex 13ce6317e3..fb4b573aac 100644--- a/mobile/android/fastlane/README.md+++ b/mobile/android/fastlane/README.md@@ -15,13 +15,21 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do## Android+### android build++```sh+[bundle exec] fastlane android build+```++Build Android+### android release```sh[bundle exec] fastlane android release```-Update AAB to PlayStore+Build and Release Android----diff --git a/mobile/android/fastlane/report.xml b/mobile/android/fastlane/report.xmlindex 99969bffe9..610b4f31ff 100644--- a/mobile/android/fastlane/report.xml+++ b/mobile/android/fastlane/report.xml@@ -5,17 +5,17 @@- <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000204">+ <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000221"></testcase>- <testcase classname="fastlane.lanes" name="1: bundleRelease" time="11.673502">+ <testcase classname="fastlane.lanes" name="1: bundleRelease" time="55.750133"></testcase>- <testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="37.162935">+ <testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="35.558064"></testcase>diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lockindex bf2c6aef54..0bc7850eb6 100644--- a/mobile/ios/Podfile.lock+++ b/mobile/ios/Podfile.lock@@ -19,6 +19,8 @@ PODS:- Flutter- FlutterMacOS- SAMKeychain (1.5.3)+ - share_plus (0.0.1):+ - Flutter- shared_preferences_ios (0.0.1):- Flutter- sqflite (0.0.2):@@ -40,6 +42,7 @@ DEPENDENCIES:- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)- photo_manager (from `.symlinks/plugins/photo_manager/ios`)+ - share_plus (from `.symlinks/plugins/share_plus/ios`)- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)- sqflite (from `.symlinks/plugins/sqflite/ios`)- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)@@ -67,6 +70,8 @@ EXTERNAL SOURCES::path: ".symlinks/plugins/path_provider_ios/ios"photo_manager::path: ".symlinks/plugins/photo_manager/ios"+ share_plus:+ :path: ".symlinks/plugins/share_plus/ios"shared_preferences_ios::path: ".symlinks/plugins/shared_preferences_ios/ios"sqflite:@@ -88,6 +93,7 @@ SPEC CHECKSUMS:path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604SAMKeychain: 483e1c9f32984d50ca961e26818a534283b4cd5c+ share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68adsqflite: 6d358c025f5b867b29ed92fc697fd34924e11904Toast: 91b396c56ee72a5790816f40d3a94dd357abc196diff --git a/mobile/ios/Runner.xcodeproj/project.pbxproj b/mobile/ios/Runner.xcodeproj/project.pbxprojindex 4ed6cda265..e5399800c3 100644--- a/mobile/ios/Runner.xcodeproj/project.pbxproj+++ b/mobile/ios/Runner.xcodeproj/project.pbxproj@@ -360,7 +360,7 @@CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements;CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 38;+ CURRENT_PROJECT_VERSION = 40;DEVELOPMENT_TEAM = 2F67MQ8R79;ENABLE_BITCODE = NO;INFOPLIST_FILE = Runner/Info.plist;@@ -495,7 +495,7 @@CLANG_ENABLE_MODULES = YES;CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 38;+ CURRENT_PROJECT_VERSION = 40;DEVELOPMENT_TEAM = 2F67MQ8R79;ENABLE_BITCODE = NO;INFOPLIST_FILE = Runner/Info.plist;@@ -522,7 +522,7 @@CLANG_ENABLE_MODULES = YES;CODE_SIGN_IDENTITY = "Apple Development";CODE_SIGN_STYLE = Automatic;- CURRENT_PROJECT_VERSION = 38;+ CURRENT_PROJECT_VERSION = 40;DEVELOPMENT_TEAM = 2F67MQ8R79;ENABLE_BITCODE = NO;INFOPLIST_FILE = Runner/Info.plist;diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plistindex a8b30d6563..0cb22a5148 100644--- a/mobile/ios/Runner/Info.plist+++ b/mobile/ios/Runner/Info.plist@@ -17,11 +17,11 @@<key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>- <string>1.20.0</string>+ <string>1.21.0</string><key>CFBundleSignature</key><string>????</string><key>CFBundleVersion</key>- <string>38</string>+ <string>40</string><key>LSRequiresIPhoneOS</key><true /><key>MGLMapboxMetricsEnabledSettingShownInApp</key>diff --git a/mobile/ios/fastlane/report.xml b/mobile/ios/fastlane/report.xmlindex 4e2d1d6a5d..8522da91c2 100644--- a/mobile/ios/fastlane/report.xml+++ b/mobile/ios/fastlane/report.xml@@ -5,34 +5,32 @@- <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000213">+ <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000205"></testcase>- <testcase classname="fastlane.lanes" name="1: increment_version_number" time="2.088407">+ <testcase classname="fastlane.lanes" name="1: increment_version_number" time="0.360401"></testcase>- <testcase classname="fastlane.lanes" name="2: latest_testflight_build_number" time="22.635867">+ <testcase classname="fastlane.lanes" name="2: latest_testflight_build_number" time="4.012696"></testcase>- <testcase classname="fastlane.lanes" name="3: increment_build_number" time="0.376681">+ <testcase classname="fastlane.lanes" name="3: increment_build_number" time="0.378836"></testcase>- <testcase classname="fastlane.lanes" name="4: build_app" time="91.762747">+ <testcase classname="fastlane.lanes" name="4: build_app" time="80.023705"></testcase>- <testcase classname="fastlane.lanes" name="5: upload_to_testflight" time="49.149884">-- <failure message="/opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/actions/actions_helper.rb:67:in `execute_action' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:229:in `chdir' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing' Fastfile:30:in `block (2 levels) in parsing_binding' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/lane.rb:33:in `call' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:45:in `chdir' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/runner.rb:45:in `execute' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/gems/fastlane-2.207.0/bin/fastlane:23:in `<top (required)>' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/bin/fastlane:25:in `load' /opt/homebrew/Cellar/fastlane/2.207.0/libexec/bin/fastlane:25:in `<main>' Error uploading ipa file: [Transporter Error Output]: ERROR ITMS-90186: Invalid Pre-Release Train. The train version '1.19.0' is closed for new build submissions [Transporter Error Output]: ERROR ITMS-90062: This bundle is invalid. The value for key CFBundleShortVersionString [1.19.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.19.0]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring [Transporter Error Output]: Return status of iTunes Transporter was 1: ERROR ITMS-90186: Invalid Pre-Release Train. The train version '1.19.0' is closed for new build submissions \nERROR ITMS-90062: This bundle is invalid. The value for key CFBundleShortVersionString [1.19.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.19.0]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring [Transporter Error Output]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure." />+ <testcase classname="fastlane.lanes" name="5: upload_to_testflight" time="98.18403"></testcase>diff --git a/mobile/lib/main.dart b/mobile/lib/main.dartindex 94d581c57a..d254ae9178 100644--- a/mobile/lib/main.dart+++ b/mobile/lib/main.dart@@ -1,3 +1,5 @@+import 'dart:io';+import 'package:easy_localization/easy_localization.dart';import 'package:flutter/foundation.dart';import 'package:flutter/material.dart';@@ -51,8 +53,12 @@ void main() async {Locale('it', 'IT'),];- if (kReleaseMode) {- await FlutterDisplayMode.setHighRefreshRate();+ if (kReleaseMode && Platform.isAndroid) {+ try {+ await FlutterDisplayMode.setHighRefreshRate();+ } catch (e) {+ debugPrint("Error setting high refresh rate: $e");+ }}runApp(