Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Sep 28, 2024
2 parents 09560f5 + 4c4d2b5 commit 24b1437
Show file tree
Hide file tree
Showing 19 changed files with 95 additions and 59 deletions.
12 changes: 12 additions & 0 deletions flutter_inappwebview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 6.1.2

- Updated minimum platform implementation versions

#### Windows Platform

- Implemented `pause`, `resume`, `getCertificate` methods for `InAppWebViewController`
- Implemented `onPermissionRequest` WebView event
- Fixed `InAppWebViewController.evaluateJavascript` not working with JSON objects
- Fixed `InAppWebViewManager::METHOD_CHANNEL_NAME` c++ value
- Fixed `InAppWebViewController.takeScreenshot` to behave consistently with the other platforms

## 6.1.1

- Updated README
Expand Down
14 changes: 7 additions & 7 deletions flutter_inappwebview/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_inappwebview
description: A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.
version: 6.1.1
version: 6.1.2
homepage: https://inappwebview.dev/
repository: https://github.com/pichillilorenzo/flutter_inappwebview
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
Expand All @@ -20,12 +20,12 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_inappwebview_platform_interface: ^1.1.0+1
flutter_inappwebview_android: ^1.1.0+3
flutter_inappwebview_ios: ^1.1.0+2
flutter_inappwebview_macos: ^1.1.0+2
flutter_inappwebview_web: ^1.1.0+1
flutter_inappwebview_windows: ^0.2.0
flutter_inappwebview_platform_interface: ^1.1.1
flutter_inappwebview_android: ^1.1.0+4
flutter_inappwebview_ios: ^1.1.0+3
flutter_inappwebview_macos: ^1.1.0+3
flutter_inappwebview_web: ^1.1.0+2
flutter_inappwebview_windows: ^0.3.0

dev_dependencies:
flutter_test:
Expand Down
8 changes: 6 additions & 2 deletions flutter_inappwebview_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
## ## 1.1.0+3
## 1.1.0+4

- Updated flutter_inappwebview_platform_interface version

## 1.1.0+3

- Fixed compilation error

## ## 1.1.0+2
## 1.1.0+2

- Updated pubspec.yaml

Expand Down
6 changes: 3 additions & 3 deletions flutter_inappwebview_android/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.1.0"
version: "1.1.0+3"
flutter_inappwebview_internal_annotations:
dependency: transitive
description:
Expand All @@ -94,10 +94,10 @@ packages:
dependency: transitive
description:
name: flutter_inappwebview_platform_interface
sha256: "491281ff6c15b205f04e4c11df4af23245a5b2cb1aa70113f6f42a1296836559"
sha256: da6c7bf193beba655bdfcd825b6c7f7b51da4944e1eb76bf9faddf685ca15fa2
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "1.1.1"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
4 changes: 2 additions & 2 deletions flutter_inappwebview_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_inappwebview_android
description: Android implementation of the flutter_inappwebview plugin.
version: 1.1.0+3
version: 1.1.0+4
homepage: https://inappwebview.dev/
repository: https://github.com/pichillilorenzo/flutter_inappwebview/tree/master/flutter_inappwebview_android
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
Expand All @@ -20,7 +20,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_inappwebview_platform_interface: ^1.1.0
flutter_inappwebview_platform_interface: ^1.1.1

dev_dependencies:
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions flutter_inappwebview_ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.0+3

- Updated flutter_inappwebview_platform_interface version

## ## 1.1.0+2

- Updated pubspec.yaml
Expand Down
6 changes: 3 additions & 3 deletions flutter_inappwebview_ios/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ packages:
path: ".."
relative: true
source: path
version: "1.1.0"
version: "1.1.0+3"
flutter_inappwebview_platform_interface:
dependency: transitive
description:
name: flutter_inappwebview_platform_interface
sha256: "491281ff6c15b205f04e4c11df4af23245a5b2cb1aa70113f6f42a1296836559"
sha256: da6c7bf193beba655bdfcd825b6c7f7b51da4944e1eb76bf9faddf685ca15fa2
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "1.1.1"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
4 changes: 2 additions & 2 deletions flutter_inappwebview_ios/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_inappwebview_ios
description: iOS implementation of the flutter_inappwebview plugin.
version: 1.1.0+2
version: 1.1.0+3
homepage: https://inappwebview.dev/
repository: https://github.com/pichillilorenzo/flutter_inappwebview/tree/master/flutter_inappwebview_ios
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
Expand All @@ -20,7 +20,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_inappwebview_platform_interface: ^1.1.0
flutter_inappwebview_platform_interface: ^1.1.1

dev_dependencies:
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions flutter_inappwebview_macos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.0+3

- Updated flutter_inappwebview_platform_interface version

## ## 1.1.0+2

- Updated pubspec.yaml
Expand Down
6 changes: 3 additions & 3 deletions flutter_inappwebview_macos/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ packages:
path: ".."
relative: true
source: path
version: "1.1.0"
version: "1.1.0+3"
flutter_inappwebview_platform_interface:
dependency: transitive
description:
name: flutter_inappwebview_platform_interface
sha256: "491281ff6c15b205f04e4c11df4af23245a5b2cb1aa70113f6f42a1296836559"
sha256: da6c7bf193beba655bdfcd825b6c7f7b51da4944e1eb76bf9faddf685ca15fa2
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "1.1.1"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
4 changes: 2 additions & 2 deletions flutter_inappwebview_macos/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_inappwebview_macos
description: macOS implementation of the flutter_inappwebview plugin.
version: 1.1.0+2
version: 1.1.0+3
homepage: https://inappwebview.dev/
repository: https://github.com/pichillilorenzo/flutter_inappwebview/tree/master/flutter_inappwebview_macos
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
Expand All @@ -20,7 +20,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_inappwebview_platform_interface: ^1.1.0
flutter_inappwebview_platform_interface: ^1.1.1

dev_dependencies:
flutter_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CreateWindowAction_ extends NavigationAction_ {
WindowsPlatform(
apiName: "ICoreWebView2WindowFeatures",
apiUrl:
"https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2windowfeatures?view=webview2-1.0.2210.55")
"https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2windowfeatures?view=webview2-1.0.2210.55")
])
WindowFeatures_? windowFeatures;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class NavigationAction_ {
"https://developer.android.com/reference/android/webkit/WebResourceRequest#hasGesture()",
note: "On Android < 21, this is always `false`"),
WindowsPlatform(
note: "Available only if the request is associated to the [PlatformWebViewCreationParams.onCreateWindow] event"
)
note:
"Available only if the request is associated to the [PlatformWebViewCreationParams.onCreateWindow] event")
])
bool? hasGesture;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_MICROPHONE',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 1)
])
static const MICROPHONE = PermissionResourceType_._internal('MICROPHONE');
Expand All @@ -51,7 +51,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_MIDI_SYSTEM_EXCLUSIVE_MESSAGES',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 11)
])
static const MIDI_SYSEX = PermissionResourceType_._internal('MIDI_SYSEX');
Expand Down Expand Up @@ -89,7 +89,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_CAMERA',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 2)
])
static const CAMERA = PermissionResourceType_._internal('CAMERA');
Expand Down Expand Up @@ -125,7 +125,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_UNKNOWN_PERMISSION',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 0)
])
static const UNKNOWN = PermissionResourceType_._internal('UNKNOWN');
Expand All @@ -135,7 +135,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_GEOLOCATION',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 3)
])
static const GEOLOCATION = PermissionResourceType_._internal('GEOLOCATION');
Expand All @@ -145,41 +145,45 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_NOTIFICATIONS',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 4)
])
static const NOTIFICATIONS = PermissionResourceType_._internal('NOTIFICATIONS');
static const NOTIFICATIONS =
PermissionResourceType_._internal('NOTIFICATIONS');

