react native toast
npm install react-native-simple-toast --save react-native link react-native-simple-toast // only RN < 0.60 cd ios && pod install
Source: www.npmjs.com
react native toast message
import React from 'react'; import { View, StyleSheet, ToastAndroid, Button, StatusBar } from 'react-native'; export default function App() { function showToast() { ToastAndroid.show('Request sent successfully!', ToastAndroid.SHORT); } return ( <View style={styles.container}> <Button title="Show Toast" onPress={showToast} /> </View> ); } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', paddingTop: StatusBar.currentHeight, backgroundColor: '#6638f0', padding: 8, }, });
Source: docs.expo.dev