I'm just going to integrate react-native-system-notification.
If i run Notification.create({ subject: 'Hey', message: 'Yo! Hello world.' });, no notification is shown. Instead i get this warning:
Possible Unhandled Promise Rejection (id: 0): Cannot read property 'rGetApplicationName' of undefined TypeError: Cannot read property 'rGetApplicationName' of undefined at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:71431:19 at tryCallTwo (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:10869:1) at doResolve (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:11024:9) at new Promise (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:10890:1) at Object.Notification.create (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:71430:8) at Object.addSurgeryDate (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:67712:41) at ProxyComponent._reactNative4.default.createClass.acceptChoosenDate (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:71797:26) at ProxyComponent.proxiedMethod [as acceptChoosenDate] (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:4872:22) at ProxyComponent.React.createClass.touchableHandlePress (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:52152:32) at ProxyComponent.proxiedMethod [as touchableHandlePress] (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:4872:22)
Do you have any idea on that? I performed the setup as described.
Hey,
I'm just going to integrate react-native-system-notification.
If i run
Notification.create({ subject: 'Hey', message: 'Yo! Hello world.' });
, no notification is shown. Instead i get this warning:Possible Unhandled Promise Rejection (id: 0): Cannot read property 'rGetApplicationName' of undefined TypeError: Cannot read property 'rGetApplicationName' of undefined at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:71431:19 at tryCallTwo (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:10869:1) at doResolve (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:11024:9) at new Promise (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:10890:1) at Object.Notification.create (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:71430:8) at Object.addSurgeryDate (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:67712:41) at ProxyComponent._reactNative4.default.createClass.acceptChoosenDate (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:71797:26) at ProxyComponent.proxiedMethod [as acceptChoosenDate] (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:4872:22) at ProxyComponent.React.createClass.touchableHandlePress (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:52152:32) at ProxyComponent.proxiedMethod [as touchableHandlePress] (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:4872:22)
Do you have any idea on that? I performed the setup as described.