react-native-actions-shortcuts
react-native-actions-shortcuts copied to clipboard
IOS onShortcutItemPressed can not work
IOS onShortcutItemPressed can not work
I'm having the same problem, my saga bails on
yield call(shortcutsEmitter.addListener, 'onShortcutItemPressed', handleShortcut);
When I catch the error, I get:
TypeError: Cannot read property '_nativeModule' of null at addListener (NativeEventEmitter.js:46) at runCallEffect (proc.js:524) at runEffect (proc.js:446) at next (proc.js:326) at currCb (proc.js:399) at run (es6.promise.js:75) at es6.promise.js:92 at flush (_microtask.js:18) at tryCallOne (core.js:37) at core.js:123
This is on a iPhone 11 14.0 emulator.
But now it seems to be working. Go figure.