
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
react-native-app-link
Advanced tools
Easily deep link to other apps in React Native. If the app isn't installed on the user's phone, open the App Store or Play Store link instead.
npm i -S react-native-app-link
import AppLink from 'react-native-app-link';
AppLink.maybeOpenURL(url, { appName, appStoreId, appStoreLocale, playStoreId }).then(() => {
// do stuff
})
.catch((err) => {
// handle error
});
AppLink.openInStore({ appName, appStoreId, appStoreLocale, playStoreId }).then(() => {
// do stuff
})
.catch((err) => {
// handle error
});
maybeOpenURL(url, config) -> Promise
Opens link if app is present. If not, it opens an app store to prompt the user to download it.url
: (String) a url in the specified app's deep linking format that points to the content you want to open.
config
: (Object) a set of fallback urls if the app requested does not exist locally.
config.appName
: (String) the app's name you're linking into.
config.appStoreId
: (String) the app's ID on the App Store (iOS). Example: { appStoreId: '529379082' }
config.appStoreLocale
: (String) the App Store's locale (iOS). Defaults to the USA App Store. Example: { appStoreId: 'us' }
config.playStoreId
: (String) the app's package identifier on the Play Store (Android). Example: { playStoreId: 'me.lyft.android' }
openInStore(config) -> Promise
Opens an app store to the listing requested.config
: (Object) a config for generate store urls.
config.appName
: (String) the app's name you're linking into.
config.appStoreId
: (String) the app's ID on the App Store (iOS). Example: { appStoreId: '529379082' }
config.appStoreLocale
: (String) the App Store's locale (iOS). Defaults to the USA App Store. Example: { appStoreLocale: 'us' }
config.playStoreId
: (String) the app's package identifier on the Play Store (Android). Example: { playStoreId: 'me.lyft.android' }
If there are any issues file an issue above and don't hesitate to spin up a PR and contribute!
FAQs
Easily link to other apps with React Native.
The npm package react-native-app-link receives a total of 4,524 weekly downloads. As such, react-native-app-link popularity was classified as popular.
We found that react-native-app-link 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.
Research
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.