When compiling the application, it does not detect all the changes that are in development mode. React-Native

-4

What happens is that when compiling the application with react-native , using the commands:

react-native run-android --variant=release
./gradlew assembleRelease

generating an .APK, that does not work correctly, does not detect some changes like, requests to API , changes to Firebase .

* In development mode if it works!.

    
asked by Fauricio Valencia 04.01.2019 в 16:13
source

1 answer

0

This happened to me in Apache Cordova what happened was that at the time of creating the release were old structures.

  
  • Delete the files in the /release folder, these are created when compiling again.

  •   
  • do the same for /debug and compile again in "debug mode".

  •   

so I managed to solve my problem.

I hope I helped you

    
answered by 04.01.2019 / 20:34
source