Skip to content

Commit

Permalink
fix: android
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Sep 6, 2024
1 parent 3825267 commit e9bbb91
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 43 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ jobs:
aarch: universal
targets: dmg,pkg

- platform: ios
os: macos-14
aarch: universal
filename: hiddify-ios
targets: ipa
# - platform: ios
# os: macos-14
# aarch: universal
# filename: hiddify-ios
# targets: ipa
runs-on: ${{ matrix.os }}
steps:
- name: checkout
Expand Down
6 changes: 3 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ android {
ndkVersion "26.1.10909125"

This comment has been minimized.

Copy link
@hojjatsafaee351

hojjatsafaee351 Sep 11, 2024

26.1.10909125


compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip
49 changes: 18 additions & 31 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834
sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7"
url: "https://pub.dev"
source: hosted
version: "72.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.2"
version: "67.0.0"
accessibility_tools:
dependency: "direct main"
description:
Expand All @@ -26,10 +21,10 @@ packages:
dependency: transitive
description:
name: analyzer
sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139
sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d"
url: "https://pub.dev"
source: hosted
version: "6.7.0"
version: "6.4.1"
analyzer_plugin:
dependency: transitive
description:
Expand Down Expand Up @@ -114,18 +109,18 @@ packages:
dependency: "direct dev"
description:
name: build_runner
sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04
sha256: "644dc98a0f179b872f612d3eb627924b578897c629788e858157fa5e704ca0c7"
url: "https://pub.dev"
source: hosted
version: "2.4.12"
version: "2.4.11"
build_runner_core:
dependency: transitive
description:
name: build_runner_core
sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0
sha256: e3c79f69a64bdfcd8a776a3c28db4eb6e3fb5356d013ae5eb2e52007706d5dbe
url: "https://pub.dev"
source: hosted
version: "7.3.2"
version: "7.3.1"
built_collection:
dependency: transitive
description:
Expand Down Expand Up @@ -489,10 +484,10 @@ packages:
description:
path: "."
ref: HEAD
resolved-ref: da0cf67a7c0a2d8ad257084956ce6d32a98f8ccc
url: "https://github.com/MichaelStH/flutter_easy_permission/"
resolved-ref: "3f6611f2a88f7ed640207c3accab9178f76da2c6"
url: "https://github.com/unger1984/flutter_easy_permission.git"
source: git
version: "1.1.2"
version: "1.1.3"
flutter_gen_core:
dependency: transitive
description:
Expand Down Expand Up @@ -656,10 +651,10 @@ packages:
dependency: "direct dev"
description:
name: freezed
sha256: "44c19278dd9d89292cf46e97dc0c1e52ce03275f40a97c5a348e802a924bf40e"
sha256: a434911f643466d78462625df76fd9eb13e57348ff43fe1f77bbe909522c67a1
url: "https://pub.dev"
source: hosted
version: "2.5.7"
version: "2.5.2"
freezed_annotation:
dependency: "direct main"
description:
Expand Down Expand Up @@ -989,14 +984,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.3"
macros:
dependency: transitive
description:
name: macros
sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
url: "https://pub.dev"
source: hosted
version: "0.1.2-main.4"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -1401,10 +1388,10 @@ packages:
dependency: transitive
description:
name: riverpod_analyzer_utils
sha256: ee72770090078e6841d51355292335f1bc254907c6694283389dcb8156d99a4d
sha256: "8b71f03fc47ae27d13769496a1746332df4cec43918aeba9aff1e232783a780f"
url: "https://pub.dev"
source: hosted
version: "0.5.3"
version: "0.5.1"
riverpod_annotation:
dependency: "direct main"
description:
Expand All @@ -1417,10 +1404,10 @@ packages:
dependency: "direct dev"
description:
name: riverpod_generator
sha256: "1ad626afbd8b01d168870b13c0b036f8a5bdb57c14cd426dc5b4595466bd6e2f"
sha256: d451608bf17a372025fc36058863737636625dfdb7e3cbf6142e0dfeb366ab22
url: "https://pub.dev"
source: hosted
version: "2.4.2"
version: "2.4.0"
rxdart:
dependency: "direct main"
description:
Expand Down Expand Up @@ -2035,5 +2022,5 @@ packages:
source: hosted
version: "2.2.1"
sdks:
dart: ">=3.5.0-259.0.dev <4.0.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.24.0"
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies:
riverpod_annotation: ^2.3.4
rxdart: ^0.27.7
drift: ^2.16.0
sqlite3_flutter_libs: ^0.5.20
sqlite3_flutter_libs: ^0.5.24
shared_preferences: ^2.2.2
dio: ^5.4.1
ffi: ^2.1.2
Expand Down Expand Up @@ -87,9 +87,9 @@ dependencies:
timezone_to_country: ^2.1.0
json_path: ^0.7.1
# permission_handler: ^11.3.0 # is not compatible with windows
#flutter_easy_permission: ^1.1.2
flutter_easy_permission:
git:
url: https://github.com/MichaelStH/flutter_easy_permission/
git: https://github.com/unger1984/flutter_easy_permission.git
in_app_review: ^2.0.9
# circle_flags: ^4.0.2
circle_flags:
Expand Down

0 comments on commit e9bbb91

Please sign in to comment.