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

bubbl-sdk-rn

v0.1.1

Published

React Native bridge for Bubbl iOS and Android SDKs

Readme

Bubbl React Native SDK

React Native bridge for Bubbl iOS and Android SDKs. Supports legacy NativeModules and TurboModule (RN 0.83+).

Install

npm install bubbl-sdk-rn

iOS

This library depends on the published iOS pod Bubbl-Sdk.

  1. Add the Bubbl pod source (if private) to your ios/Podfile:
source 'https://github.com/CocoaPods/Specs.git'
# source 'https://<your-private-spec-repo>'
  1. Install pods:
cd ios && pod install
  1. Ensure Firebase is set up in your app (per your docs):
pod 'Firebase/Core'
  1. Add GoogleService-Info.plist to your Xcode project and initialize Firebase in AppDelegate:
import FirebaseCore

class AppDelegate: NSObject, UIApplicationDelegate {
  func application(_ application: UIApplication,
                   didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    FirebaseApp.configure()
    return true
  }
}

Android

  1. Add the Bubbl Maven repo and credentials (do not hardcode tokens in source control):
allprojects {
  repositories {
    google()
    mavenCentral()
    maven {
      url "https://maven.pkg.github.com/bubbl-tech-sdk/android-sdk"
      credentials {
        username = project.findProperty('GITHUB_USERNAME') ?: System.getenv('GITHUB_USERNAME')
        password = project.findProperty('GITHUB_TOKEN') ?: System.getenv('GITHUB_TOKEN')
      }
    }
  }
}
  1. Add required Android dependencies to your app build.gradle:
dependencies {
  implementation(platform("com.google.firebase:firebase-bom:33.3.0"))
  implementation("com.google.firebase:firebase-messaging")
  implementation("com.google.android.gms:play-services-location:21.2.0")
  implementation("com.google.android.gms:play-services-maps:19.1.0")
  implementation("androidx.work:work-runtime-ktx:2.10.0")
}
  1. Add the Google Services plugin:
// project-level build.gradle
classpath("com.google.gms:google-services:4.3.10")

// app-level build.gradle (bottom)
apply plugin: "com.google.gms.google-services"
  1. Place your google-services.json in android/app/.

  2. This module pulls:

tech.bubbl:bubbl-sdk:2.0.9

The Android SDK requires Firebase Messaging, Play Services Location, Play Services Maps, and WorkManager in the host app.

Usage

import Bubbl from 'bubbl-sdk-rn';

await Bubbl.start({
  apiKey: 'YOUR_KEY',
  environment: 'staging',
  segmentations: ['default'],
});

Example App

cd example
npm install
cd ios && bundle install && bundle exec pod install && cd ..
npm run ios

Update example/App.tsx with your API key before running.

Events

  • bubblDidAuthenticate (iOS) => { deviceId, bubblId }
  • bubblDidFail (iOS) => { message }
  • geofenceSnapshot (Android) => JSON string of GeofenceSnapshot

Notes

  • updateAPNsToken expects a base64-encoded token string.
  • Minimum Android SDK is 23 (per requirement).
  • RN 0.83 requires iOS 13+, so the podspec is set to iOS 13.