Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 7315f43

Browse files
author
Boris Tacyniak
authored
Merge pull request #1995 from gioragutt/patch-1
fix: android missing channelId warning should now show
2 parents ace7b1d + ba6268e commit 7315f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Notifications.unregister = function() {
141141
* @param {Object} details.userInfo - iOS ONLY: The userInfo used in the notification alert.
142142
*/
143143
Notifications.localNotification = function({...details}) {
144-
if ('android' === Platform.os && details && !details.channelId) {
144+
if ('android' === Platform.OS && details && !details.channelId) {
145145
console.warn('No channel id passed, notifications may not work.');
146146
}
147147

0 commit comments

Comments
 (0)