import { AsyncStorage, AlertIOS, Platform, ToastAndroid, } from "react-native"

export const toastMessage = (msg) => {
    if (Platform.OS === 'android') {
        ToastAndroid.show(msg, ToastAndroid.SHORT)
    } else {
        AlertIOS.alert(msg);
    }
}