Skip to content

Commit

Permalink
Revert to sdk 33
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanSarwar45 committed Dec 17, 2023
1 parent 84319e9 commit c8dda74
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 24 deletions.
8 changes: 7 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.vicolo.chrono"> android:installLocation="internalOnly" > <uses-permission
package="com.vicolo.chrono" android:installLocation="internalOnly">
<uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission
android:name="android.permission.WAKE_LOCK" />
Expand All @@ -12,9 +13,14 @@
android:name="android.permission.VIBRATE" />
<uses-permission
android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<!-- For apps with targetSDK=31 (Android 12) -->
<uses-permission
android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission
android:name="android.permission.USE_EXACT_ALARM" />

<application
android:label="Chrono"
tools:replace="android:label"
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
buildscript {
ext.kotlin_version = '1.9.0'
ext {
compileSdkVersion = 34
targetSdkVersion = 34
appCompatVersion = "1.6.1"
compileSdkVersion = 33
targetSdkVersion = 33
appCompatVersion = "1.4.2"
}
repositories {
google()
Expand Down
28 changes: 14 additions & 14 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ packages:
dependency: "direct main"
description:
name: awesome_notifications
sha256: "65f730f9c0e73a346039ef746384bcff1773f9f03821b859705a7ab8db977b23"
sha256: "2b430c75cc879d6cfd52bb6eb2b5c1591ed425347816408cdcbd3f6916bba14c"
url: "https://pub.dev"
source: hosted
version: "0.8.2"
version: "0.7.4+1"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -301,10 +301,10 @@ packages:
dependency: "direct main"
description:
name: flutter_fgbg
sha256: "08c4d2fd229e3df26083d5aecc3dea9ff4f2d188f8cd57aaf2b3f047bd08a047"
sha256: d37511eef6afb7e2e3f2278ec6498bb12c650ed517c81bcd09452d910e8b9174
url: "https://pub.dev"
source: hosted
version: "0.3.0"
version: "0.2.2"
flutter_html:
dependency: "direct main"
description:
Expand Down Expand Up @@ -373,18 +373,18 @@ packages:
dependency: "direct dev"
description:
name: flutter_lints
sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.dev"
source: hosted
version: "3.0.1"
version: "2.0.3"
flutter_slidable:
dependency: "direct main"
description:
name: flutter_slidable
sha256: "19ed4813003a6ff4e9c6bcce37e792a2a358919d7603b2b31ff200229191e44c"
sha256: "6c68e1fad129b4b807b2218ef4cf7f7f6f61c5ec8861c990dc2278d9d03cb09f"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
version: "2.0.0"
flutter_system_ringtones:
dependency: "direct main"
description:
Expand Down Expand Up @@ -488,10 +488,10 @@ packages:
dependency: "direct main"
description:
name: intl
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91"
url: "https://pub.dev"
source: hosted
version: "0.18.1"
version: "0.17.0"
introduction_screen:
dependency: "direct main"
description:
Expand Down Expand Up @@ -544,10 +544,10 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "2.1.1"
list_counter:
dependency: transitive
description:
Expand Down Expand Up @@ -821,10 +821,10 @@ packages:
dependency: "direct main"
description:
name: table_calendar
sha256: "1e3521a3e6d3fc7f645a58b135ab663d458ab12504f1ea7f9b4b81d47086c478"
sha256: "7f1270313c0cdb245b583ed8518982c01d4a7e95869b3c30abcbae3b642c45d0"
url: "https://pub.dev"
source: hosted
version: "3.0.9"
version: "3.0.8"
term_glyph:
dependency: transitive
description:
Expand Down
13 changes: 7 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 0.2.10+6

environment:
sdk: '>=3.2.0 <4.0.0'
sdk: ">=2.18.6 <3.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand All @@ -38,23 +38,23 @@ dependencies:
ref: master
# flutter_boot_receiver:
# path: "../flutter_boot_receiver"
intl: ^0.18.1
intl: ^0.17.0
timezone: ^0.9.1
timer_builder: ^2.0.0
path_provider: ^2.0.11
path: ^1.8.2
sqflite: ^2.2.2
flutter_slidable: ^3.0.1
flutter_slidable: ^2.0.0
flutter_system_ringtones: ^0.0.6
android_alarm_manager_plus:
git:
url: https://github.com/AhsanSarwar45/android_alarm_manager_plus
ref: main
just_audio: ^0.9.31
awesome_notifications: ^0.8.2
awesome_notifications: ^0.7.4+1
audio_session: ^0.1.13
flutter_windowmanager: ^0.2.0
flutter_fgbg: ^0.3.0
flutter_fgbg: ^0.2.2
move_to_background: ^1.0.2
vibration: ^1.7.6
great_list_view:
Expand Down Expand Up @@ -90,11 +90,12 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^3.0.1
flutter_lints: ^2.0.0
dart_code_metrics: ^5.5.1
change_app_package_name: ^1.1.0
flutter_launcher_icons: ^0.13.1


flutter_launcher_icons:
android: "ic_launcher"
image_path: "assets/icon/1024.png"
Expand Down

0 comments on commit c8dda74

Please sign in to comment.