Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
rn-symcode-bt
Advanced tools
React native library for Symcode barcodes scaner (or others) (SPP protocol)
npm install rn-symcode-bt
Select SPP mode on scaner (for others read documentation of concrete device):
Pair your device in standard android bluetooth menu (or use methods: serachDevices and pairDevice)
Connect device, use connect or asyncConnectWithTimeout methods
For notify of scan event, use enableNotify
import Symcode from "rn-symcode-bt";
/**
* Methods:
*/
export declare type Device = Record<'name' | 'mac', string> & Record<'isPaired', boolean>;
export default class SymcodeDriver {
enableBluetooth(): Promise<boolean>;
searchDevices(timeout?: number): Promise<Device[]>;
getPairedDevices(timeout?: number): Promise<Device[]>;
isPaired(mac: string): Promise<boolean>;
isConnected(mac: string): Promise<boolean>;
pairDevice(mac: string): Promise<boolean>;
connect(mac: string): Promise<boolean>;
asyncConnectWithTimeout(mac: string): Promise<void>;
disconnect(): Promise<void>;
enableNotify(eventFn: (data: Record<'barcode', string>) => Promise<void>): Promise<void>;
disableNotify(): Promise<void>;
}
MIT
FAQs
React native library from Symcode barcodes scaner
The npm package rn-symcode-bt receives a total of 305 weekly downloads. As such, rn-symcode-bt popularity was classified as not popular.
We found that rn-symcode-bt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.