Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's possible to display the notification from bottom tab bar (react navigation) #56

Open
KrifaYounes opened this issue Dec 3, 2021 · 3 comments
Labels
pinned Pinned issues that should be resolved

Comments

@KrifaYounes
Copy link

Like YouTube music

RPReplay_Final1638531412.mov
@seniv
Copy link
Owner

seniv commented Jan 9, 2022

Hello, @KrifaYounes! Right now there is no ability to display notifications on the bottom side.
Currently, I'm working on a feature that will help to customize notification Animations, and with that customization, it will be easy to display notifications on the bottom side.

@seniv seniv added the pinned Pinned issues that should be resolved label Jan 9, 2022
@dylanclements
Copy link

dylanclements commented Aug 30, 2023

Just thought I'd add to this thread that you can do something like this to animate from the bottom:

 const vh = Dimensions.get('screen').height;
 
  Notifier.showNotification({
    duration,
    Component: ComponentName,
    containerStyle: (translateY: Animated.Value) => ({
      transform: [
        {
          translateY: translateY.interpolate({
            inputRange: [-1000, -200, 0],
            outputRange: [vh, 0.9 * vh, 0.8 * vh],
          }),
        },
      ],
    }),
  });

@Ohmniox
Copy link

Ohmniox commented Jun 14, 2024

This would really be an awesome addition to this library. Waiting for this to be implemented.
Currently I am another library along with this.
https://github.com/calintamas/react-native-toast-message/tree/v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned Pinned issues that should be resolved
Projects
None yet
Development

No branches or pull requests

4 participants