
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
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
The npm package rn-android-nfc-serial-bridge receives a total of 2 weekly downloads. As such, rn-android-nfc-serial-bridge popularity was classified as not popular.
We found that rn-android-nfc-serial-bridge 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.