You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.2 KiB
30 lines
1.2 KiB
using Android.App;
|
|
using Android.Runtime;
|
|
|
|
// Needed for Picking photo/video
|
|
[assembly: UsesPermission(Android.Manifest.Permission.ReadExternalStorage, MaxSdkVersion = 32)]
|
|
[assembly: UsesPermission(Android.Manifest.Permission.ReadMediaAudio)]
|
|
[assembly: UsesPermission(Android.Manifest.Permission.ReadMediaImages)]
|
|
[assembly: UsesPermission(Android.Manifest.Permission.ReadMediaVideo)]
|
|
|
|
// Needed for Taking photo/video
|
|
[assembly: UsesPermission(Android.Manifest.Permission.Camera)]
|
|
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage, MaxSdkVersion = 32)]
|
|
|
|
// Add these properties if you would like to filter out devices that do not have cameras, or set to false to make them optional
|
|
[assembly: UsesFeature("android.hardware.camera", Required = true)]
|
|
[assembly: UsesFeature("android.hardware.camera.autofocus", Required = true)]
|
|
|
|
namespace Views
|
|
{
|
|
[Application]
|
|
public class MainApplication : MauiApplication
|
|
{
|
|
public MainApplication(IntPtr handle, JniHandleOwnership ownership)
|
|
: base(handle, ownership)
|
|
{
|
|
}
|
|
|
|
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
|
}
|
|
} |