in mpush_reactnative_ios_demo/AwesomeProject/index.ios.js [35:51]
componentDidMount() {
this.subscription1 = NativeAppEventEmitter.addListener(
'MessageReminder',
(reminder) => {
console.log('here1')
alert(reminder.title + '\n' + reminder.body)
}
);
this.subscription2 = NativeAppEventEmitter.addListener(
'DeviceIdReminder',
(reminder) => {
console.log('here2')
alert('deviceId: ' + reminder.deviceId)
}
);
}