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

Add ability to receive iOS APNS notifications #96474

Closed
theromis opened this issue Sep 2, 2024 · 2 comments
Closed

Add ability to receive iOS APNS notifications #96474

theromis opened this issue Sep 2, 2024 · 2 comments

Comments

@theromis
Copy link
Contributor

theromis commented Sep 2, 2024

Tested versions

4.3

System information

Macos

Issue description

Currently iOS godot can't register/receive APNS notifications

Steps to reproduce

Just try to get APNS

Minimal reproduction project (MRP)

Current AppDelegate implementation doesn't have didRegisterForRemoteNotificationsWithDeviceToken
handler https://github.com/godotengine/godot/blob/master/platform/ios/app_delegate.mm#L69

below is swift portion of currently working implementation:

   func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
       let tokenParts = deviceToken.map { data in String(format: "%02.2hhx", data) }
       let token = tokenParts.joined()
       os_log(.debug, "didRegisterForRemoteNotificationsWithDeviceToken: \(token)")
       apnsTokenRegister(token: token)
   }
@AThousandShips
Copy link
Member

Feature proposals are tracked here, this is for bugs. Please open a proposal instead.

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
@theromis
Copy link
Contributor Author

theromis commented Sep 2, 2024

godotengine/godot-proposals#10633
created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants