diff --git a/flutter_custom_tabs/CHANGELOG.md b/flutter_custom_tabs/CHANGELOG.md index e4ed70f5..3da3c5c5 100644 --- a/flutter_custom_tabs/CHANGELOG.md +++ b/flutter_custom_tabs/CHANGELOG.md @@ -1,3 +1,18 @@ +## 2.0.0-beta + +* Refactors the signature for launching a URL with Custom Tabs. +* Refactors the signature for manually closing Custom Tabs. +* Introduces a lightweight version of URL launching as an experimental feature. +* Supports the launch of deep link URLs. +* Supports the launch of Custom Tabs as a bottom sheet. +* Updates the `flutter_custom_tabs_platform_interface` package to version 2.0.0-beta. +* Updates the `flutter_custom_tabs_web` plugin package to version 2.0.0-beta+1. +* Migrates Android platform-specific implementations to the `flutter_custom_tabs_android` package plugin. +* Migrates iOS platform-specific implementations to the `flutter_custom_tabs_ios` package plugin. +* Updates the minimum supported SDK version to Flutter 3.0.0/Dart 2.17. + +For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/doc/migration-guides.md). + ## 1.2.1 - Fix the build error when depending on v1.2.0 plugin in some iOS projects([#101](https://github.com/droibit/flutter_custom_tabs/pull/101)). diff --git a/flutter_custom_tabs/README.md b/flutter_custom_tabs/README.md index 8241e608..2873069b 100644 --- a/flutter_custom_tabs/README.md +++ b/flutter_custom_tabs/README.md @@ -14,11 +14,11 @@ Add `flutter_custom_tabs` to the dependencies of your `pubspec.yaml`. ``` yaml dependencies: - flutter_custom_tabs: ^1.2.1 + flutter_custom_tabs: ^2.0.0-beta ``` > **Note** -> v2.0.0 includes breaking changes from v1.x. Please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/docs/migration-guides.md) when updating the plugin. +> v2.0.0 includes breaking changes from v1.x. Please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/doc/migration-guides.md) when updating the plugin. ### Requirements for Android - Android Gradle Plugin v7.4.0 and above. @@ -36,7 +36,7 @@ buildscript { ``` ## Usage -You can launch web URLs similar to `url_launcher` and specify options to customize appearance and behavior. +You can launch a web URL similar to `url_launcher` and specify options to customize appearance and behavior. | Android | iOS | | --- | --- | diff --git a/flutter_custom_tabs/docs/migration-guides.md b/flutter_custom_tabs/doc/migration-guides.md similarity index 100% rename from flutter_custom_tabs/docs/migration-guides.md rename to flutter_custom_tabs/doc/migration-guides.md diff --git a/flutter_custom_tabs/pubspec.yaml b/flutter_custom_tabs/pubspec.yaml index 87b0e704..0b54da30 100644 --- a/flutter_custom_tabs/pubspec.yaml +++ b/flutter_custom_tabs/pubspec.yaml @@ -1,10 +1,7 @@ name: flutter_custom_tabs -description: Flutter plugin for seamlessly displaying web content using Chrome Custom Tabs. -version: 1.2.1 -homepage: https://github.com/droibit/flutter_custom_tabs - -# TODO: To be removed before v2.0.0 release -publish_to: none +description: A Flutter plugin for mobile apps to launch a URL in Custom Tabs/SFSafariViewController. +version: 2.0.0-beta +repository: https://github.com/droibit/flutter_custom_tabs/tree/flutter_custom_tabs_2.0/flutter_custom_tabs environment: sdk: ">=2.17.0 <4.0.0" @@ -14,21 +11,10 @@ dependencies: flutter: sdk: flutter - # flutter_custom_tabs_platform_interface: ^1.2.0 - # TODO: To be removed before v2.0.0 release - flutter_custom_tabs_platform_interface: - path: ../flutter_custom_tabs_platform_interface - # TODO: To be removed before v2.0.0 release - # flutter_custom_tabs_android: ^2.0.0 - flutter_custom_tabs_android: - path: ../flutter_custom_tabs_android - # flutter_custom_tabs_ios: ^2.0.0 - flutter_custom_tabs_ios: - path: ../flutter_custom_tabs_ios - # flutter_custom_tabs_web: ^1.1.0 - # TODO: To be removed before v2.0.0 release - flutter_custom_tabs_web: - path: ../flutter_custom_tabs_web + flutter_custom_tabs_platform_interface: ^2.0.0-beta + flutter_custom_tabs_android: ^2.0.0-beta + flutter_custom_tabs_ios: ^2.0.0-beta + flutter_custom_tabs_web: ^2.0.0-beta+1 meta: ^1.9.1 dev_dependencies: