
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
reactnative-sms-retriever-api-android-fang
Advanced tools
$ npm install reactnative-sms-retriever-api-android --save
$ react-native link reactnative-sms-retriever-api-android
android/app/src/main/java/[...]/MainActivity.javaimport com.vicknesh.smsretriever.RNSmsRetrieverAndroidPackage; to the imports at the top of the filenew RNSmsRetrieverAndroidPackage() to the list returned by the getPackages() methodandroid/settings.gradle:
include ':reactnative-sms-retriever-api-android'
project(':reactnative-sms-retriever-api-android').projectDir = new File(rootProject.projectDir, '../node_modules/reactnative-sms-retriever-api-android/android')
android/app/build.gradle:
implementation project(':reactnative-sms-retriever-api-android')
import RNSmsRetrieverAndroid from 'reactnative-sms-retriever-api-android';
/*
* Returns app signature array, which is used to identify the SMS sent from your server
* callback: (optional) to receive signature array
*/
const signatureArray = await RNSmsRetrieverAndroid.getAppSignature(callback);
/*
* Subscribe to listen for incoming SMS
* listener: ({ message: string, error: string, code: number}) => void
* callback: (optional) to check if subscription was successful or not
*/
const subscription = await RNSmsRetrieverAndroid.retrieveSMS(listener, callback);
// To remove subscription
subscription.remove();
App signature will vary for debug and release builds
Subscription will be valid for one time only. To listen for next sms, subscribe again
Subscription is valid for 5 minutes. After that listener will receive timeout error
Example SMS: "<#> Your ExampleApp code is: 123ABC78 FA+9qCX9VSu"
FA+9qCX9VSu => This is your app signature
FAQs
## Getting started
We found that reactnative-sms-retriever-api-android-fang 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.