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

@bubblsdk/react-native-sdk

v4.0.4

Published

React Native wrapper for Bubbl SDK v3 native Android and iOS cores.

Readme

Bubbl React Native SDK

React Native wrapper for Bubbl SDK v3.

The JavaScript facade forwards calls to the native Android and iOS SDK cores. Native runtime behavior, durable ingest queues, geofence transitions, notification triggering, Firebase/APNs payload handling, and diagnostics are owned by the platform SDKs.

Install

npm install @bubblsdk/react-native-sdk

Boot

import { Bubbl } from '@bubblsdk/react-native-sdk';

await Bubbl.boot({ apiKey: '...' });

Enable SDK-owned location/background processing when the host app has collected location permission:

await Bubbl.boot({
  apiKey: '...',
  enableLocationTracking: true,
});

await Bubbl.startLocationTracking();

The SDK owns the native background mechanics once enabled: Android uses the bundled foreground location service and WorkManager restore/refresh path, and iOS uses the bundled CoreLocation monitor. The host app still owns platform declarations and runtime permission UX.

For iOS background geofence cold starts, forward launch options from your AppDelegate before the React Native bridge or JavaScript UI is mounted:

import BubblReactNativeSdk

func application(
  _ application: UIApplication,
  didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
  BubblSdkLocationLaunchHandler.handleLaunchOptions(launchOptions as NSDictionary?)
  return true
}

For apps that render their own in-app notification modal while still letting the native SDK trigger device notifications:

await Bubbl.boot({
  apiKey: '...',
  notificationRenderingMode: 'sdkDefault',
  enableDefaultNotificationModal: false,
});

// Or toggle it after boot.
await Bubbl.disableDefaultNotificationModal();

Apps with their own notification inbox/history can still ask the SDK to show the bundled detail UI for a stored payload:

await Bubbl.openNotificationModal(payload);

This opens the default modal/detail UI without posting another device notification.

Android Notification Taps

Firebase auto-rendered notifications launch the app's MainActivity with the notification payload as intent extras. Forward those launcher intents into the SDK so notification taps open the app and route to the right modal.

Use openDefaultModal(...) when the SDK should show the bundled modal:

import android.content.Intent
import android.os.Bundle
import com.facebook.react.ReactActivity
import tech.bubbl.reactnative.BubblSdkNotificationIntents

class MainActivity : ReactActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        BubblSdkNotificationIntents.openDefaultModal(this, intent)
    }

    override fun onNewIntent(intent: Intent) {
        super.onNewIntent(intent)
        setIntent(intent)
        BubblSdkNotificationIntents.openDefaultModal(this, intent)
    }
}

Use openHostModal(...) when the app renders its own modal. The SDK records the tap, keeps the payload pending across cold start, and emits notificationTapped once the React Native bridge subscribes:

BubblSdkNotificationIntents.openHostModal(this, intent)

Events

const subscription = Bubbl.events.addListener((event) => {
  if (event.type === 'notificationReceived') {
    // Host apps can inspect or custom-render notification payloads here.
  }
});

subscription.remove();

Notes

  • Android depends on tech.bubbl.sdk:bubbl-sdk and requires minSdkVersion 27 or higher.
  • iOS depends on the BubblSDK CocoaPods/Swift package release and requires iOS 15 or higher.
  • Host apps must declare push/location permissions. Android needs coarse/fine/background location, foreground-service location, and notification permissions. iOS needs location usage descriptions and UIBackgroundModes entries for location and remote-notification.