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

Commit ba6268e

Browse files
authored
fix: android missing channelId warning should now show
Small one, would have been caught by TypeScript easily 🤷🏻‍♂️
1 parent ace7b1d commit ba6268e

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)