TheWirv / react-native-wallet-passes

React Native module to handle Wallet passes on iOS and Android.
MIT License
10 stars 4 forks source link

addEventListener should not throw on Android but return just an empty remove function #8

Open pke opened 2 years ago

pke commented 2 years ago

To reduce API clutter and not make the user of this library think, the addEventListener should not throw on Android but instead return just an empty subscription with a stub remove function.