protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.HomePage);
            fireBaseManager = FireBaseManager.GetInstance();
            mTvWelcome      = FindViewById <TextView>(Resource.Id.txtWelcome);

            var user = fireBaseManager.mAuth?.CurrentUser;

            if (user != null)
            {
                mTvWelcome.Text = $"Welcome {user.DisplayName}";
                profile         = user.PhotoUrl;
            }

            mBtnSignOut        = FindViewById <Button>(Resource.Id.btnSignOut);
            mBtnSignOut.Click += MBtnSignOut_Click;

            mIvProfile = FindViewById <ImageView>(Resource.Id.ivProfile);


            //mIvProfile.SetImageURI(profile);
            if (profile != null)
            {
                var bit = GetImageBitmapFromUrl(profile?.ToString());
                mIvProfile.SetImageBitmap(bit);
            }
            // PushNotificatiob

            mPSMsg = FindViewById <TextView>(Resource.Id.playServiceMsg);

            if (Intent.Extras != null)
            {
                foreach (var key in Intent.Extras.KeySet())
                {
                    var value = Intent.Extras.GetString(key);
                    Log.Debug("Dev PushNot", "Key: {0} Value: {1}", key, value);
                }
            }
            IsPlayServicesAvailable();
            CreateNotificationChannel();
            var logTokenButton = FindViewById <Button>(Resource.Id.logTokenButton);

            logTokenButton.Click += delegate {
                //var instanceIdResult = await FirebaseInstanceId.Instance.GetInstanceId().AsAsync<IInstanceIdResult>();
                //var token = instanceIdResult.Token;
                Log.Debug("Dev PushNot", "InstanceID token: " + FirebaseInstanceId.Instance?.Token);
            };
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            fireBaseManager = FireBaseManager.GetInstance();
            fireBaseManager.InitializeFireBase(Application.Context);



            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Get our button from the layout resource,
            // and attach an event to it
            Button btnEmail  = FindViewById <Button>(Resource.Id.btnEmail);
            Button btnGoogle = FindViewById <Button>(Resource.Id.btnGoogle);

            btnEmail.Click  += BtnEmail_Click;
            btnGoogle.Click += BtnGoogle_Click;

            ConfigureGoogleSignIn();
        }