Add contact import from QR code
Contacts could only be imported by pasting `meshcore://<hex advert>` from the clipboard, so contact QR codes and links shared by the official app (`meshcore://contact/add?name=...&public_key=...&type=...`) could not be used at all. Add a contact QR scanner screen, reachable from the contacts menu, that scans with the camera or decodes a QR code from a photo in the gallery. Both the official contact-card link and the existing hex advert form are accepted; cards are applied with CMD_ADD_UPDATE_CONTACT and advert blobs keep using CMD_IMPORT_CONTACT. Fixes #529
This commit is contained in:
28 files changed
+1231
-16
No files matched your search
@@ -4260,6 +4260,23 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
String get contacts_addContactFromClipboard =>
|
||||
'Kontakt aus Zwischenablage hinzufügen';
|
||||
|
||||
@override
|
||||
String get contacts_scanQrCode => 'Scan QR Code';
|
||||
|
||||
@override
|
||||
String get contacts_scanQrInstructions =>
|
||||
'Point the camera at a MeshCore contact QR code';
|
||||
|
||||
@override
|
||||
String get contacts_qrFromGallery => 'Scan QR from Gallery';
|
||||
|
||||
@override
|
||||
String get contacts_noQrCodeFound =>
|
||||
'No QR code found in the selected image.';
|
||||
|
||||
@override
|
||||
String get contacts_qrGalleryFailed => 'Could not open the gallery.';
|
||||
|
||||
@override
|
||||
String get contacts_ShareContact => 'Kontakt in die Zwischenablage kopieren';
|
||||
|
||||
|
||||
Reference in new issue
Block a user