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

@pt-nakul-sharma/linkio-react-native

v1.0.1

Published

React Native bridge for LinkIO deep linking SDK

Readme

@pt-nakul-sharma/linkio-react-native

npm version npm downloads License: MIT CI

React Native bridge for LinkIO deep linking SDK. Self-hosted alternative to Branch.io.

✨ Features

  • 🔗 Deep Linking - Universal Links (iOS) and App Links (Android)
  • 🎯 Deferred Deep Linking - Attribution for users who install after clicking
  • 📊 Referral Tracking - Track conversions with custom metadata
  • 🛠 TypeScript - Full type definitions included
  • 🔒 Privacy-Focused - Self-hosted, you own your data
  • Lightweight - Minimal dependencies
  • 📱 Native Performance - Built with Swift (iOS) and Kotlin (Android)

� Table of Contents

� Installation

npm install @pt-nakul-sharma/linkio-react-native
# or
yarn add @pt-nakul-sharma/linkio-react-native

iOS Setup

cd ios && pod install

Add associated domains in Xcode:

  1. Target → Signing & Capabilities → Add "Associated Domains"
  2. Add: applinks:yourdomain.com

Android Setup

No additional setup required. The package will automatically link.

📱 Quick Start

import LinkIO, { DeepLinkData } from '@pt-nakul-sharma/linkio-react-native';
import { useEffect } from 'react';

function App() {
  useEffect(() => {
    // Configure LinkIO
    LinkIO.configure({
      domain: 'yourdomain.com',
      backendURL: 'https://yourdomain.com',
      autoCheckPendingLinks: true
    });

    // Set deep link listener
    LinkIO.setDeepLinkListener((deepLink) => {
      console.log('Deep link received:', deepLink);

      if (deepLink.params.referralCode) {
        // Auto-fill referral code
        navigation.navigate('Signup', {
          referralCode: deepLink.params.referralCode
        });
      }
    });

    return () => {
      LinkIO.cleanup();
    };
  }, []);

  return <YourApp />;
}

📚 API Reference

configure(config)

Initialize LinkIO with configuration.

LinkIO.configure({
  domain: "yourdomain.com",
  backendURL: "https://yourdomain.com",
  autoCheckPendingLinks: true, // Optional, default: true
});

setDeepLinkListener(callback)

Listen for deep links.

LinkIO.setDeepLinkListener((deepLink) => {
  console.log("URL:", deepLink.url);
  console.log("Params:", deepLink.params);
  console.log("Is Deferred:", deepLink.isDeferred);
});

trackReferral(referralCode, userId, metadata?)

Track a referral.

await LinkIO.trackReferral(
  "ABC123",
  "user123",
  { source: "react-native" }, // Optional metadata
);

checkPendingLink()

Manually check for pending/deferred deep links.

await LinkIO.checkPendingLink();

cleanup()

Clean up listeners (call in unmount).

LinkIO.cleanup();

🔗 Deep Link Handling

iOS (AppDelegate.m)

#import <React/RCTLinkingManager.h>

- (BOOL)application:(UIApplication *)application
   openURL:(NSURL *)url
   options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
  return [RCTLinkingManager application:application openURL:url options:options];
}

- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity
 restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
{
  return [RCTLinkingManager application:application
                   continueUserActivity:userActivity
                     restorationHandler:restorationHandler];
}

Android (AndroidManifest.xml)

<activity android:name=".MainActivity">
  <intent-filter android:autoVerify="true">
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data
      android:scheme="https"
      android:host="yourdomain.com" />
  </intent-filter>
</activity>

📱 Example App

A complete example app is included demonstrating all features:

cd example
npm install

# iOS
cd ios && pod install && cd ..
npm run ios

# Android
npm run android

See example/EXAMPLE.md for detailed instructions.

📖 Documentation

🔗 Related Packages

🛠️ Requirements

  • React Native >= 0.60
  • iOS >= 13.0
  • Android >= API 21

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details.

Development Setup

# Clone repository
git clone https://github.com/pt-nakul-sharma/LinkIO-React-Native.git
cd LinkIO-React-Native

# Install dependencies
npm install

# Run tests
npm test

# Build
npm run prepare

💬 Support

📄 License

MIT

⭐ Show Your Support

Give a ⭐️ if this project helped you!