1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Android: Fixes #5216: Alarms were not being triggered in some cases (#5798)

This commit is contained in:
Roman Musin 2021-11-27 16:22:30 +00:00 committed by GitHub
parent c0a8c330a9
commit f224282a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 14 deletions

View File

@ -20,7 +20,7 @@
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"events": "^3.2.0",
"joplin-rn-alarm-notification": "^1.0.3",
"joplin-rn-alarm-notification": "^1.0.5",
"jsc-android": "241213.1.0",
"md5": "^2.2.1",
"prop-types": "^15.6.0",
@ -6890,13 +6890,9 @@
}
},
"node_modules/joplin-rn-alarm-notification": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/joplin-rn-alarm-notification/-/joplin-rn-alarm-notification-1.0.3.tgz",
"integrity": "sha512-HZGDrLmYf6aMVgzk02w4DS9CjaTogE1hnOLdMDsrWkZzRskO6g3bZw+Bwlc63cCX4ZLZeeWIaABzHoWKAbLzpQ==",
"peerDependencies": {
"react": "^16.8.1",
"react-native": ">=0.60.0-rc.0 <1.0.x"
}
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/joplin-rn-alarm-notification/-/joplin-rn-alarm-notification-1.0.5.tgz",
"integrity": "sha512-Gs07X+kjSB1HN87LEFcicihwcZqwcdiiZFFyXKaxUxukIeM/WGUuyu2I6vgiR8Tuxlw/bEYNvkMLwCb8pA2PgA=="
},
"node_modules/js-tokens": {
"version": "4.0.0",
@ -17953,10 +17949,9 @@
}
},
"joplin-rn-alarm-notification": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/joplin-rn-alarm-notification/-/joplin-rn-alarm-notification-1.0.3.tgz",
"integrity": "sha512-HZGDrLmYf6aMVgzk02w4DS9CjaTogE1hnOLdMDsrWkZzRskO6g3bZw+Bwlc63cCX4ZLZeeWIaABzHoWKAbLzpQ==",
"requires": {}
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/joplin-rn-alarm-notification/-/joplin-rn-alarm-notification-1.0.5.tgz",
"integrity": "sha512-Gs07X+kjSB1HN87LEFcicihwcZqwcdiiZFFyXKaxUxukIeM/WGUuyu2I6vgiR8Tuxlw/bEYNvkMLwCb8pA2PgA=="
},
"js-tokens": {
"version": "4.0.0",

View File

@ -28,7 +28,7 @@
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"events": "^3.2.0",
"joplin-rn-alarm-notification": "^1.0.3",
"joplin-rn-alarm-notification": "^1.0.5",
"jsc-android": "241213.1.0",
"md5": "^2.2.1",
"prop-types": "^15.6.0",

View File

@ -56,7 +56,7 @@ export default class AlarmServiceDriver {
small_icon: 'ic_launcher_foreground', // Android requires the icon to be transparent
color: 'blue',
data: {
joplinNotificationId: `${notification.id}`,
joplinNotificationId: notification.id,
noteId: notification.noteId,
},
};