react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

Notification does not show on lock screen on xiomi devices

Open muazazhar opened this issue 3 years ago • 4 comments

Bug

Library version: x.x.x

"@react-native-firebase/app": "^14.2.4",
"@react-native-firebase/messaging": "^14.2.4",
"react-native-push-notification": "^8.1.1",
"react": "17.0.2",
"react-native": "0.66.2",

Steps To Reproduce

PushNotification.createChannel(
      {
        channelId: '******-id', 
        channelName: '*******App', 
        channelDescription: 'A channel to categorise your notifications',        
        playSound: true, 
        soundName: 'default',
        importance: 4, 
        vibrate: true,
        autoCancel: true,
        showWhen: true,
        largeIcon: 'ic_launcher',
        smallIcon: 'ic_launcher',
        visibility: 'public',
        priority: 'high',
        importance: Importance.HIGH,
      },
      created => console.log(`createChannel returned '${created}'`), 
    );

Describe what you expected to happen:

I've set visibility to public, so notifications should be shown on lockscreen but they does not. On receiving notification, mobile screen does not wake up/ light up

muazazhar avatar Jul 05 '22 15:07 muazazhar

@muazazhar is this fixed?

DudiAM19 avatar Sep 07 '22 02:09 DudiAM19

@muazazhar is this fixed?

no

muazazhar avatar Sep 07 '22 04:09 muazazhar

@muazazhar is this fixed?

no

I have the same bugs, so what's next? 😂

DudiAM19 avatar Sep 07 '22 04:09 DudiAM19

@muazazhar is this fixed?

no

I have the same bugs, so what's next? 😂

this is probably from OS side, so we can't do anything except complain

muazazhar avatar Sep 07 '22 05:09 muazazhar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 21 '23 00:11 github-actions[bot]