• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-flutter / 28404057994
86%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2026 09:34PM UTC
Jobs 3
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jun 2026 09:32PM UTC coverage: 85.21% (+0.07%) from 85.139%
28404057994

push

github

web-flow
fix(supabase_flutter): accept PasskeyAuthenticatorInterface instead of depending on passkeys (#1444)

## What

Removes the direct dependency on the
[`passkeys`](https://pub.dev/packages/passkeys) plugin.
`supabase_flutter` now depends only on
[`passkeys_platform_interface`](https://pub.dev/packages/passkeys_platform_interface)
and the experimental passkey methods accept a
`PasskeyAuthenticatorInterface`:

```dart
import 'package:passkeys/authenticator.dart';

final authenticator = PasskeyAuthenticator();

await supabase.auth.signInWithPasskey(authenticator);
await supabase.auth.registerPasskey(authenticator);
```

## Why

`supabase_flutter` only needs the WebAuthn request/response types and
the two ceremony methods. Bundling the full `passkeys` plugin forced
**every** app, even ones that never touch passkeys, to raise minimum
platform versions to iOS 16.0 / macOS 13.5 and pull in transitive deps
(`passkeys_doctor` → `device_info_plus`). Depending on the platform
interface and accepting an authenticator instance removes that.

## How

- `pubspec.yaml`: `passkeys` → `passkeys_platform_interface: ^2.7.0`.
- `registerPasskey` / `signInWithPasskey` take a
`PasskeyAuthenticatorInterface`. Both are `@experimental`, so no major
version bump.
- `passkey_options_mapper.dart`: imports types from
`passkeys_platform_interface`.
- Removed the now-unnecessary `device_info_plus` `dependency_overrides`
in the example (verified the example no longer pulls
`passkeys`/`device_info_plus` when the local package is linked).
- Updated the README passkeys section, including the `passkeys >=2.21.0`
floor consumers need for `PasskeyAuthenticator` to implement the
interface.

## Upstream dependency (now published)

This builds on **corbado/flutter-passkeys#247**, which adds
`PasskeyAuthenticatorInterface` to `passkeys_platform_interface` and
makes `passkeys`'s `PasskeyAuthenticator` implement it. Both changes are
non-breaking for those packages (the method signatures already mat... (continued)

0 of 4 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

1014 of 1190 relevant lines covered (85.21%)

2.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
0.0
0.0% packages/supabase_flutter/lib/src/supabase_passkey.dart

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% packages/supabase_flutter/lib/src/supabase_passkey.dart
Jobs
ID Job ID Ran Files Coverage
3 supabase_flutter - 28404057994.3 29 Jun 2026 09:34PM UTC 11
78.53
GitHub Action Run
2 storage_client - 28390347724.2 29 Jun 2026 05:26PM UTC 5
92.97
GitHub Action Run
3 supabase - 28390347724.3 29 Jun 2026 05:24PM UTC 15
81.8
GitHub Action Run
Source Files on build 28404057994
  • Tree
  • List 31
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28404057994
  • f05d4c6c on github
  • Prev Build on main (#28390347724)
  • Next Build on main (#28404380966)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc