Closed tripflex closed 4 years ago
Well I guess that's the good thing about opening issues, while doing so I thought .. well maybe I should just pass an empty array for actions
when calling update ... and sure enough, when I did, it resolves this issue.
Will need to test in older versions of Android to see if this removes that action/button, will re-open this ticket if it does.
Thanks for your fork of this lib, helped fix the vibrate not working (turning it off) and using the app icon! Yay!
cordova -v
): 9.0.0 (cordova-lib@9.0.1)cordova platform ls
): android 8.0.0Expected Behavior
Should only show 1 action button
Actual Behavior
On each
.update
call, another action button is added each timeSteps to Reproduce
Reproduce this issue; include code to reproduce, if relevant
This also happens in the origin repo this version was forked from, in
adb logcat
i can see that theactions
is the value that was originally set -- so maybe in newer version of Android is it for some reason adding a new button/action instead of just checking if one already exists or something?