/// <summary>
        /// Unregister for all remote notifications received via Push Notification service.
        /// </summary>
        /// <remarks>
        /// \note Apps unregistered through this method can always re-register.
        /// </remarks>
        public void UnregisterForRemoteNotifications()
        {
#if (!USES_ONE_SIGNAL || UNITY_EDITOR)
            m_platform.UnregisterForRemoteNotifications();
#else
            if (m_registeredForOneSignalPushNotifications)
            {
                m_registeredForOneSignalPushNotifications = false;

                OneSignal.SetSubscription(false);
            }
#endif
        }