You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
Database operations are not working when i run in release mode :( #2
This runs on iOS debug/release and Android in simulator in debug mode. On iOS I wen to select "Legacy Build" from Xcode > File > Project Settings
I cannot get an Android release build to run?
Perhaps an issue with signing setup?
react-native run-android --variant=release
info JS server already running.
info Building and installing the app on the device (cd android && ./gradlew app:installRelease)...
FAILURE: Build failed with an exception.
* What went wrong:
Task 'installRelease' not found in project ':app'. Some candidates are: 'uninstallRelease'.
Changing the minifier config didn't work for me (react native version 0.67). However, I was able to get it working in release builds by explicitly setting table names in the entity decorator:
Activity
celodauane commentedon Jan 17, 2019
@wliadmin where you able to find a solution for this issue?
esutton commentedon Apr 12, 2019
I cannot get https://github.com/typeorm/react-native-example/ to run on either Android or iOS with or without metro-minify-terser
Try https://github.com/sheva007/typeorm-boilerplate/
This runs on iOS debug/release and Android in simulator in debug mode. On iOS I wen to select "Legacy Build" from Xcode > File > Project Settings
I cannot get an Android release build to run?
Perhaps an issue with signing setup?
A debug build runs fine on Android simulator:
jbenzshawel commentedon Oct 24, 2019
This issue is due to minification in release mode changing class names and file names. It can be fixed with the following steps:
yarn add metro-minify-terserBen002 commentedon Oct 28, 2019
thank you!
It's very useful to me
MahsaKarimi72 commentedon Apr 28, 2020
I tried this solution but the problem has not been solved yet
can you help me pls?
kevinmanncito commentedon Jun 10, 2022
Changing the minifier config didn't work for me (react native version 0.67). However, I was able to get it working in release builds by explicitly setting table names in the entity decorator: