matrix-org / sygnal

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

FCM push for iOS issue #337

Closed tzigdon closed 1 year ago

tzigdon commented 1 year ago

Hey,

I'm trying to implement iOS push via FCM in Sygnal.

My Sygnal.yaml file looks like this:

  <bundle id>:
    type: gcm
    api_key: <api key>
    max_connections: 20
    inflight_request_limit: 512
    fcm_options:
      content_available: true
      mutable_content: true

I am getting this error:

 sygnal.gcmpushkin [604c950e-dfa4-4c44-8fb5-314505c91917] Reg ID '<id>' has temporarily failed with code 'InvalidParameters: "aps" key is not permitted'

any Idea what is the issue? as far as I understand, aps key is android only key.

thanks in advance for any help

H-Shay commented 1 year ago

Hello - this looks like a request for support rather than a bug in Synapse. I am going to close this and direct you to https://github.com/matrix-org/sygnal/blob/main/docs/troubleshooting.md or #sygnal:matrix.org for support in troubleshooting setting up Sygnal. You can also ask in #synapse:matrix.org, someone there might have some insight as well.

msl2000 commented 4 months ago

You ever found the solution to this problem?