auth0 / auth0-flutter

Auth0 SDK for Flutter
https://pub.dev/documentation/auth0_flutter/latest/
Apache License 2.0
57 stars 36 forks source link

af: Update symlinks script to use relative path from symlink location #388

Closed Widcket closed 6 months ago

Widcket commented 6 months ago

πŸ“‹ Changes

flutter pub publish errors with the current symlinks. This PR updates the generate-symlinks.sh script to use the relative path from the symlink's location, and includes the regenerated symlinks.

Screenshot 2023-12-15 at 15 24 39

With these changes, flutter pub publish --dry-run does not error anymore.

🎯 Testing

The changes were tested manually with both the QS sample app, and the example app included in this repository.

codecov[bot] commented 6 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (253209a) 96.08% compared to head (32f6918) 96.30%. Report is 39 commits behind head on main.

Files Patch % Lines
...lutter/darwin/Classes/AuthAPI/AuthAPIHandler.swift 98.00% 0 Missing and 1 partial :warning:
...in/Classes/WebAuth/WebAuthLoginMethodHandler.swift 98.48% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #388 +/- ## ============================================ + Coverage 96.08% 96.30% +0.21% ============================================ Files 97 98 +1 Lines 1611 1596 -15 Branches 331 340 +9 ============================================ - Hits 1548 1537 -11 - Misses 49 50 +1 + Partials 14 9 -5 ``` | [Flag](https://app.codecov.io/gh/auth0/auth0-flutter/pull/388/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | Coverage Ξ” | | |---|---|---| | [auth0_flutter](https://app.codecov.io/gh/auth0/auth0-flutter/pull/388/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `100.00% <100.00%> (ΓΈ)` | | | [auth0_flutter_android](https://app.codecov.io/gh/auth0/auth0-flutter/pull/388/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `97.35% <ΓΈ> (+0.79%)` | :arrow_up: | | [auth0_flutter_ios](https://app.codecov.io/gh/auth0/auth0-flutter/pull/388/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `99.70% <99.70%> (-0.15%)` | :arrow_down: | | [auth0_flutter_platform_interface](https://app.codecov.io/gh/auth0/auth0-flutter/pull/388/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `87.03% <100.00%> (ΓΈ)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.