react-nativeexpotoast

Toast alert in Android & IOS creat react native expo


I am creating an APP using managed expo react native.

And want to implement Toast alerts, react-native provides Toast only for Android not for IOS.

I googled it and found the couple of modules which works on Android and ios but they required some config change in Native code. But as I said I am working on Managed expo app. So, I don't have access for that.

Now let me know how I can implement Toast on this?

Thanks.


Solution

  • You can use third-party library native-base available for both react-native-cli and expo

    [Native-Base] https://docs.nativebase.io/docs/GetStarted.html

    [Toast Component] https://docs.nativebase.io/Components.html#toast-def-headref