Register for notifications only in production mode