//onResume is called on App Start and when the app is brought to the foreground
        protected override void OnResume()
        {
            base.OnResume();

            //Connect to Layer and Authenticate a user
            _LoadLayerClient();

            //Every time the app is brought to the foreground, register the typing indicator
            if (layerClient != null && conversationView != null)
            {
                layerClient.RegisterTypingIndicator(conversationView);
            }
        }