We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Working on iOS game
Currently iOS godot can't register/receive APNS notifications
By getting APNS notifications will bring more people for game, especially particular events
Current AppDelegate implementation doesn't have didRegisterForRemoteNotificationsWithDeviceToken handler https://github.com/godotengine/godot/blob/master/platform/ios/app_delegate.mm#L69
AppDelegate
didRegisterForRemoteNotificationsWithDeviceToken
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) }
Unfortunately APNS is a part of AppDelegate
APNS is a core for iOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the project you are working on
Working on iOS game
Describe the problem or limitation you are having in your project
Currently iOS godot can't register/receive APNS notifications
Describe the feature / enhancement and how it helps to overcome the problem or limitation
By getting APNS notifications will bring more people for game, especially particular events
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Current
AppDelegate
implementation doesn't havedidRegisterForRemoteNotificationsWithDeviceToken
handler https://github.com/godotengine/godot/blob/master/platform/ios/app_delegate.mm#L69
below is swift portion of currently working implementation:
If this enhancement will not be used often, can it be worked around with a few lines of script?
Unfortunately APNS is a part of AppDelegate
Is there a reason why this should be core and not an add-on in the asset library?
APNS is a core for iOS
The text was updated successfully, but these errors were encountered: