
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
rn-android-nfc-serial-bridge
Advanced tools
$ npm install react-native-android-nfc-comm-bridge --save
$ react-native link react-native-android-nfc-comm-bridge
android/app/src/main/java/[...]/MainActivity.java
import com.reactlibrary.RNAndroidNfcCommBridgePackage;
to the imports at the top of the filenew RNAndroidNfcCommBridgePackage()
to the list returned by the getPackages()
methodAppend the following lines to android/settings.gradle
:
include ':react-native-android-nfc-comm-bridge'
project(':react-native-android-nfc-comm-bridge').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-android-nfc-comm-bridge/android')
Insert the following lines inside the dependencies block in android/app/build.gradle
:
compile project(':react-native-android-nfc-comm-bridge')
Copy .so files under src/main/libs to target android
in MainActivity of your project
import android.view.KeyEvent; // <--- import
import com.tickclass.reactlibrary.RNAndroidNfcCommBridgeModule;; // <--- import
public class MainActivity extends ReactActivity {
......
@Override // <--- Add this method if you want to react to keyUp
public boolean onKeyUp(int keyCode, KeyEvent event) {
RNAndroidNfcCommBridgeModule.getInstance().onKeyUpEvent(keyCode, event);
super.onKeyUp(keyCode, event);
return true;
}
import RNAndroidNfcCommBridge from 'react-native-android-nfc-comm-bridge';
// TODO: What to do with the module?
RNAndroidNfcCommBridge;
FAQs
## Getting started
We found that rn-android-nfc-serial-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.