calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.73k stars 265 forks source link

crash on android when Toast.show() #519

Open dstestdeveloper opened 11 months ago

dstestdeveloper commented 11 months ago
  <NavigationContainer>
      <Stack.Navigator>
        <Stack.Screen name="BottomTab" component={BottomTab} options={{headerShown: false}} />
        <Stack.Screen name="SearchScreen" component={SearchScreen} options={{headerShown: false}} />
        <Stack.Screen name="GenerateScreen" component={GenerateScreen} options={{headerShown: false}} />
        <Stack.Screen name="GeneratingScreen" component={GeneratingScreen} options={{headerShown: false}} />
        <Stack.Screen name="BookListsScreen" component={BookListsScreen} options={{headerShown: false}} />
        <Stack.Screen name="AuthorDetailScreen" component={AuthorDetailScreen} options={{headerShown: false}} />
        <Stack.Screen name="GeneratedScreen" component={GeneratedScreen} options={{headerShown: false}} />
      </Stack.Navigator>
      <Toast config={toastConfig} position="bottom" bottomOffset={100} />
    </NavigationContainer>

when i call Toast.show() on android, app crashed. but ios works well i use react-native v0.72.7 & toast v2.2.0

Nor01 commented 7 months ago

Can you provide more information about errors in your console?