Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNRestart crashes the app on android in release mode only #275

Open
boxxyapp opened this issue Sep 18, 2024 · 2 comments
Open

RNRestart crashes the app on android in release mode only #275

boxxyapp opened this issue Sep 18, 2024 · 2 comments

Comments

@boxxyapp
Copy link

im using "react-native": "0.67.4",
with "react-native-restart": "0.0.24",
calling RNRestart.Restart(); crashes the app on android in release mode only

setting timout, manual linking , setting hermes to false, all solution online didnt work

@nluzzato
Copy link

nluzzato commented Nov 7, 2024

Try upgrading to 0.0.27 and use RNRestart.restart() rather than RNRestart.Restart()

@boxxyapp
Copy link
Author

boxxyapp commented Nov 7, 2024

@nluzzato
thanks for reply
• Using react-native ‹ 0.62? install react-native-restartao.0.17
• Using 0.71 › react-native >= 0.62 ? install react-native-restartao. 0.24
• Using react-native >= 0.71 ?install react-native-restartao.0.27 and above

i tried that and it didnt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants