diff --git a/CHANGELOG.md b/CHANGELOG.md index e531906..71370dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## NEXT + +* Update the Dart SDK constraint. + ## 0.2.6 * Upgrade ffigen to 7.2.9. diff --git a/packages/tizen_interop_callbacks/CHANGELOG.md b/packages/tizen_interop_callbacks/CHANGELOG.md index 6073234..be0b24e 100644 --- a/packages/tizen_interop_callbacks/CHANGELOG.md +++ b/packages/tizen_interop_callbacks/CHANGELOG.md @@ -1,3 +1,7 @@ +## NEXT + +* Align Dart and Flutter SDK constraints. + ## 0.1.0 * Initial release. diff --git a/packages/tizen_interop_callbacks/README.md b/packages/tizen_interop_callbacks/README.md index 2e012be..a81c6f6 100644 --- a/packages/tizen_interop_callbacks/README.md +++ b/packages/tizen_interop_callbacks/README.md @@ -1,5 +1,7 @@ # tizen_interop_callbacks +[![pub package](https://img.shields.io/pub/v/tizen_interop_callbacks.svg)](https://pub.dev/packages/tizen_interop_callbacks) + A Flutter plugin to resolve issues related to the error message: `Cannot invoke native callback outside an isolate`. This package is designed to be used with the [`tizen_interop`](https://pub.dev/packages/tizen_interop) package. diff --git a/packages/tizen_interop_callbacks/example/pubspec.yaml b/packages/tizen_interop_callbacks/example/pubspec.yaml index 035717f..3f96b31 100644 --- a/packages/tizen_interop_callbacks/example/pubspec.yaml +++ b/packages/tizen_interop_callbacks/example/pubspec.yaml @@ -3,7 +3,8 @@ description: Demonstrates how to use the tizen_interop_callbacks plugin. publish_to: "none" environment: - sdk: ">=2.18.0 <3.0.0" + sdk: ">=2.18.0 <4.0.0" + flutter: ">=3.3.0" dependencies: ffi: ^2.0.1 diff --git a/packages/tizen_interop_callbacks/pubspec.yaml b/packages/tizen_interop_callbacks/pubspec.yaml index 9e816fd..dd2f843 100644 --- a/packages/tizen_interop_callbacks/pubspec.yaml +++ b/packages/tizen_interop_callbacks/pubspec.yaml @@ -5,8 +5,8 @@ repository: https://github.com/flutter-tizen/tizen_interop/tree/main/packages/ti version: 0.1.0 environment: - sdk: ">=2.18.0 <3.0.0" - flutter: ">=2.5.0" + sdk: ">=2.18.0 <4.0.0" + flutter: ">=3.3.0" dependencies: ffi: ^2.0.1 diff --git a/pubspec.yaml b/pubspec.yaml index e9b2fd5..ff74107 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://github.com/flutter-tizen/tizen_interop version: 0.2.6 environment: - sdk: ">=2.17.0 <3.0.0" + sdk: ">=2.18.0 <4.0.0" dependencies: ffi: ^2.0.1 diff --git a/scripts/README.md b/scripts/README.md index a531cac..1c83704 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -23,9 +23,10 @@ scripts/ffigen_helper.sh ``` -4. Update callbacks data +4. Update callbacks data. + * Run `./generate_callbacks.sh verify` to check type substitution. Build errors will have to be addressed by editing `gen_callbacks.py`. If substitution is not found or assert fails - edit the type mapping - (see CallbackDataCollector.type_substitute() and maps used there: KNOWN\_TYPES, SPECIAL\_TYPES). + (see `CallbackDataCollector.type_substitute()` and maps used there: `KNOWN_TYPES`, `SPECIAL_TYPES`). * Run `./generate_callbacks.sh` to update `callbacks.cc` with callbacks data.