React Native Push Notification Not Working Properly
问题 Push Notification function: PushNotification.configure({ largeIcon: "ic_launcher", smallIcon: "ic_notification", onNotification: function (notification) { PushNotification.localNotification({ autoCancel: true, message: 'Test Message', title: 'Test Message', vibrate: true, vibration: 300, playSound: true, soundName: 'default' }) console.log(notification) }, }); Problem: When I run application, if I send notification from php server I am getting response in console.log but condition 1: