Skip to content

🐛 Bug Report: Push Notification for iOS badge is string, but should be number #8854

Closed

Description

@docimin

👟 Reproduction steps

This might be related to: #8601

👍 Expected behavior

Looking at the APNS docs, it should be a number instead.
https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification#Payload-key-reference
Image

👎 Actual Behavior

In the Appwrite Docs you can see that the badge requires a string
Image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

1.6.x - Cloud

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. added
    bug
    on Oct 24, 2024
  2. added
    product / messaging
    on Oct 25, 2024
  3. elprogramadorgt commented on Oct 25, 2024

    @elprogramadorgt

    Hello, i would like to help with this

  4. added
    good first issue
    on Oct 25, 2024
  5. DH-555 commented on Oct 25, 2024

    @DH-555
    Contributor

    @elprogramadorgt I assigned it to you. Make sure to test it and provide screenshots one finished 😄.

  6. elprogramadorgt commented on Oct 26, 2024

    @elprogramadorgt

    Hello @DH-555 I fixed the issue, but I wasn't able to test it locally due to the connection with redis.

    Can you help with that?

    Also, I found some files like swagger2-1.6.x-server.json that have string for the badge, are those automatically generated? I'm asking because if not those need to change as well.

  7. DH-555 commented on Oct 26, 2024

    @DH-555
    Contributor

    @elprogramadorgt Sure. What problem do you have with the redis connection?

    I'm not sure about the swagger files. Will check them.

  8. DH-555 commented on Oct 28, 2024

    @DH-555
    Contributor

    @elprogramadorgt It seems that the swagger files are being generated automatically, so you don't need to change them.

  9. elprogramadorgt commented on Oct 29, 2024

    @elprogramadorgt

    Hello @DH-555, I was trying to run it locally with this command:

    docker run -it --rm \
        --volume /var/run/docker.sock:/var/run/docker.sock \
        --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
        --entrypoint="install" \
        appwrite/appwrite:1.6.0

    but I got this error.

    Image

    Do you know how can I test it locally before pushing my PR?

  10. DH-555 commented on Nov 1, 2024

    @DH-555
    Contributor

    @elprogramadorgt Do you have run appwrite in that machine proveiously?
    Maybe there is something from an old version that is causing that issue

  11. sri-c9 commented on Dec 1, 2024

    @sri-c9

    Can I pick this issue up?

  12. linked a pull request that will close this issueAdd new push message parameters #9060on Dec 4, 2024
  13. stnguyen90 commented on Dec 10, 2024

    @stnguyen90
    Contributor

    Unassigning due to inactivity. We'll be picking this up.

  14. moved this to Code Review in 1.6 Releaseon Dec 31, 2024
  15. courreges-do commented on Apr 23, 2025

    @courreges-do

    Hi! Is this issue still open? I'd love to give it a try if no one is working on it.

  16. docimin commented on Apr 23, 2025

    @docimin
    ContributorAuthor

    @stnguyen90 this has been fixed in #9060 no?

  17. moved this from Code Review to Done in 1.6 Releaseon May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buggood first issueproduct / messaging

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions