matrix-org / sygnal

Sygnal: reference Push Gateway for Matrix
Apache License 2.0
155 stars 140 forks source link

Apps with same bundle id #300

Closed timabilov closed 2 years ago

timabilov commented 2 years ago

Describe the bug sygnal.yaml - I cannot use two apps with same bundle id both ios and android

squahtx commented 2 years ago

Android and iOS app ids have to be different, otherwise Sygnal wouldn't be able to determine whether to send a notification to GCM or Apple.

Note that app ids in the Sygnal config are not the same as bundle ids. Apps are free to use arbitrary app ids when creating pushers via https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3pushersset. The only thing that matters is that Sygnal is configured with the same app id that the app created the pusher with.