///Indicates permission to access generic sensor. Generic Sensor covers ambient-light-sensor, accelerometer, gyroscope, and magnetometer.
@EnumSupportedPlatforms(platforms: [
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_OTHER_SENSORS',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 5)
])
static const OTHER_SENSORS = PermissionResourceType_._internal('OTHER_SENSORS');
static const OTHER_SENSORS =
PermissionResourceType_._internal('OTHER_SENSORS');

///Indicates permission to read the system clipboard without a user gesture.
@EnumSupportedPlatforms(platforms: [
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_CLIPBOARD_READ',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 6)
])
static const CLIPBOARD_READ = PermissionResourceType_._internal('CLIPBOARD_READ');
static const CLIPBOARD_READ =
PermissionResourceType_._internal('CLIPBOARD_READ');

///Indicates permission to automatically download multiple files.
///Permission is requested when multiple downloads are triggered in quick succession.
@EnumSupportedPlatforms(platforms: [
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_MULTIPLE_AUTOMATIC_DOWNLOADS',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 7)
])
static const MULTIPLE_AUTOMATIC_DOWNLOADS = PermissionResourceType_._internal('MULTIPLE_AUTOMATIC_DOWNLOADS');
static const MULTIPLE_AUTOMATIC_DOWNLOADS =
PermissionResourceType_._internal('MULTIPLE_AUTOMATIC_DOWNLOADS');

///Indicates permission to read and write to files or folders on the device.
///Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API)
Expand All @@ -189,10 +193,11 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_FILE_READ_WRITE',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 8)
])
static const FILE_READ_WRITE = PermissionResourceType_._internal('FILE_READ_WRITE');
static const FILE_READ_WRITE =
PermissionResourceType_._internal('FILE_READ_WRITE');

///Indicates permission to play audio and video automatically on sites.
///This permission affects the autoplay attribute and play method of the audio
Expand All @@ -203,7 +208,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_AUTOPLAY',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 9)
])
static const AUTOPLAY = PermissionResourceType_._internal('AUTOPLAY');
Expand All @@ -215,7 +220,7 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_LOCAL_FONTS',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 10)
])
static const LOCAL_FONTS = PermissionResourceType_._internal('LOCAL_FONTS');
Expand All @@ -227,8 +232,9 @@ class PermissionResourceType_ {
EnumWindowsPlatform(
apiName: 'COREWEBVIEW2_PERMISSION_KIND_WINDOW_MANAGEMENT',
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2792.45#corewebview2_permission_kind',
value: 12)
])
static const WINDOW_MANAGEMENT = PermissionResourceType_._internal('WINDOW_MANAGEMENT');
static const WINDOW_MANAGEMENT =
PermissionResourceType_._internal('WINDOW_MANAGEMENT');
}
6 changes: 5 additions & 1 deletion flutter_inappwebview_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## ## 1.1.0+1
## 1.1.0+2

- Updated flutter_inappwebview_platform_interface version

## 1.1.0+1

- Updated pubspec.yaml

Expand Down
10 changes: 5 additions & 5 deletions flutter_inappwebview_web/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@ packages:
dependency: transitive
description:
name: flutter_inappwebview_platform_interface
sha256: "491281ff6c15b205f04e4c11df4af23245a5b2cb1aa70113f6f42a1296836559"
sha256: da6c7bf193beba655bdfcd825b6c7f7b51da4944e1eb76bf9faddf685ca15fa2
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "1.1.1"
flutter_inappwebview_web:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "1.1.0"
version: "1.1.0+2"
flutter_lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -295,10 +295,10 @@ packages:
dependency: transitive
description:
name: web
sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
url: "https://pub.dev"
source: hosted
version: "1.0.0"
version: "1.1.0"
webdriver:
dependency: transitive
description:
Expand Down
Loading

0 comments on commit 24b1437

Please sign in to comment.