wireguard-android/ui/src/main/res/values
Nikita Pustovoi 0bd39309c8 ui: allow importing tunnel from an QR image stored on the device
Add a new feature to import a tunnel from a saved QR image, this feature
integrates into 'import from file' flow, however adds a condition, if
file is an image, attempt to parse it as QR image file.

My use case for this feature, is to allow easier sharing of tunnels to
family.  Scanning QR code is ok when you have an external display to
show it, but if you sent QR code to someone, there is no way to import
it in the app.  If you share a config file, that becomes way harder for
a non-technical person to import as now they need to find a file with
that name in the file picker etc etc, Where the images are very visible
in the file picker, and user can easily recognize it for import.

Testing:
- Click "+" blue button, try to import a valid `.conf` file - the
  'original' file flow should not be affected
- Click "+" blue button, try to import a valid QR code image - if QR
  code was parsed, then a new tunnel will be added.
- Click "+" blue button, try to import an invalid QR code image - Error
  message will be shown

Signed-off-by: Nikita Pustovoi <deishelon@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-06 10:48:15 -07:00
..
attrs.xml xml: cleanup 2020-03-26 00:49:01 -06:00
bools.xml Rename app module to ui 2020-03-09 19:24:27 +05:30
colors.xml xml: cleanup 2020-03-26 00:49:01 -06:00
dimens.xml ui: add margin on empty list text 2022-01-17 11:51:27 +05:30
ic_launcher_background.xml Rename app module to ui 2020-03-09 19:24:27 +05:30
ids.xml Rename app module to ui 2020-03-09 19:24:27 +05:30
strings.xml ui: allow importing tunnel from an QR image stored on the device 2022-03-06 10:48:15 -07:00
styles.xml ui: abstract out theme attributes to reduce overlap 2021-04-21 17:17:42 +05:30
tv_colors.xml tv: hook up isFocused as observable property 2020-09-22 23:54:41 +02:00
tv_styles.xml tv: do theming 2020-09-22 23:54:04 +02:00