protected override void OnResume()
        {
            base.OnResume();
            SetNavigationToMainActivity();

            // Show a message dialog if the pending message id is not null
            if (!UAStringUtil.IsEmpty(pendingMessageId))
            {
                ShowRichPushMessage(pendingMessageId);
                pendingMessageId = null;
            }
        }
Example #2
0
        private void SetAlias(string alias)
        {
            alias = UAStringUtil.IsEmpty(alias) ? null : alias;

            PushManager.Shared().Alias = (alias);

            if (UAirship.Shared().AirshipConfigOptions.RichPushEnabled)
            {
                RichPushManager.Shared().RichPushUser.Alias = (alias);
                RichPushManager.Shared().UpdateUser();
            }

            currentAlias = alias;
        }