I upgrade to v3.1.2 and update the AppDelegate.m file followed by README but it can't pass the iOS build. When I comment out the duplicated code, it become build success but the orientation is broke. Now I roll back to v3.1.0. Here's the screenshot of the failed part:

Cannot build on iOS due to "Duplicate declaration" error. I had to roll back 3.1.2 to:
yarn add [email protected]
Ah probably something messed up in merging. So sorry. Will fix asap
There is now 3.1.3 released with fix
Most helpful comment
Cannot build on iOS due to "Duplicate declaration" error. I had to roll back 3.1.2 to: