Skip to content

Commit 4f07ad3

Browse files
committed
Update webview_flutter for flutter beta
1 parent 3efe5e1 commit 4f07ad3

File tree

61 files changed

+755
-731
lines changed

Some content is hidden

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

61 files changed

+755
-731
lines changed

webview_flutter/codelab_rebuild.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,18 @@ steps:
5252
// You can update the following values to match your application needs.
5353
// For more information, see: https://flutter.dev/to/review-gradle-config.
5454
- minSdk = flutter.minSdkVersion
55-
+ minSdk = 20
55+
+ minSdk = 21
5656
targetSdk = flutter.targetSdkVersion
5757
versionCode = flutter.versionCode
5858
versionName = flutter.versionName
5959
- name: Build iOS
6060
platforms: [ macos ]
6161
path: webview_in_flutter
6262
flutter: build ios --simulator
63+
- name: Build Android
64+
platforms: [ macos ]
65+
path: webview_in_flutter
66+
flutter: build apk
6367
- name: Copy step_03
6468
copydir:
6569
from: webview_in_flutter

webview_flutter/step_03/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

webview_flutter/step_03/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
applicationId = "com.example.webview_in_flutter"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
27-
minSdk = 20
27+
minSdk = 21
2828
targetSdk = flutter.targetSdkVersion
2929
versionCode = flutter.versionCode
3030
versionName = flutter.versionName

webview_flutter/step_03/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip

webview_flutter/step_03/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "7.3.0" apply false
22-
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
21+
id "com.android.application" version "8.1.0" apply false
22+
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
2323
}
2424

2525
include ":app"

webview_flutter/step_03/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 67 additions & 67 deletions
Large diffs are not rendered by default.

webview_flutter/step_03/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies:
3535
# The following adds the Cupertino Icons font to your application.
3636
# Use with the CupertinoIcons class for iOS style icons.
3737
cupertino_icons: ^1.0.8
38-
webview_flutter: ^4.9.0
38+
webview_flutter: ^4.10.0
3939

4040
dev_dependencies:
4141
flutter_test:
@@ -46,7 +46,7 @@ dev_dependencies:
4646
# activated in the `analysis_options.yaml` file located at the root of your
4747
# package. See that file for information about deactivating specific lint
4848
# rules and activating additional ones.
49-
flutter_lints: ^4.0.0
49+
flutter_lints: ^5.0.0
5050

5151
# For information on the generic Dart part of this file, see the
5252
# following page: https://dart.dev/tools/pub/pubspec

webview_flutter/step_04/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

webview_flutter/step_04/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
applicationId = "com.example.webview_in_flutter"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
27-
minSdk = 20
27+
minSdk = 21
2828
targetSdk = flutter.targetSdkVersion
2929
versionCode = flutter.versionCode
3030
versionName = flutter.versionName

webview_flutter/step_04/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip

0 commit comments

Comments
 (0)