1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-05 10:03:26 +00:00

app options for add/edit page

This commit is contained in:
Kyle Spearrin
2019-05-17 12:03:35 -04:00
parent c77d4b795a
commit 9d491a3636
9 changed files with 197 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ namespace Bit.iOS
FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
LoadApplication(new App.App());
LoadApplication(new App.App(null));
return base.FinishedLaunching(app, options);
}

View File

@@ -233,6 +233,21 @@ namespace Bit.iOS.Services
return context.BiometryType == LABiometryType.FaceId;
}
public bool SupportsNfc()
{
return CoreNFC.NFCNdefReaderSession.ReadingAvailable;
}
public bool SupportsCamera()
{
return true;
}
public bool SupportsAutofillService()
{
return true;
}
private void ImagePicker_FinishedPickingMedia(object sender, UIImagePickerMediaPickedEventArgs e)
{
if(sender is UIImagePickerController picker)