
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
react-native-app-notification
Advanced tools

npm i react-native-app-notification
Inside of App.tsx
import AppNotification from 'react-native-app-notification'
const App = () => {
return (
<View>
(...)
<AppNotification />
</View>
)
}
// Anywhere in the app
AppNotification.show({
title: 'New message'
message: 'Someone sent you a message!',
onPress: navigateToMessages,
})
// You can inject your own components to extend it further
AppNotification.show({
title: 'New message'
message: 'Someone sent you a message!',
left: <NotificationIcon />,
right: <ShowButton />,
})
| Property | Type | Optional | Default | Description |
|---|---|---|---|---|
| animated | boolean | true | true | Determines if the notification should animate in/out |
| duration | number | true | 5000 | Lifetime in MS |
| renderNotification | function | true | undefined | Overrides notification renderring |
| maxAmount | number | true | undefined | Sets amount of notifications that can be active at once |
| alignBottom | boolean | true | false | Renders the notifications from the bottom |
| bottomOffset | number | true | layout.height * 0.07 | Bottom offset |
| topOffset | number | true | layout.height * 0.07 | Top offset |
| contentContainerStyle | StyleProp | true | { marginLeft: 8, width: 85%} | Stylesheet for the View renderring all the notifications |
| containerStyle | StyleProp | true | SEE SOURCE | Stylesheet for the notification card |
| titleStyle | StyleProp | true | SEE SOURCE | Stylesheet for the title |
| messageStyle | StyleProp | true | SEE SOURCE | Stylesheet for the messagee |
| imageStyle | StyleProp | true | SEE SOURCE | Stylesheet for the image |
| Method | Description | Props |
|---|---|---|
| show(options) | Renders a notification | title, message, imageUrl, onPress, panEnabled, left, right (and everything above except for contentContainerStyle) |
| clear() | Clears all notifications | none |
FAQs
In-app custom notifications for React-Native
The npm package react-native-app-notification receives a total of 131 weekly downloads. As such, react-native-app-notification popularity was classified as not popular.
We found that react-native-app-notification demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.