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

@taqlyn/sdk-react-native

v0.1.1

Published

Taqlyn React Native SDK — Nitro Hybrid Objects wrapping native Android/iOS SdkCore

Downloads

281

Readme

@taqlyn/sdk-react-native

Full guide: React Native cookbook on the docs site.

Thin Nitro Modules wrapper around canonical Android / iOS SdkCore. Matching, Play Install Referrer, pasteboard, and UL/AL observation live in native SdkCore — this package only bridges.

Public API

import {
  configure,
  createShareLink,
  trackOpen,
  resolveDeferred,
  observePlatformLinks,
  consume,
  setReadyForNavigation,
  type DeferredLink,
  type LinkProcessingMode,
} from '@taqlyn/sdk-react-native'
// Or platform entrypoints: '@taqlyn/sdk-react-native/ios' | '.../android'

configure(clientId, publicKeyId, {
  linkProcessingMode: 'all', // 'all' | 'web-only' | 'deferred-only'
  env: 'sandbox',
})

const share = await createShareLink({
  destinationPath: '/offer',
  params: { sku: '42' },
  trackUniqueUsers: true, // Starter+ hashed unique visitors
  trackOpens: true, // reports POST /v1/events/open when consume() runs
})

// iOS: clipboard / App Clip / claim. Android: Play Install Referrer / claim.
const deferred = await resolveDeferred() // DeferredLink | null

// Platform-only listener — clipboard matches never fire on Android, referrer never on iOS.
const sub = observePlatformLinks((link) => {
  consume(link.linkId)
})

setReadyForNavigation(true) // deliver pending deferred to observers

Navigation: @taqlyn/nav-expo-router (Expo Router linking + +native-intent) or @taqlyn/nav-react-navigation (NavigationContainer linking). When those handle warm UL/AL, set linkProcessingMode: 'deferred-only'.

DeferredLink matches @taqlyn/sdk-contract.

Architecture

App feature / sample
  → public facade (this package)
    → adapters/native-bridge (Nitro Hybrid Object)
      → Android SdkCore / iOS SdkCore

Feature / sample code must use the real Nitro autolink — never a fake JS bridge. Unit tests may inject a fake via __setNativeBridgeForTests.

Feature code must not import Nitro Hybrid types, installreferrer, or pasteboard kits.

Expo vs bare

| Target | Notes | |--------|--------| | Bare RN | Autolink this package + react-native-nitro-modules. New Architecture assumed. | | Expo (dev client / prebuild) | Use the config plugin (app.plugin.js) for Associated Domains + Android intent filters. | | Expo Go | Cannot load custom Nitro native code — use a development build. |

Expo config plugin

// app.config.js
plugins: [
  [
    '@taqlyn/sdk-react-native',
    {
      associatedDomains: ['links.example.com'],
      androidHosts: ['links.example.com'],
      androidPathPrefix: '/',
    },
  ],
]

Nitro codegen

cd packages/sdk-react-native
bun install
bun run codegen   # npx nitrogen — regenerates ./nitrogen/generated

Commit nitrogen/generated/ when present. After changing src/specs/*.nitro.ts, re-run codegen and implement any required Hybrid method stubs.

Native SdkCore wiring

Published @taqlyn/sdk-react-native pulls com.taqlyn:taqlyn-sdk from Maven Central. Host apps must not includeBuild a local sdk-android checkout.

iOS: CocoaPods / the Nitro podspec depends on published TaqlynSDK (SPM: https://github.com/taqlyn/sdk-ios.git). Do not add a local packages/sdk-ios path in customer apps.

Sample

sample/App.tsx demonstrates configure → resolveDeferred → setReadyForNavigation → observe → consume, optionally using @taqlyn/nav-expo-router helpers (no Match logic).

Tests

bun test
bun run typecheck

Native bridge hosts (closes deferred / assemble risks)

Fake Install Referrer / pasteboard + sandbox-shaped ResolveClient — no Play Store / real device required for wrapper proof. Hybrid objects delegate to these bridges.

# Android: SdkCore bridge unit tests + AAR assemble
cd android-host
# Prefer cached Gradle if wrapper download is flaky:
#   $GRADLE_HOME/bin/gradle :bridge:testDebugUnitTest :bridge:assembleRelease
./gradlew :bridge:testDebugUnitTest :bridge:assembleRelease

# iOS: SdkCore bridge unit tests (clipboard fake + warm UL)
cd ios-bridge && swift test

Package layout

src/
  index.ts                 # public facade
  facade.ts
  adapters/native-bridge.ts
  adapters/fake-native-bridge.ts
  specs/TaqlynSdk.nitro.ts
android/ … HybridTaqlynSdk.kt → TaqlynSdkCoreBridge → SdkCore
android-host/ … bridge tests + assembleRelease
ios/ … HybridTaqlynSdk.swift → TaqlynSdkCoreBridge → SdkCore
ios-bridge/ … Swift package tests
expo-plugin/
sample/

CI/CD & NPM Publishing

This package publishes to npm using Tokenless OIDC Trusted Publishing (modeled on react-native-nitro-google-sign-in/google-signin):

  • No static NPM_TOKEN required: Uses GitHub Actions OIDC (id-token: write) to exchange ephemeral credentials directly with registry.npmjs.org.
  • Automatic SLSA Provenance: Emits public cryptographic Sigstore provenance attestations verifying the exact commit and workflow run.
  • Workflow: .github/workflows/publish.yml triggers on published releases or Git tags (v*), runs Nitrogen codegen (bun run codegen), builds the package, and executes npm publish --provenance --access public.