Skip to content

[url_launcher] Make platform interface version constraint less tight #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2021
Merged
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
12 changes: 2 additions & 10 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,16 @@ on:
jobs:
analysis:
runs-on: ubuntu-latest
container:
image: google/dart:2.10.0-110.3.beta
steps:
- uses: actions/checkout@v2
- name: Install missing dependencies for flutter-action
run: |
apt update
apt install xz-utils
- uses: subosito/flutter-action@v1
with:
flutter-version: "1.22.0"
- name: Install pub dependencies
run: |
for d in `pwd`/packages/*/; do
cd $d
flutter pub get || true
flutter pub downgrade
done
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed packages
- name: Analyze project source
run: dart analyze --fatal-infos packages
run: flutter format --set-exit-if-changed packages
4 changes: 4 additions & 0 deletions packages/url_launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0

* Initial release.

## 1.0.1

* Migrate to Tizen 4.0
2 changes: 1 addition & 1 deletion packages/url_launcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This package is not an _endorsed_ implementation of `url_launcher`. Therefore, y
```yaml
dependencies:
url_launcher: ^5.7.5
url_launcher_tizen: ^1.0.0
url_launcher_tizen: ^1.0.1
```

Then you can import `url_launcher` in your Dart code:
Expand Down
4 changes: 2 additions & 2 deletions packages/url_launcher/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: url_launcher_example
description: Demonstrates how to use the url_launcher_tizen plugin.
publish_to: 'none'

dependencies:
flutter:
Expand All @@ -9,12 +10,11 @@ dependencies:
path: ../

dev_dependencies:
integration_test: ^0.9.2
integration_test: ^1.0.1
integration_test_tizen:
path: ../../integration_test/
flutter_driver:
sdk: flutter
pedantic: ^1.8.0

flutter:
uses-material-design: true
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/example/tizen/Runner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>tizen60</TargetFramework>
<TargetFramework>tizen40</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
5 changes: 3 additions & 2 deletions packages/url_launcher/example/tizen/tizen-manifest.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="org.tizen.url_launcher_example" version="1.0.0" api-version="5.5" xmlns="http://tizen.org/ns/packages">
<manifest package="org.tizen.url_launcher_example" version="1.0.0" api-version="4.0" xmlns="http://tizen.org/ns/packages">
<profile name="common"/>
<ui-application appid="org.tizen.url_launcher_example" exec="Runner.dll" type="dotnet" multiple="false" taskmanage="true" nodisplay="false" api-version="6" launch_mode="single">
<ui-application appid="org.tizen.url_launcher_example" exec="Runner.dll" type="dotnet" multiple="false" taskmanage="true" nodisplay="false" api-version="4" launch_mode="single">
<label>url_launcher_example</label>
<icon>ic_launcher.png</icon>
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true"/>
<metadata key="http://tizen.org/metadata/direct-launch" value="yes"/>
</ui-application>
<feature name="http://tizen.org/feature/screen.size.all"/>
<privileges>
Expand Down
5 changes: 2 additions & 3 deletions packages/url_launcher/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: url_launcher_tizen
description: Tizen implementation of the url_launcher plugin
homepage: https://github.com/flutter-tizen/plugins
version: 1.0.0
version: 1.0.1

flutter:
plugin:
Expand All @@ -13,7 +13,7 @@ flutter:
dependencies:
flutter:
sdk: flutter
url_launcher_platform_interface: 1.0.8
url_launcher_platform_interface: ^1.0.8
ffi: ^0.1.3
meta: ^1.1.7

Expand All @@ -22,7 +22,6 @@ dev_dependencies:
flutter_test:
sdk: flutter
mockito: ^4.1.1
pedantic: ^1.8.0
url_launcher: ^5.7.5

environment:
Expand Down