Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev_packages/generators/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ publish_to: none

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class _ParameterDialogState extends State<ParameterDialog> {
}

Future<void> _pickBytes(List<Object> path) async {
final result = await FilePicker.platform.pickFiles(withData: true);
final result = await FilePicker.pickFiles(withData: true);
if (result == null || result.files.isEmpty) return;

final bytes = result.files.first.bytes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
)

set(PLUGIN_BUNDLED_LIBRARIES)
Expand Down
8 changes: 4 additions & 4 deletions flutter_inappwebview/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish_to: none

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand All @@ -29,8 +29,8 @@ dependencies:
pointer_interceptor: ^0.10.1+2
shared_preferences: ^2.5.4
provider: ^6.1.5
intl: ^0.18.1
file_picker: ^10.3.8
intl: ^0.20.2
file_picker: ^12.0.0-beta.3
# mime: ^1.0.4
# connectivity: ^0.4.5+6
flutter_inappwebview:
Expand Down Expand Up @@ -64,7 +64,7 @@ dev_dependencies:
# git:
# url: https://github.com/flutter/plugins.git
# path: packages/integration_test
flutter_lints: ^4.0.0
flutter_lints: ^6.0.0

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec
Expand Down
3 changes: 2 additions & 1 deletion flutter_inappwebview/example/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ add_definitions(-DUNICODE -D_UNICODE)
# default. In most cases, you should add new options to specific targets instead
# of modifying this function.
function(APPLY_STANDARD_SETTINGS TARGET)
target_compile_features(${TARGET} PUBLIC cxx_std_17)
target_compile_features(${TARGET} PUBLIC cxx_std_20)
target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100")
target_compile_options(${TARGET} PRIVATE /EHsc)
target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0")
target_compile_definitions(${TARGET} PRIVATE "$<$<CONFIG:Debug>:_DEBUG>")
target_compile_definitions(${TARGET} PRIVATE "_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS")
endfunction()

# Flutter library and tool build rules.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
)

set(PLUGIN_BUNDLED_LIBRARIES)
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_android/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_ios/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.17.0 <4.0.0"
flutter: ">=3.0.0"
flutter: ">=3.44.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
1 change: 1 addition & 0 deletions flutter_inappwebview_linux/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ^3.10.4
flutter: ">=3.44.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_linux/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_macos/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.17.0 <4.0.0"
flutter: ">=3.0.0"
flutter: ">=3.44.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_macos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,20 @@ because there isn't any way to make the website data store non-persistent for th

///Sets the path to the Application Caches files. In order for the Application Caches API to be enabled, this option must be set a path to which the application can write.
///This option is used one time: repeated calls are ignored.
///
///On Windows, this path is used as the `userDataFolder` for the WebView2 environment,
///allowing cookies, cache, and other browsing data to persist across app restarts.
///If not set, a default folder under `%LOCALAPPDATA%\flutter_inappwebview` is used.
///This setting is only used when no explicit [WebViewEnvironment] is provided.
@SupportedPlatforms(
platforms: [AndroidPlatform(apiName: "WebSettings.setAppCachePath")],
platforms: [
AndroidPlatform(apiName: "WebSettings.setAppCachePath"),
WindowsPlatform(
apiName: "CreateCoreWebView2EnvironmentWithOptions.userDataFolder",
apiUrl:
'https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.2210.55#createcorewebview2environmentwithoptions',
),
],
)
String? appCachePath;

Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_web/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.17.0 <4.0.0"
flutter: ">=3.0.0"
flutter: ">=3.44.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:

environment:
sdk: ^3.8.0
flutter: ">=3.32.0"
flutter: ">=3.44.0"

dependencies:
flutter:
Expand Down
5 changes: 4 additions & 1 deletion flutter_inappwebview_windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
## 0.7.0-beta.3

