Description of the problem:
Currently LocalNotifications plugin forces the notification identifier to be an Integer whereas push notifications can have UUID/String as notification identifier.
Affected platform
[x] Android
[x] iOS
[ ] electron
[ ] web
OS of the development machine
[ ] Windows
[x] macOS
[ ] linux
Other information:
Capacitor version: 1.0.0
node version: v11.0.0
npm version: 6.9.0
CocoaPods version: 1.6.1
Steps to reproduce:
Import LocalNotifications plugin
Schedule a new local notification with the key id set with an UUID
On Android, the NotificationManager class requires an integer id for the notify method. We used to have a string for iOS, but changed it to integer once we added the Android implementation because of that.
Description of the problem: Currently
LocalNotifications
plugin forces the notification identifier to be anInteger
whereas push notifications can have UUID/String as notification identifier.Affected platform
OS of the development machine
Other information:
Capacitor version: 1.0.0
node version: v11.0.0
npm version: 6.9.0
CocoaPods version: 1.6.1
Steps to reproduce:
LocalNotifications
pluginid
set with an UUID