zetavg / react-native-system-notification

Android system notifications for React Native. Supports push notifications with GCM integrated.
https://www.npmjs.com/package/react-native-system-notification
244 stars 102 forks source link

cannot read property 'rGetApplicationName' of undefined in react native 0.24.x #38

Open llgoer opened 8 years ago

llgoer commented 8 years ago

I use this plugin in react native 0.24.x for android,but in the ios platform show error like "cannot read property 'rGetApplicationName' of undefined".how to fix this error?

DennisMG commented 8 years ago

Did you find a way to solve this??

ChinmaySKulkarni commented 8 years ago

Any updates on this?

krishnaglick commented 7 years ago

The issue lies within index.android.js var NotificationModule = require('react-native').NativeModules.NotificationModule; NotificationModule is no longer there, unsure how to fix atm.

fauno commented 7 years ago

i think i'm getting this but only after i build the app, during development everything works ok

fauno commented 7 years ago

it's related to proguard: https://stackoverflow.com/questions/40554649/react-native-system-notification-nativemodule-is-undefined-on-apk-release/40591355#40591355