- Updated flutter_inappwebview_platform_interface version to ^1.4.0-beta.3
- Updated Microsoft.Web.WebView2 SDK version from `1.0.2849.39` to `1.0.3650.58`
- Updated Microsoft.Web.WebView2 SDK version from `1.0.3650.58` to `1.0.3800.47`
- Updated Microsoft.Windows.ImplementationLibrary version from `1.0.250325.1` to `1.0.260126.7`
- Fixed touchpad and mouse scroll not working in WebView2 composition mode by accumulating fractional scroll deltas
- Fixed cookies and browsing data not persisting across app restarts by using a persistent user data folder in LocalAppData when no WebViewEnvironment is provided
- Implemented `getFrameId`, `getFavicon`, `showSaveAsUI`, `getMemoryUsageTargetLevel`, `setMemoryUsageTargetLevel` InAppWebViewController method
- Added support for `onEnterFullscreen`, `onExitFullscreen`, `onContentLoading`, `onDOMContentLoaded`, `onLaunchingExternalUriScheme`, `onFaviconChanged`, `onNotificationReceived`, `onSaveAsUIShowing`, `onSaveFileSecurityCheckStarting`, `onScreenCaptureStarting` WebView events.
- Added native FindInteractionController implementation using WebView2 `ICoreWebView2Find`.
Expand Down
2 changes: 1 addition & 1 deletion flutter_inappwebview_windows/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class _MyAppState extends State<MyApp> {
late WindowsFindInteractionController findInteractionController;

final TextEditingController urlController = TextEditingController(
text: 'https://flutter.dev',
text: 'https://sms.tccl.co.in/index.php/lco_portal/Home/dashboard',
);
final TextEditingController webMessageController = TextEditingController(
text: 'Hello from Flutter',
Expand Down
36 changes: 19 additions & 17 deletions flutter_inappwebview_windows/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.4.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -78,16 +78,18 @@ packages:
flutter_inappwebview_internal_annotations:
dependency: transitive
description:
path: "../../dev_packages/flutter_inappwebview_internal_annotations"
relative: true
source: path
name: flutter_inappwebview_internal_annotations
sha256: e30fba942e3debea7b7e6cdd4f0f59ce89dd403a9865193e3221293b6d1544c6
url: "https://pub.dev"
source: hosted
version: "1.3.0"
flutter_inappwebview_platform_interface:
dependency: transitive
description:
path: "../../flutter_inappwebview_platform_interface"
relative: true
source: path
name: flutter_inappwebview_platform_interface
sha256: e3522c76e6760d1c0a9ff690e30e1503f226783d3277fa4d26675911977e9766
url: "https://pub.dev"
source: hosted
version: "1.4.0-beta.3"
flutter_inappwebview_windows:
dependency: "direct main"
Expand Down Expand Up @@ -155,26 +157,26 @@ packages:
dependency: transitive
description:
name: matcher
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
url: "https://pub.dev"
source: hosted
version: "0.12.17"
version: "0.12.18"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
url: "https://pub.dev"
source: hosted
version: "0.11.1"
version: "0.13.0"
meta:
dependency: transitive
description:
name: meta
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.18.0"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -264,10 +266,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
url: "https://pub.dev"
source: hosted
version: "0.7.7"
version: "0.7.9"
vector_math:
dependency: transitive
description:
Expand All @@ -293,5 +295,5 @@ packages:
source: hosted
version: "3.0.3"
sdks:
dart: ">=3.8.0 <4.0.0"
dart: ">=3.9.0-0 <4.0.0"
flutter: ">=3.32.0"
1 change: 1 addition & 0 deletions flutter_inappwebview_windows/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: '>=3.2.3 <4.0.0'
flutter: ">=3.44.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ add_definitions(-DUNICODE -D_UNICODE)
# default. In most cases, you should add new options to specific targets instead
# of modifying this function.
function(APPLY_STANDARD_SETTINGS TARGET)
target_compile_features(${TARGET} PUBLIC cxx_std_17)
target_compile_features(${TARGET} PUBLIC cxx_std_20)
target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100")
target_compile_options(${TARGET} PRIVATE /EHsc)
target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0")
Expand Down
Loading