Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example code that breaks use of promise in native module code
'promise.resolve' in included native module will never resolve after adding call to Storybook (tested on Android)
- Loading branch information
b6c287b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After applying this change, the promise never resolves. Removing it (and rebuilding the app) fixes it.
The code in question: https://github.com/4lun/react-native-awesome-module/blob/eb033343f242cccfe604fcdee308227a751d2efe/android/src/main/java/com/reactnativeawesomemodule/AwesomeModuleModule.kt#L16-L21