npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@biqprotocol/react-native

v0.0.26

Published

SDK for interacting with BIQ protocol

Readme

biq-sdk-react-native

Feedback:

  • [Android] Eventul onBluetoothStateChange nu se triggeruieste decat daca startPresence e on. Ar trebui sa functioneze indiferent de starea prezentei.
  • [Android] In timp ce presence e on, daca dezactivez bluetooth se pune pe paused insa nu revine la scanning in progress (nici scan state nici sdk state) dupa bluetooth on desi scaneaza. Cu toate astea, a functionat complet doar prima data, a 2-a oara doar a facut update la sdk&scan state dar nu a si validat. Flow-ul a fost cam asa (app in foreground sau background dar ecran pornit):
    • Beacon offline
    • bluetooth on
    • startPresence
    • bluetooth off (sdk&scan paused)
    • bluetooth on (no update la sdk&scan)
    • Beacon online
    • validare
    • Bluetooth off (sdk&scan paused)
    • Bluetooth on (no update la sdk&scan)
    • dupa 5 min sdk&scan au devenit in progress dar nu a facut validare
    • dupa alte 5 minute a facut validare
  • [Android] Nu am testat cu app in background
  • [iOS] La fel ca pe Android, daca dezactivez bluetooth in timp ce este scanning in progress nu face update la scan&sdk state desi scaneaza.
  • [iOS] Acelasi test case ca pe Android nu a produs decat validarea initiala apoi nu a mai functionat nici dupa 15 minute. In plus, sdk&scan state a ramas paused dupa bluetooth off/onn dupa prima validare.
  • [iOS] Cand bluetooth revine pe on, sdk&scan state se modifica mereu in paused chiar daca nu e pornita prezenta
  • [iOS] Cu app in background si startPresence on, la bluetooth off am primit 2 actualizari de sdk&scan, prima cu paused si a 2-a cu in progress. Dupa bluetooth on a facut validare dupa ce am pornit beacon-ul.

BIQ SDK for React Native (Expo module)

Development

Expo module

Inside project's root:

  1. Install dependencies
npm install
  1. Build plugin - run after making changes to plugin in /plugin
npm run prepare
  1. Build module and watch for changes
npm run build

Example app

Inside /example folder:

  1. Install dependencies
npm install
  1. Configure Expo modules - run after making changes to module's plugin or /example/app.json
npx expo prebuild

Might also require pod reinstalation for iOS:

cd ios
pod install
  1. [optional] Run on Android emulator (BLE features will not work on emulator, but it is useful for testing the build process)
npx expo run:android
  1. [optional] Run on Android device
npx expo run:android --device
  1. [optional] Build Android apk in /example/android/app/build/outputs/apk/release/app-release.apk
npm run build:android

Requesting iOS permissions

At the moment we use react-native-permissions to request Android and iOS permissions. This is now a required peer dependency and needs to be installed in the app implementing the SDK:

npm i @biqprotocol/react-native react-native-permissions

This is because Expo will not autolink a module if it is not present in the dependencies section of the react-native application.