Skip to content

Commit

Permalink
Merge pull request #72 from nsysu-code-club/feature/2023-update
Browse files Browse the repository at this point in the history
Feature/2023 S2 update
  • Loading branch information
abc873693 authored Jun 10, 2023
2 parents ac4b390 + eb3efa6 commit 4c62a83
Show file tree
Hide file tree
Showing 30 changed files with 1,019 additions and 755 deletions.
2 changes: 1 addition & 1 deletion .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "3.0.5",
"flutterSdkVersion": "3.10.4",
"flavors": {}
}
22 changes: 16 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
KEYS_SECRET_PASSPHRASE: ${{ secrets.KEYS_SECRET_PASSPHRASE }}
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.x'
flutter-version: '3.10.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Decrypt dev configs
run: sh ./scripts/decrypt_dev_configs.sh
env:
Expand All @@ -50,8 +52,10 @@ jobs:
- name: Run Flutter tasks
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.x'
flutter-version: '3.10.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Decrypt dev configs
run: sh ./scripts/decrypt_dev_configs.sh
env:
Expand All @@ -68,8 +72,10 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.x'
flutter-version: '3.10.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Decrypt dev configs
run: sh ./scripts/decrypt_dev_configs.sh
env:
Expand All @@ -91,7 +97,7 @@ jobs:
# - name: Run Flutter tasks
# uses: subosito/flutter-action@v2
# with:
# flutter-version: '3.0.x'
# flutter-version: '3.10.x'
# channel: 'stable'
# - name: Decrypt dev configs
# run: sh ./scripts/decrypt_dev_configs.sh
Expand All @@ -114,8 +120,10 @@ jobs:
- name: Run Flutter tasks
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.x'
flutter-version: '3.10.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Decrypt dev configs
run: sh ./scripts/decrypt_dev_configs.sh
env:
Expand Down Expand Up @@ -146,8 +154,10 @@ jobs:
- name: Run Flutter tasks
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.x'
flutter-version: '3.10.x'
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Decrypt dev configs
run: sh ./scripts/decrypt_dev_configs.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:lint/analysis_options.yaml
include: package:lint/strict.yaml

analyzer:
exclude:
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 31
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -39,7 +39,7 @@ android {
defaultConfig {
applicationId "com.nsysu.ap"
minSdkVersion 21
targetSdkVersion 31
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
8 changes: 8 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="29"/>
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.WRITE_MEDIA_IMAGES" />

<queries>
<intent>
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
Binary file modified dev_configs.zip.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Loading

0 comments on commit 4c62a83

Please sign in to comment.