meinto / react-native-event-listeners

global event listener extension for react or react-native
MIT License
207 stars 17 forks source link

Not working on real device(Release mode) #12

Open anilios opened 4 years ago

anilios commented 4 years ago

Integrated this library for emitting events on an action and on other screen added some listeners to listen for the same events, which is working pretty fine as expected on simulator and device during debugging. But after release builds are generated for iOS and Android devices, its not working at all.

Anyone else has faced same issue?

nericode commented 4 years ago

I test in iOS with flag --configuration Release and work, how did you implement it?

abdulghanitech commented 4 years ago

Integrated this library for emitting events on an action and on other screen added some listeners to listen for the same events, which is working pretty fine as expected on simulator and device during debugging. But after release builds are generated for iOS and Android devices, its not working at all.

Anyone else has faced same issue?

facing same issue, working fine on debug devices and also when I tried the release variant. But when I tried on release build it's not working.

nericode commented 4 years ago

@abdulghanitech Because it won't work, if it's just a simple class in javascript