Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Push Notifications guide outdated and incomplete #561

Open
kevinfoley opened this issue Jun 26, 2024 · 0 comments
Open

iOS Push Notifications guide outdated and incomplete #561

kevinfoley opened this issue Jun 26, 2024 · 0 comments
Assignees
Labels
Health Triaged Triaged within product health

Comments

@kevinfoley
Copy link

The documentation for setting up push notifications on iOS has several issues:

  1. The example code uses a deprecated Unity API, UnityEngine.iOS.NotificationServices.RegisterForNotifications(). New projects should use the Mobile Notifications package
  2. The tutorial cannot be followed in a cross-platform application that implements Push Notifications on Android. The PlayFab documentation for Android push notifications directs us to use Firebase Cloud Messaging (FCM). If the FCM plugin is installed, on iOS it hijacks the normal notification APIs via swizzling. When we attempt to request user authorization to display notifications, we get an error "Attempting to complete future before FCM initialized."

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@thomasgu thomasgu added the Health Triaged Triaged within product health label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Health Triaged Triaged within product health
Projects
None yet
Development

No branches or pull requests

3 participants