Migrate protocol_handler's custom protocol and deep-link capabilities to NativeAPI
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- dart, flutter, typescript
Rechercherichtung
Start with the linked protocol_handler README and public API references to map the existing registration, launch URL, event, and listener behavior. Then inspect NativeAPI's UrlOpener and its Dart/Flutter bindings and platform integrations. Done means equivalent APIs, setup documentation and a migration example cover Android, iOS, macOS, and Windows, with the listed scenarios validated on each.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Goal
Bring the full public capability set of protocol_handler into NativeAPI so Flutter apps can migrate without losing functionality.
Scope
Provide equivalents for:
register(String scheme)for custom protocol registration/configuration.getInitialUrl()for retrieving the URL that launched the app.onUrlReceivedfor incoming URL events.ProtocolListener.onProtocolUrlReceived(String url), listener attachment/removal, andlisteners/hasListenersinspection.
API names may change, but the migration guide should map every existing public capability to its NativeAPI equivalent.
Platform coverage
Match the source plugin's documented support: Android, iOS, macOS and Windows. Document the required Android intent filters, iOS/macOS URL scheme declarations, Windows runner integration and MSIX protocol activation configuration.
Acceptance criteria
- Expose equivalent APIs to Dart/Flutter.
- Document platform support, setup requirements and limitations.
- Provide a migration guide and example covering registration, launch URLs, incoming events and listener cleanup.
- Validate these scenarios on all four source-supported platforms.
Notes
NativeAPI's existing UrlOpener handles outbound URLs, not incoming protocol activations. The source plugin exposes no unregister API, so unregistration is not assumed to be part of migration parity. Linux support and other language bindings can be scoped separately.
References
- Vorherrschende Sprache
- TypeScript
- Sterne
- 172
- Forks
- 16
- Ø Merge
- 40 Min.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus libnativeapi/nativeapi
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
libnativeapi/nativeapi#32 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
libnativeapi/nativeapi#31 · 1 Kommentar · 2 Reaktionen ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
libnativeapi/nativeapi#30 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
libnativeapi/nativeapi#29 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
libnativeapi/nativeapi#28 · 3 Kommentare ·
Alle Issues in libnativeapi/nativeapi
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
-
Mend: dependency security vulnerability
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 65/100
fdm-monster/fdm-monster#5563 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
Maintainer antworten meist innerhalb von 1 Tag
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
growilabs/growi#12246 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag