binwiederhier / ntfy-android

Android app for ntfy.sh
Apache License 2.0
539 stars 112 forks source link

Add QR Code Scanner #91

Open Kore-rep opened 1 month ago

Kore-rep commented 1 month ago

Add a QR code scanner using Google ML Kit for Android.

The camera is opened via a neutral button on the add subscription button. The code will be scanned and used to auto-populate the subscription dialog. The text in the codes should have the following format: ntfy://https://server.com;topicname

Work to consider :

If this work is merged in, I will also update the docs to include a section on QR codes

Built off the work on #67 and #87

Kore-rep commented 1 month ago

I now realize the Android App already has deep linking meaning QRs can be used straight from the default camera, feel free to close this if not required