File tree Expand file tree Collapse file tree 11 files changed +22
-27
lines changed
Runner.xcodeproj/xcshareddata/xcschemes Expand file tree Collapse file tree 11 files changed +22
-27
lines changed Original file line number Diff line number Diff line change @@ -5,24 +5,6 @@ plugins {
5
5
id " dev.flutter.flutter-gradle-plugin"
6
6
}
7
7
8
- def localProperties = new Properties ()
9
- def localPropertiesFile = rootProject. file(' local.properties' )
10
- if (localPropertiesFile. exists()) {
11
- localPropertiesFile. withReader(' UTF-8' ) { reader ->
12
- localProperties. load(reader)
13
- }
14
- }
15
-
16
- def flutterVersionCode = localProperties. getProperty(' flutter.versionCode' )
17
- if (flutterVersionCode == null ) {
18
- flutterVersionCode = ' 1'
19
- }
20
-
21
- def flutterVersionName = localProperties. getProperty(' flutter.versionName' )
22
- if (flutterVersionName == null ) {
23
- flutterVersionName = ' 1.0'
24
- }
25
-
26
8
android {
27
9
namespace " com.fluttercandies.wechatAssetsPickerExample"
28
10
compileSdk flutter. compileSdkVersion
@@ -34,9 +16,9 @@ android {
34
16
defaultConfig {
35
17
applicationId " com.fluttercandies.wechatAssetsPickerExample"
36
18
minSdkVersion 21
37
- targetSdkVersion flutter. targetSdkVersion
38
- versionCode flutterVersionCode . toInteger()
39
- versionName flutterVersionName
19
+ targetSdk flutter. targetSdkVersion
20
+ versionCode flutter . versionCode
21
+ versionName flutter . versionName
40
22
}
41
23
42
24
kotlinOptions {
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.3 -bin.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ pluginManagement {
19
19
20
20
plugins {
21
21
id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
22
- id " com.android.application" version " 8.2.2 " apply false
23
- id " org.jetbrains.kotlin.android" version " 1.9.21 " apply false
22
+ id " com.android.application" version " 8.6.1 " apply false
23
+ id " org.jetbrains.kotlin.android" version " 2.1.10 " apply false
24
24
}
25
25
26
26
include " :app"
Original file line number Diff line number Diff line change 266
266
);
267
267
runOnlyForDeploymentPostprocessing = 0;
268
268
shellPath = /bin/sh;
269
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
269
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n ";
270
270
};
271
271
/* End PBXShellScriptBuildPhase section */
272
272
Original file line number Diff line number Diff line change 26
26
buildConfiguration = " Debug"
27
27
selectedDebuggerIdentifier = " Xcode.DebuggerFoundation.Debugger.LLDB"
28
28
selectedLauncherIdentifier = " Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ customLLDBInitFile = " $(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
29
30
shouldUseLaunchSchemeArgsEnv = " YES" >
30
31
<MacroExpansion >
31
32
<BuildableReference
54
55
buildConfiguration = " Debug"
55
56
selectedDebuggerIdentifier = " Xcode.DebuggerFoundation.Debugger.LLDB"
56
57
selectedLauncherIdentifier = " Xcode.DebuggerFoundation.Launcher.LLDB"
58
+ customLLDBInitFile = " $(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
57
59
launchStyle = " 0"
58
60
useCustomWorkingDirectory = " NO"
59
61
ignoresPersistentStateOnLaunch = " NO"
60
62
debugDocumentVersioning = " YES"
61
63
debugServiceExtension = " internal"
64
+ enableGPUValidationMode = " 1"
62
65
allowLocationSimulation = " YES" >
63
66
<BuildableProductRunnable
64
67
runnableDebuggingMode = " 0" >
Original file line number Diff line number Diff line change 15
15
<key >CFBundleInfoDictionaryVersion </key >
16
16
<string >6.0 </string >
17
17
<key >CFBundleName </key >
18
- <string >com.fluttercandies.wechatAssetsPickerExample </string >
18
+ <string >flutter_wechat_assets_picker_example </string >
19
19
<key >CFBundlePackageType </key >
20
20
<string >APPL </string >
21
21
<key >CFBundleShortVersionString </key >
Original file line number Diff line number Diff line change
1
+ // ignore: unused_import
2
+ import 'package:intl/intl.dart' as intl;
1
3
import 'app_localizations.dart' ;
2
4
3
5
// ignore_for_file: type=lint
Original file line number Diff line number Diff line change
1
+ // ignore: unused_import
2
+ import 'package:intl/intl.dart' as intl;
1
3
import 'app_localizations.dart' ;
2
4
3
5
// ignore_for_file: type=lint
Original file line number Diff line number Diff line change 59
59
ignoresPersistentStateOnLaunch = " NO"
60
60
debugDocumentVersioning = " YES"
61
61
debugServiceExtension = " internal"
62
+ enableGPUValidationMode = " 1"
62
63
allowLocationSimulation = " YES" >
63
64
<BuildableProductRunnable
64
65
runnableDebuggingMode = " 0" >
Original file line number Diff line number Diff line change 1
1
import Cocoa
2
2
import FlutterMacOS
3
3
4
- @NSApplicationMain
4
+ @main
5
5
class AppDelegate : FlutterAppDelegate {
6
6
override func applicationShouldTerminateAfterLastWindowClosed( _ sender: NSApplication ) -> Bool {
7
7
return true
8
8
}
9
+
10
+ override func applicationSupportsSecureRestorableState( _ app: NSApplication ) -> Bool {
11
+ return true
12
+ }
9
13
}
Original file line number Diff line number Diff line change @@ -28,5 +28,6 @@ dev_dependencies:
28
28
29
29
flutter :
30
30
uses-material-design : true
31
+ generate : true
31
32
assets :
32
33
- assets/
You can’t perform that action at this time.
0 commit comments