cooperka / react-native-snackbar

:candy: Material Design "Snackbar" component for Android and iOS.
Other
815 stars 150 forks source link

Does not work on android over Modal with ProGuard #113

Closed FelipePaiva1992 closed 4 years ago

FelipePaiva1992 commented 5 years ago

I try to show the Snackbar over a Modal

If I disable the proguard, everthing works fine. But if I enable the Snackbar stop work only over a Modal.

cooperka commented 5 years ago

Thanks @FelipePaiva1992. Possibly related to https://github.com/cooperka/react-native-snackbar/issues/28. If you find a fix for this I'd welcome a PR.

anurag060 commented 4 years ago

Hi @FelipePaiva1992. I am also facing the same issue when the proguard is enabled. Can you please tell me the steps to fix this.

FelipePaiva1992 commented 4 years ago

@anurag060 this issue was not be fixed by the main dev.

I recommend you to use other lib like https://callstack.github.io/react-native-paper/snackbar.html

Because this is an old issue, more or less two year ago.

anurag060 commented 4 years ago

Hi @cooperka..can you help me with this issue?

cooperka commented 4 years ago

Please refer to #28 for issues with modals. You might try using setTimeout to work around this issue. Thanks.