Skip to content

Commit

Permalink
Release/1.4.2 (#142)
Browse files Browse the repository at this point in the history
* fix: language context load error in some devices

* chore: upgrade packages - aos

* chore: remove unneeded aos permission

* chore: set ios min target version to 14.7

* chore: set ios min target version to 14.7

* fix: authed-IAB throw SSL failed

* chore: upgrade packages

* chore: update app version

* chore: force remove unneeded REQUEST_
INSTALL_PACKAGE permission

* chore: fix xcode14 pod not sign

* chore: add system minimum version to 13.0.0 for apple sillicon version identifier

* chore: upgrade cpp & c compiler std version

* chore: updaete app version

* chore: remove unneeded packages
  • Loading branch information
Xanonymous-GitHub authored Sep 19, 2022
1 parent 55c0039 commit 1c4f313
Show file tree
Hide file tree
Showing 12 changed files with 305 additions and 256 deletions.
12 changes: 9 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ android {
), 'proguard-rules.pro'
}
}

bundle {
storeArchive {
enable = false
}
}
}

flutter {
Expand All @@ -92,7 +98,7 @@ dependencies {
implementation "androidx.media:media:1.6.0"
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'androidx.work:work-runtime-ktx:2.7.1'
implementation 'com.google.firebase:firebase-analytics-ktx:21.1.0'
implementation 'com.google.firebase:firebase-crashlytics-ktx:18.2.12'
implementation 'com.google.firebase:firebase-messaging-ktx:23.0.7'
implementation 'com.google.firebase:firebase-analytics-ktx:21.1.1'
implementation 'com.google.firebase:firebase-crashlytics-ktx:18.2.13'
implementation 'com.google.firebase:firebase-messaging-ktx:23.0.8'
}
4 changes: 3 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
<!-- Remove the REQUEST_INSTALL_PACKAGES permission since the `open_file` package has enabled this permission. -->
<!-- TODO: migrate to `open_file_safe` package or modify dependencies in `alice` -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove"/>

<application
android:icon="@mipmap/ic_launcher"
Expand Down
10 changes: 5 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.13'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.1'
classpath 'com.google.gms:google-services:4.3.14'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
16 changes: 11 additions & 5 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Uncomment this line to define a global platform for your project
platform :ios, '13.6'
$min_ios_target_version = '14.7'
$pre_build_firebase_pod_version = '9.5.0'

platform :ios, $min_ios_target_version

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down Expand Up @@ -33,7 +35,7 @@ target 'Runner' do

# Accelerate Firebase builds.
# Please make sure to check that its tag has the appropriate version as defined by the pubspec.yaml file.
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '9.4.0'
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => $pre_build_firebase_pod_version

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
Expand All @@ -42,8 +44,8 @@ post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
if Gem::Version.new('13.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
if Gem::Version.new($min_ios_target_version) > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $min_ios_target_version
end
config.build_settings['SWIFT_VERSION'] = '5.0' # required by simple_permission
config.build_settings['ENABLE_BITCODE'] = 'NO'
Expand Down Expand Up @@ -83,6 +85,10 @@ post_install do |installer|
## dart: PermissionGroup.sensors
# 'PERMISSION_SENSORS=0'
]

config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
end
Loading

0 comments on commit 1c4f313

Please sign in to comment.