After looking in SwiftAirshipPlugin.swift I'm not seeing an associated push#ios#resetBadgeNumber among the other cases and I'm thinking it might've been removed accidentally. In v6.3.0, the version we were formerly using, this seemed to be calling out to resetBadge in Push.swift.
What is the expected behavior?
Calling Airship.push.iOS.resetBadge calls the associated push#ios#resetBadgeNumber method to clear the badge on the app icon in iOS
What are the steps to reproduce the unexpected behavior?
❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].
Preliminary Info
What Airship dependencies are you using?
airship_flutter
v7.0.0
What are the versions of any relevant development tools you are using?
Flutter
v3.7.11
, Dartv2.19.6
Report
What unexpected behavior are you seeing?
When attempting to call
Airship.push.iOS.resetBadge
the following error is thrown:After looking in
SwiftAirshipPlugin.swift
I'm not seeing an associatedpush#ios#resetBadgeNumber
among the other cases and I'm thinking it might've been removed accidentally. In v6.3.0, the version we were formerly using, this seemed to be calling out toresetBadge
inPush.swift
.What is the expected behavior?
Calling
Airship.push.iOS.resetBadge
calls the associatedpush#ios#resetBadgeNumber
method to clear the badge on the app icon in iOSWhat are the steps to reproduce the unexpected behavior?
Calling
Airship.push.iOS.resetBadge
in any wayDo you have logging for the issue?
I do not currently