Skip to content

Commit 0f278f2

Browse files
committed
Flutter v3.19 Update
1 parent 21b69ff commit 0f278f2

File tree

82 files changed

+616
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+616
-196
lines changed

.metadata

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled.
4+
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
8-
channel: stable
7+
revision: "bae5e49bc2a867403c43b2aae2de8f8c33b037e4"
8+
channel: "stable"
99

1010
project_type: app
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
17-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
16+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
17+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
1818
- platform: android
19-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
20-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
19+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
20+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
2121
- platform: ios
22-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
23-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
22+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
23+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
2424
- platform: linux
25-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
26-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
25+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
26+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
2727
- platform: macos
28-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
29-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
28+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
29+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
3030
- platform: web
31-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
32-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
31+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
32+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
3333
- platform: windows
34-
create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
35-
base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851
34+
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
35+
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
3636

3737
# User provided section
3838

android/app/build.gradle

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
}
6+
17
def localProperties = new Properties()
28
def localPropertiesFile = rootProject.file('local.properties')
39
if (localPropertiesFile.exists()) {
@@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
612
}
713
}
814

9-
def flutterRoot = localProperties.getProperty('flutter.sdk')
10-
if (flutterRoot == null) {
11-
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12-
}
13-
1415
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1516
if (flutterVersionCode == null) {
1617
flutterVersionCode = '1'
@@ -21,12 +22,10 @@ if (flutterVersionName == null) {
2122
flutterVersionName = '1.0'
2223
}
2324

24-
apply plugin: 'com.android.application'
25-
apply plugin: 'kotlin-android'
26-
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27-
2825
android {
29-
compileSdkVersion flutter.compileSdkVersion
26+
namespace "com.minimal"
27+
compileSdk flutter.compileSdkVersion
28+
ndkVersion flutter.ndkVersion
3029

3130
compileOptions {
3231
sourceCompatibility JavaVersion.VERSION_1_8
@@ -63,6 +62,4 @@ flutter {
6362
source '../..'
6463
}
6564

66-
dependencies {
67-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
68-
}
65+
dependencies {}

android/app/src/debug/AndroidManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.minimal">
3-
<!-- Flutter needs it to communicate with the running application
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<!-- The INTERNET permission is required for development. Specifically,
3+
the Flutter tool needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->
66
<uses-permission android:name="android.permission.INTERNET"/>

android/app/src/main/AndroidManifest.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.minimal">
3-
<application
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<application
43
android:label="Minimal"
54
android:name="${applicationName}"
65
android:icon="@mipmap/ic_launcher">
@@ -31,4 +30,15 @@
3130
android:name="flutterEmbedding"
3231
android:value="2" />
3332
</application>
33+
<!-- Required to query activities that can process text, see:
34+
https://developer.android.com/training/package-visibility?hl=en and
35+
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
36+
37+
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
38+
<queries>
39+
<intent>
40+
<action android:name="android.intent.action.PROCESS_TEXT"/>
41+
<data android:mimeType="text/plain"/>
42+
</intent>
43+
</queries>
3444
</manifest>

android/app/src/main/kotlin/com/minimal/MainActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ package com.minimal
22

33
import io.flutter.embedding.android.FlutterActivity
44

5-
class MainActivity: FlutterActivity() {
6-
}
5+
class MainActivity: FlutterActivity()
37 Bytes
Loading
37 Bytes
Loading
37 Bytes
Loading
37 Bytes
Loading
37 Bytes
Loading

0 commit comments

Comments
 (0)