The getBroadcast method was previously using a single hardcoded
requestCode for every call. As a consequence, it wasn't possible to
set several notifications. Each new call to showLocalNotification
was updating the previous notification.
This change allows to setup several notifications by using distinct
tags. One can still update a previously set notification by specifying
the same tag as the one used during the previous call to
showLocalNotification.
The
getBroadcast
method was previously using a single hardcodedrequestCode
for every call. As a consequence, it wasn't possible to set several notifications. Each new call toshowLocalNotification
was updating the previous notification.This change allows to setup several notifications by using distinct tags. One can still update a previously set notification by specifying the same tag as the one used during the previous call to
showLocalNotification
.