[Notifications] Check OS version before register for notifications