AhsanAyaz / AhsanAyaz/quran-notes-keeper

Use the web's native share for sharing the image directly

Offen
#5 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
13
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Right now, the only way to share the note (as an image), is to download the image, and then share it.
We can perhaps utilize the native share https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share in cases where this feature is supported by the browser to share directly.
This will definitely have a better experience on mobile, and we should be able to share the notes easily on mobile phones.
See compatibility of this API:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share#browser_compatibility

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.