2019-03-28 03:12:44 +03:00
|
|
|
|
using System;
|
|
|
|
|
using Android.App;
|
|
|
|
|
using Android.Runtime;
|
|
|
|
|
|
|
|
|
|
namespace Bit.Droid
|
|
|
|
|
{
|
|
|
|
|
#if DEBUG
|
|
|
|
|
[Application(Debuggable = true)]
|
|
|
|
|
#else
|
|
|
|
|
[Application(Debuggable = false)]
|
|
|
|
|
#endif
|
|
|
|
|
[Register("com.x8bit.bitwarden.MainApplication")]
|
|
|
|
|
public class MainApplication : Application
|
|
|
|
|
{
|
|
|
|
|
public MainApplication(IntPtr handle, JniHandleOwnership transer)
|
|
|
|
|
: base(handle, transer)
|
|
|
|
|
{ }
|
2019-04-10 06:24:03 +03:00
|
|
|
|
|
|
|
|
|
public override void OnCreate()
|
|
|
|
|
{
|
|
|
|
|
base.OnCreate();
|
|
|
|
|
Plugin.CurrentActivity.CrossCurrentActivity.Current.Init(this);
|
|
|
|
|
}
|
2019-03-28 03:12:44 +03:00
|
|
|
|
}
|
|
|
|
|
}
|