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
+96
-16
@@ -3,33 +3,58 @@
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"de": [
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"es": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"fr": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"hu": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"it": [
|
||||
@@ -42,75 +67,130 @@
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"ko": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"nl": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"pl": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"pt": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"ru": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"sk": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"sl": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"sv": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied"
|
||||
"settings_publicKeyCopied",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"uk": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
],
|
||||
|
||||
"zh": [
|
||||
"urlImage_enable",
|
||||
"urlImage_possible",
|
||||
"settings_publicKeyCopied",
|
||||
"reaction_report"
|
||||
"reaction_report",
|
||||
"contacts_scanQrCode",
|
||||
"contacts_scanQrInstructions",
|
||||
"contacts_qrFromGallery",
|
||||
"contacts_noQrCodeFound",
|
||||
"contacts_qrGalleryFailed"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user