Skip to content
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

[flutter_appauth] fixed name of package file for Swift Package Manager support #579

Closed
wants to merge 5 commits into from
Closed
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
42 changes: 38 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
run: ./.github/workflows/scripts/install-tools.sh
- name: Build
run: melos run build:example_android
build_example_ios_stable:
name: Build iOS example app (stable channel)
build_example_ios_spm_disabled_stable:
name: Build iOS example app with Swift Package Manager disabled (stable channel)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -82,8 +82,26 @@ jobs:
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: ./.github/workflows/scripts/install-tools.sh
- name: Disable Swift Package Manager
run: flutter config --no-enable-swift-package-manager
- name: Build
run: melos run build:example_ios
build_example_ios_spm_enabled_stable:
name: Build iOS example app with Swift Package Manager enabled (stable channel)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: ./.github/workflows/scripts/install-tools.sh
- name: Enable Swift Package Manager
run: flutter config --enable-swift-package-manager
- name: Build
run: melos run build:example_ios
build_example_ios_3_13:
name: Build iOS example app (3.13)
runs-on: macos-latest
Expand All @@ -99,8 +117,24 @@ jobs:
run: ./.github/workflows/scripts/install-tools.sh
- name: Build
run: melos run build:example_ios
build_example_macos_stable:
name: Build macOS example app (stable channel)
build_example_macos_spm_disabled_stable:
name: Build macOS example app with Swift Package Manager disabled (stable channel)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: ./.github/workflows/scripts/install-tools.sh
- name: Disable Swift Package Manager
run: flutter config --no-enable-swift-package-manager
- name: Build
run: melos run build:example_macos
build_example_macos_spm_enabled_stable:
name: Build macOS example app with Swift Package Manager enabled (stable channel)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions flutter_appauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [8.0.3]

* [iOS][macOS] fixed an issue with setting up Swift Package Manager support. 8.0.2 has been retracted on pub.dev as result


## [8.0.2]

* [iOS][macOS] bumped AppAuth iOS dependency to 1.7.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
products: [
.library(name: "flutter-appauth", targets: ["flutter_appauth"])
],
dependencies: [.package(url: "https://github.com/openid/AppAuth-iOS", exact: "1.7.6")],
dependencies: [.package(url: "https://github.com/openid/AppAuth-iOS.git", exact: "1.7.6")],
targets: [
.target(
name: "flutter_appauth",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
products: [
.library(name: "flutter-appauth", targets: ["flutter_appauth"])
],
dependencies: [.package(url: "https://github.com/openid/AppAuth-iOS", exact: "1.7.6")]
dependencies: [.package(url: "https://github.com/openid/AppAuth-iOS.git", exact: "1.7.6")]
targets: [
.target(
name: "flutter_appauth",
Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flutter_appauth
description: This plugin provides an abstraction around the Android and iOS
AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID
Connect providers
version: 8.0.2
version: 8.0.3
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth

environment:
Expand Down
Loading