將現有專案升級到最新的 RN 版本

在 app 資料夾中找到 package.json 並修改以下行以包含最新版本,儲存檔案並關閉。

"react-native": "0.32.0"

在終端:

$ npm install

其次是

$ react-native upgrade