File tree Expand file tree Collapse file tree 5 files changed +12
-14
lines changed Expand file tree Collapse file tree 5 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ apply plugin: 'kotlin-android'
33
33
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
34
34
35
35
android {
36
- compileSdkVersion 30
36
+ compileSdkVersion 33
37
37
38
38
sourceSets {
39
39
main. java. srcDirs + = ' src/main/kotlin'
@@ -47,9 +47,9 @@ android {
47
47
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
48
48
applicationId " com.projects.wallpaperapp"
49
49
minSdkVersion 24
50
- targetSdkVersion 30
51
- flutterVersionName = ' 1.2 '
52
- flutterVersionCode = ' 3 '
50
+ targetSdkVersion 33
51
+ flutterVersionName = ' 2.0 '
52
+ flutterVersionCode = ' 4 '
53
53
versionCode flutterVersionCode. toInteger()
54
54
versionName flutterVersionName
55
55
multiDexEnabled true
Original file line number Diff line number Diff line change 11
11
<uses-permission android : name =" android.permission.SET_WALLPAPER" />
12
12
<uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
13
13
<uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
14
+ <uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
14
15
15
16
16
17
<application
19
20
android : label =" Wallify"
20
21
android : icon =" @drawable/appicon" >
21
22
<activity
23
+ android : exported =" true"
22
24
android : name =" .MainActivity"
23
25
android : launchMode =" singleTop"
24
26
android : theme =" @style/LaunchTheme"
Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ class _ImageViewState extends State<ImageView> {
160
160
await permission.requestPermissions ([
161
161
PermissionGroup .storage,
162
162
PermissionGroup .camera,
163
- PermissionGroup .location
163
+ PermissionGroup .location ,
164
+ PermissionGroup .notification
164
165
]);
165
166
await permission.checkPermissionStatus (PermissionGroup .storage);
166
167
}
Original file line number Diff line number Diff line change @@ -134,13 +134,6 @@ packages:
134
134
url: "https://pub.dartlang.org"
135
135
source: hosted
136
136
version: "5.2.1"
137
- firebase_messaging:
138
- dependency: "direct main"
139
- description:
140
- name: firebase_messaging
141
- url: "https://pub.dartlang.org"
142
- source: hosted
143
- version: "6.0.16"
144
137
flutter:
145
138
dependency: "direct main"
146
139
description: flutter
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies:
21
21
http : ^0.12.1
22
22
cached_network_image : ^2.0.0
23
23
image_gallery_saver : ^1.2.2
24
- permission_handler : ^4.2.0+hotfix.3
24
+ permission_handler : any
25
25
esys_flutter_share :
26
26
bubble_bottom_bar : ^1.2.0
27
27
random_string : ^2.0.1
@@ -35,7 +35,9 @@ dependencies:
35
35
wallpaper_manager : ^1.0.10
36
36
flutter_cache_manager : ^2.0.0
37
37
facebook_audience_network : ^0.7.1
38
- firebase_messaging : ^6.0.9
38
+ # firebase_messaging: any
39
+
40
+
39
41
40
42
dev_dependencies :
41
43
flutter_test :
You can’t perform that action at this time.
0 commit comments