RCTPromise now requires every native module method to resolve with an array.
The issue is related to this change:
https://github.com/facebook/react-native/commit/9baff8f437eee49f8ab0e6f433bf86466ca16662#diff-8d9841e5b53fd6c9cf3a7f431827e319R331
Because of this, right now, every native module has to resolve with an array, which is silly if we only intend to resolve with a single value.
For example, pre RN 0.20-rc1, we could do:
resolve(@"A value");
Now we have to wrap it with an array and do:
resolve(@[@"A value"]);
From what I see, the simple fix is to revert that change. Running our plugin on RN 0.20-rc1 yielded this error:

After reverting that change, everything worked great.
@dmmiller @ide
Hey geof90, thanks for reporting this issue!
React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
- If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag
react-nativeor for more real time interactions, ask on Discord in the #react-native channel. - If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
- We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!
Also a note that this change is not documented anywhere, e.g the website docs do not say that the RCTPromiseResolveBlock must always resolve with the value wrapped in an array.
Let me look into this. Someone else reported this internally. I'll look today. Thanks for reporting it.
@dmmiller Thanks for looking into it!! Really appreciate it.
Resolved in https://github.com/facebook/react-native/commit/c9a1956c4fd9cfb6bf883c835b501d097181e1a4
Thanks guys!!
thanks,this fix my problem.
Thanks so much for fixing this guys - this was driving me nuts!