Fast and simple in-app notifications for React Native
MIT License
Bot releases are hidden (Show)
omitGlobalMethodsHookup
.omitGlobalMethodsHookup
prop to NotifierWrapper
/NotifierRoot
to skip global Notifier
methods hookup. Details. (c8e3c2b)NotifierProps
type (a827354)SafeAreaView
from react-native-safe-area-context
as the component container.showNotification
params. Pass them as props to NotifierRoot
or NotifierWrapper
Touchable*
and Pressable
components imported from react-native
will not work in custom components. They need to be replaced with equivalent components from react-native-gesture-handler
.Published by seniv 3 months ago
Touchable*
and Pressable
components imported from react-native
will not work in custom components. They need to be replaced with equivalent components from react-native-gesture-handler
.Published by seniv over 2 years ago
Published by seniv over 2 years ago
Published by seniv about 3 years ago
Published by seniv about 3 years ago
Published by seniv over 3 years ago
Published by seniv over 3 years ago
Published by seniv over 3 years ago
Published by seniv over 3 years ago
Published by seniv about 4 years ago
To render the notification above the Modal
make sure that you've passed coverScreen={false}
to the Modal
.
Example code: https://github.com/seniv/react-native-notifier/blob/e89f61027bb46db9d842a3e5df8e104ac1464422/example/src/App.tsx#L122
Published by seniv over 4 years ago
Published by seniv over 4 years ago
Notification
component (4a99626)Notification
and Alert
components (https://github.com/seniv/react-native-notifier/commit/a30e2bc3c4f08179e449df46069226a86dfe7d68 and https://github.com/seniv/react-native-notifier/commit/f0aa0f116ac41956e4eef4d8c3bec55b73f6d040) Thanks to @MohamadKh75Published by seniv over 4 years ago
Published by seniv over 4 years ago
Published by seniv over 4 years ago
Published by seniv over 4 years ago
Published by seniv over 4 years ago
NotifierWrapper
or NotifierRoot
will be used as default params of showNotification
function (ce4edc7)onHidden
param (5bcae2a)onHide
to onStartHiding
(9e1c924)imageSource
param to componentProps.imageSource
(bb3e409)MainComponent
to NotificationComponent
(bb3e409)Published by seniv over 4 years ago
Published by seniv over 4 years ago