calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.6k stars 252 forks source link

When the native permission request modal appears, the toast notification also shows up on the screen #545

Open ZohaibNaseer786 opened 1 month ago

ZohaibNaseer786 commented 1 month ago

Bug Description Issue: Whenever a native permission is requested, the toast notification appears at the top of the screen even if it was not triggered previously.

Steps to Reproduce:

  1. Have a navigation container in App.js with the v2.1.6 toast positioned at the bottom of the container.
  2. Trigger any native Android or iOS permission request.

Expected Behavior: The toast notification should not appear unless explicitly triggered by the application.

Environment:

react-native-toast-message Version: v2.1.6 react-native Version: v0.72.5