Skip to content

Commit

Permalink
Update Dart and Flutter SDK constraints (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim authored Jun 19, 2023
1 parent 9491213 commit 7dca81f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Update the Dart SDK constraint.

## 0.2.6

* Upgrade ffigen to 7.2.9.
Expand Down
4 changes: 4 additions & 0 deletions packages/tizen_interop_callbacks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Align Dart and Flutter SDK constraints.

## 0.1.0

* Initial release.
2 changes: 2 additions & 0 deletions packages/tizen_interop_callbacks/README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion packages/tizen_interop_callbacks/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/tizen_interop_callbacks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
scripts/ffigen_helper.sh <version>
```

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.

0 comments on commit 7dca81f

Please sign in to comment.