File tree Expand file tree Collapse file tree 9 files changed +64
-10
lines changed Expand file tree Collapse file tree 9 files changed +64
-10
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ if (keystorePropertiesFile.exists()) {
26
26
android {
27
27
namespace " com.example.flutter_uis"
28
28
compileSdk 35
29
- ndkVersion ' 26.1.10909125 '
29
+ ndkVersion ' 27.2.12479018 '
30
30
31
31
compileOptions {
32
+ coreLibraryDesugaringEnabled true
32
33
sourceCompatibility JavaVersion . VERSION_1_8
33
34
targetCompatibility JavaVersion . VERSION_1_8
34
35
}
@@ -44,7 +45,7 @@ android {
44
45
defaultConfig {
45
46
applicationId " com.onemdev.flutter_ui_challenges"
46
47
vectorDrawables. useSupportLibrary = true
47
- minSdk 21
48
+ minSdk 23
48
49
targetSdk 35
49
50
multiDexEnabled true
50
51
versionCode 25
@@ -73,4 +74,6 @@ flutter {
73
74
source ' ../..'
74
75
}
75
76
76
- dependencies {}
77
+ dependencies {
78
+ coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:1.2.2'
79
+ }
Original file line number Diff line number Diff line change 3
3
android : label =" Flutter UI Designs"
4
4
android : name =" ${applicationName}"
5
5
android : icon =" @mipmap/ic_launcher" >
6
+ <property
7
+ android : name =" android.adservices.AD_SERVICES_CONFIG"
8
+ android : resource =" @xml/gma_ad_services_config"
9
+ tools : replace =" android:resource" />
10
+
6
11
<meta-data
7
12
android : name =" com.google.android.gms.ads.APPLICATION_ID"
8
13
android : value =" ca-app-pub-9217632370383904~9670702548" />
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import 'package:flutter/services.dart';
3
3
import 'package:flutter_font_icons/flutter_font_icons.dart' ;
4
4
import 'package:flutter_uis/configs/Ads.dart' ;
5
5
import 'package:google_mobile_ads/google_mobile_ads.dart' ;
6
+ import 'package:share_plus/share_plus.dart' ;
6
7
import 'package:supercharged/supercharged.dart' ;
7
- import 'package:share/share.dart' ;
8
8
9
9
import 'package:flutter_uis/configs/AppDimensions.dart' ;
10
10
import 'package:flutter_uis/configs/App.dart' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
2
2
import 'package:flutter/services.dart' ;
3
3
import 'package:flutter_font_icons/flutter_font_icons.dart' ;
4
4
import 'package:supercharged/supercharged.dart' ;
5
- import 'package:share/share .dart' ;
5
+ import 'package:share_plus/share_plus .dart' ;
6
6
7
7
import 'package:flutter_uis/configs/AppDimensions.dart' ;
8
8
import 'package:flutter_uis/configs/App.dart' ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import firebase_messaging
12
12
import flutter_local_notifications
13
13
import package_info_plus
14
14
import path_provider_foundation
15
+ import share_plus
15
16
import url_launcher_macos
16
17
17
18
func RegisterGeneratedPlugins( registry: FlutterPluginRegistry ) {
@@ -22,5 +23,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
22
23
FlutterLocalNotificationsPlugin . register ( with: registry. registrar ( forPlugin: " FlutterLocalNotificationsPlugin " ) )
23
24
FPPPackageInfoPlusPlugin . register ( with: registry. registrar ( forPlugin: " FPPPackageInfoPlusPlugin " ) )
24
25
PathProviderPlugin . register ( with: registry. registrar ( forPlugin: " PathProviderPlugin " ) )
26
+ SharePlusMacosPlugin . register ( with: registry. registrar ( forPlugin: " SharePlusMacosPlugin " ) )
25
27
UrlLauncherPlugin . register ( with: registry. registrar ( forPlugin: " UrlLauncherPlugin " ) )
26
28
}
Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ packages:
97
97
url: "https://pub.dev"
98
98
source: hosted
99
99
version: "1.9.2"
100
+ cross_file:
101
+ dependency: transitive
102
+ description:
103
+ name: cross_file
104
+ sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670"
105
+ url: "https://pub.dev"
106
+ source: hosted
107
+ version: "0.3.4+2"
100
108
crypto:
101
109
dependency: transitive
102
110
description:
@@ -281,6 +289,14 @@ packages:
281
289
url: "https://pub.dev"
282
290
source: hosted
283
291
version: "0.1.7+1"
292
+ fixnum:
293
+ dependency: transitive
294
+ description:
295
+ name: fixnum
296
+ sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be
297
+ url: "https://pub.dev"
298
+ source: hosted
299
+ version: "1.1.1"
284
300
flutter:
285
301
dependency: "direct main"
286
302
description: flutter
@@ -732,14 +748,22 @@ packages:
732
748
url: "https://pub.dev"
733
749
source: hosted
734
750
version: "2.5.1"
735
- share :
751
+ share_plus :
736
752
dependency: "direct main"
737
753
description:
738
- name: share
739
- sha256: "97e6403f564ed1051a01534c2fc919cb6e40ea55e60a18ec23cee6e0ce19f4be"
754
+ name: share_plus
755
+ sha256: "9c9bafd4060728d7cdb2464c341743adbd79d327cb067ec7afb64583540b47c8"
756
+ url: "https://pub.dev"
757
+ source: hosted
758
+ version: "10.1.2"
759
+ share_plus_platform_interface:
760
+ dependency: transitive
761
+ description:
762
+ name: share_plus_platform_interface
763
+ sha256: c57c0bbfec7142e3a0f55633be504b796af72e60e3c791b44d5a017b985f7a48
740
764
url: "https://pub.dev"
741
765
source: hosted
742
- version: "2 .0.4 "
766
+ version: "5 .0.1 "
743
767
shelf:
744
768
dependency: transitive
745
769
description:
@@ -809,6 +833,14 @@ packages:
809
833
url: "https://pub.dev"
810
834
source: hosted
811
835
version: "1.10.0"
836
+ sprintf:
837
+ dependency: transitive
838
+ description:
839
+ name: sprintf
840
+ sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23"
841
+ url: "https://pub.dev"
842
+ source: hosted
843
+ version: "7.0.0"
812
844
stack_trace:
813
845
dependency: transitive
814
846
description:
@@ -1009,6 +1041,14 @@ packages:
1009
1041
url: "https://pub.dev"
1010
1042
source: hosted
1011
1043
version: "3.1.2"
1044
+ uuid:
1045
+ dependency: transitive
1046
+ description:
1047
+ name: uuid
1048
+ sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff
1049
+ url: "https://pub.dev"
1050
+ source: hosted
1051
+ version: "4.5.1"
1012
1052
vector_math:
1013
1053
dependency: transitive
1014
1054
description:
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ dependencies:
46
46
firebase_crashlytics : 4.1.2
47
47
firebase_performance : 0.10.0+7
48
48
49
- share : 2.0.4
49
+ share_plus : 10.1.2
50
50
hive : 2.2.3
51
51
open_url : 2.0.1
52
52
hive_flutter : 1.1.0
Original file line number Diff line number Diff line change 7
7
#include " generated_plugin_registrant.h"
8
8
9
9
#include < firebase_core/firebase_core_plugin_c_api.h>
10
+ #include < share_plus/share_plus_windows_plugin_c_api.h>
10
11
#include < url_launcher_windows/url_launcher_windows.h>
11
12
12
13
void RegisterPlugins (flutter::PluginRegistry* registry) {
13
14
FirebaseCorePluginCApiRegisterWithRegistrar (
14
15
registry->GetRegistrarForPlugin (" FirebaseCorePluginCApi" ));
16
+ SharePlusWindowsPluginCApiRegisterWithRegistrar (
17
+ registry->GetRegistrarForPlugin (" SharePlusWindowsPluginCApi" ));
15
18
UrlLauncherWindowsRegisterWithRegistrar (
16
19
registry->GetRegistrarForPlugin (" UrlLauncherWindows" ));
17
20
}
Original file line number Diff line number Diff line change 4
4
5
5
list (APPEND FLUTTER_PLUGIN_LIST
6
6
firebase_core
7
+ share_plus
7
8
url_launcher_windows
8
9
)
9
10
You can’t perform that action at this time.
0 commit comments