Skip to content
New issue

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

[Bug]: Badge not working in iOS with "Increase by" option #893

Open
2 of 3 tasks
devsideal opened this issue May 25, 2024 · 10 comments
Open
2 of 3 tasks

[Bug]: Badge not working in iOS with "Increase by" option #893

devsideal opened this issue May 25, 2024 · 10 comments

Comments

@devsideal
Copy link

devsideal commented May 25, 2024

What happened?

Badge not working in iOS with "Increase by" option, alwasy showing only 1 count.

badge-in-ios.mp4

Steps to reproduce?

1. Added package successfully
2. Followed all the steps given here https://documentation.onesignal.com/docs/badges
3. Send push from OneSignal console by setting 1 in "Increase by" option
4. In iPhone alwasy showing count 1 (for reference please see the video)

What did you expect to happen?

If we send push with Increase by 1, It should add in previous count.

OneSignal Flutter SDK version

onesignal_flutter: ^3.5.1

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

@devsideal thanks for reaching out and providing reproduction steps! We're looking into this and will get back to you as soon as possible.

@jkasten2
Copy link
Member

jkasten2 commented Jun 5, 2024

@devsideal This feature requires the Notification Service Extension. Can you double check you have it setup correctly based on the documentation?
https://documentation.onesignal.com/docs/flutter-sdk-setup#add-notification-service-extension

@devsideal
Copy link
Author

@jkasten2 Yes I have created the OneSignalNotificationServiceExtension and Added App Group capability in both "Main App Target" and "OneSignalNotificationServiceExtension Target" as mintioned on the documentatoin.

@yuyangpl
Copy link

yuyangpl commented Jun 24, 2024

Make sure the "Set to" option is OK。but "Increase by" error
onesignal_flutter: 5.2.1
Flutter 3.22.2

@devsideal
Copy link
Author

@yuyangpl Yes, "Set to" option is OK But "Increase by" is not working as expected.
and currenlly using onesignal_flutter: ^3.5.1 and Flutter 3.19.5, I will try with updated versions.

@ngee147
Copy link

ngee147 commented Jul 6, 2024

having the same issue

onesignal_flutter: ^5.2.1
Flutter 3.22.2

@devsideal
Copy link
Author

devsideal commented Jul 18, 2024

Still not working, I tried with updated version too, onesignal_flutter: ^5.2.1 and Flutter 3.22.2

@yuyangpl
Copy link

@yuyangpl Yes, "Set to" option is OK But "Increase by" is not working as expected. and currenlly using onesignal_flutter: ^3.5.1 and Flutter 3.19.5, I will try with updated versions.

Hello, is there any progress on this question

@yuyangpl
Copy link

yuyangpl commented Oct 8, 2024

@devsideal thanks for reaching out and providing reproduction steps! We're looking into this and will get back to you as soon as possible.

Hello, is there any progress on this question

@yuyangpl
Copy link

Hello, is this problem no longer tracked? The latest version still has this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants