mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 23:33:34 +00:00
download, decrypt and open attachment files
This commit is contained in:
20
src/iOS/Services/DeviceActionService.cs
Normal file
20
src/iOS/Services/DeviceActionService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Bit.App.Abstractions;
|
||||
using UIKit;
|
||||
|
||||
namespace Bit.iOS.Services
|
||||
{
|
||||
public class DeviceActionService : IDeviceActionService
|
||||
{
|
||||
public void CopyToClipboard(string text)
|
||||
{
|
||||
UIPasteboard clipboard = UIPasteboard.General;
|
||||
clipboard.String = text;
|
||||
}
|
||||
|
||||
public bool OpenFile(byte[] fileData, string id, string fileName)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user