React native run-android do not updating modified code

后端 未结 21 3175
故里飘歌
故里飘歌 2020-12-13 06:02

I am using React native 0.52.0 and react-native-cli 2.0.1 on my Windows PC for android development. Despite all the changes i have made. When I run react-native run-an

21条回答
  •  攒了一身酷
    2020-12-13 06:29

    For CodePush users

    I was having this same problem but it didn't update my code just on a production build, it works fine in development.

    My problem was CodePush, it was updating my app because it had the same version than the last CodePush release target version and it was a mandatory update (I didn't change the version target because it was just for testing purpose), then, I commented the CodePush code on my App.js and it works perfectly.

提交回复
热议问题