burnt icon indicating copy to clipboard operation
burnt copied to clipboard

[Suggestion] IOS Alert Style for Android

Open AdzeB opened this issue 1 year ago • 7 comments

Hey, I just wanted to put a suggestion out there: Could you implement the IOS Alert style for Android instead of using toast styles that come from the button? The suggestion has been implemented for Ting.

AdzeB avatar Jan 01 '24 18:01 AdzeB

Yeah I’m open to it. Ting looks like a pretty big ripoff of Burnt without credit.

nandorojo avatar Jan 01 '24 20:01 nandorojo

To be fair, He did state on the Reddit post(where I found the library) that the library takes inspiration from Burnt. He also refers to Burnt for Expo Users on the GitHub project.

AdzeB avatar Jan 03 '24 16:01 AdzeB

Gotcha, I didn’t see the expo mention in the docs since it was a bit hidden. I’d expect it to be a bit more prominent on the docs and link back to Burnt since it’s using the same upstream libraries and essentially copying the API.

In any case, I’m curious what the best Android library is

nandorojo avatar Jan 03 '24 17:01 nandorojo

Oh I see, are you still thinking of implementing devxoul/Toaster#appearance?

AdzeB avatar Jan 03 '24 17:01 AdzeB

I think a good choice would be to try porting over Material 3's snackbar. The Android docs seem to suggest that a snackbar would be better suited, especially since these are displayed in the foreground. @nandorojo Would it be helpful for me to create a PR?

sidorchukandrew avatar Jun 14 '24 20:06 sidorchukandrew

yeah that should work as a step up from ToastAndroid

nandorojo avatar Jun 14 '24 23:06 nandorojo

I just found out that react-native-snackbar uses Google's native Snackbar component on Android (see here). Maybe the Android side here could pull that in.

sidorchukandrew avatar Jul 30 '24 20:07 sidorchukandrew