Open NyLaurent opened 2 hours ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.73.10. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
@NyLaurent Can you share a reproducer? If possible try to use the latest stable version or v0.76
Description
The app crashes when the user clicks the button on the Home screen. The crash occurs without any warning, making it difficult to understand the root cause.
Steps to reproduce
Install the application with yarn android. Click on the button on the Home screen. Notice the crash.
React Native Version
0.73.0
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
import React from 'react'; import { View, Button, Alert } from 'react-native'; const App = () => { const handleButtonClick = () => { Alert.alert("Button Clicked!"); }; return ( <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}> ); }; export default App;
Screenshots and Videos
No response