internal static async Task Register() { if (User.Current == null) { throw new Exception("A non-logged in user was registered for push notification!"); } await PushNotification.Register(); }