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

branch-cordova-sdk

v6.6.1

Published

Branch Metrics Cordova SDK

Readme

Branch SDK Documentation for Cordova PhoneGap Ionic

View Branch's SDK documentation for Cordova PhoneGap Ionic

iOS Google On Device Measurement

  • The native Branch iOS SDK will automatically handle the retrieving and sending of Google On Device Measurement info if the ODM framework is added to your app.
  • Three new convenience functions for Google On Device Measurement have been added: setODMInfo(), setSDKWaitTimeForThirdPartyAPIs(), and setAnonID().

Testing Google On Device Measurement and Connecting to Firebase

  • Firebase Analytics requires minimum target deployment to be iOS 15. Set this in config.xml - Link: https://firebase.google.com/support/release-notes/ios#version_1200_-_july_15_2025
  • Follow this guide to register an app with Firebase and download your GoogleService-Info.plist file: https://firebase.google.com/docs/ios/setup
  • The below steps to connect to Firebase were built following this guide and making some modifications: https://github.com/dpa99c/cordova-plugin-firebasex#ios-specific

Steps to Connect Firebase:

  1. Follow the above guide to download your GoogleService-Info.plist file. Then add it to your Cordova project's root folder.
  2. Open terminal and cd into your Cordova project's root folder and enter the command cordova platform add ios.
  3. AFTER running the above command, enter the command cordova plugin add cordova-plugin-firebasex to utilize the plugin for installing the correct Firebase pods to Cordova.
  • Note: This MUST be done AFTER adding the ios build. If done in the opposite order, you may run into a target deployment error despite iOS 15+ being specified in config.xml.
  1. Ensure your GoogleService-Info.plist file is added to your root project folder or the app will crash when it attempts to initializes Firebase.
  • Note: If you see an error that Xcode can't find the Google App ID in the GoogleService-Info.plist file open Xcode and check the App -> Resources folder. Click on the GoogleService-Info.plist file. If the file is blank, just move the empty file to trash and manually add your complete file to that folder in Xcode.
  1. Run your project to confirm Firebase is connected.
  • Note: When you need to rebuild the project, we recommended running the commands in this order. This ensures the firebase plugin does not run into various plugin issues.
  1. cordova platform rm ios
  2. cordova plugin rm cordova-plugin-firebasex
  3. cordova platform add ios
  4. cordova plugin add cordova-plugin-firebasex