Closed r10s closed 9 months ago
Documentation is here: https://docs.rs/a2/latest/a2/request/notification/struct.DefaultNotificationBuilder.html
Documentation is here: https://docs.rs/a2/latest/a2/request/notification/struct.DefaultNotificationBuilder.html
thanks! somehow i was search in python land, lots of confusions with all these languages and parts :) thanks a lot for keeping an overview :)
nb: i just guessed the syntax as i could not find documentation for DefaultNotificationBuilder, and also could not test the PR ;)
this PR sets the sound of the notification to "default".
sound or vibration can be disabled or changed by the user, but without specifying a sound in the APS json, there will be never a sound and the user won't be able to enable one.
expected APS json syntax is described at https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification