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

@nitrique/rn-proximity-reader-discovery

v1.0.3

Published

ProximityReaderDiscovery iOS API gateway

Readme

@nitrique/rn-proximity-reader-discovery

🇺🇦 Stand with Ukraine against the Russian invasion. If you want to help, consider donating to Come Back Alive or United24.


An Expo module wrapping Apple's ProximityReaderDiscovery API to present Tap to Pay on iPhone education screens.

iOS 18.0+ only.

Prerequisites

Before using this module, you must complete Apple's Tap to Pay setup. Without these steps, the app will not compile or will crash at runtime with a sandbox restriction error.

  1. Follow the Tap to Pay on iPhone program guide to request access and configure your developer account.
  2. Read the Human Interface Guidelines for Tap to Pay on iPhone to ensure your integration meets Apple's design requirements.
  3. Add the entitlement com.apple.developer.proximity-reader.payment.acceptance to your app (see Integration below).
  4. Enable the Tap to Pay on iPhone capability on your App ID in Certificates, Identifiers & Profiles and regenerate your provisioning profile.

TestFlight & Production

The Tap to Pay on iPhone entitlement runs in sandbox mode by default, which is sufficient for development.

For TestFlight and App Store distribution, you must:

  1. Request production mode access from Apple through the Tap to Pay on iPhone program.
  2. Complete Apple's deployment checklist for Tap to Pay production here : checklist.
  3. Ensure your provisioning profiles are configured for production entitlements.

Without production access, ProximityReaderDiscovery will throw errors in TestFlight builds.

Installation

npx expo install @nitrique/rn-proximity-reader-discovery

Usage

import { presentTapToPayEducation } from "@nitrique/rn-proximity-reader-discovery";

try {
  await presentTapToPayEducation();
} catch (error) {
  // Handle errors (iOS < 18.0, missing entitlement, etc.)
  console.error(error);
}

Integration with an existing Expo app

1. Install the module

npx expo install @nitrique/rn-proximity-reader-discovery

2. Add the entitlement and localizations

In your app.json (or app.config.js):

{
  "expo": {
    "ios": {
      "entitlements": {
        "com.apple.developer.proximity-reader.payment.acceptance": true
      },
      "infoPlist": {
        "CFBundleLocalizations": [
          "en", "fr", "de", "es", "it", "pt", "ja", "ko",
          "zh-Hans", "zh-Hant", "ar", "nl", "pl", "sv",
          "da", "fi", "nb", "th", "vi", "id", "tr", "ru"
        ]
      }
    }
  }
}

The CFBundleLocalizations array tells iOS which languages your app supports. Apple's education screens are localized automatically but will only display in the device's language if it is listed here. Add all languages relevant to your user base.

3. Rebuild

Since this module includes native code, you need a native rebuild:

npx expo prebuild --clean
npx expo run:ios

4. Use in your app

import { presentTapToPayEducation } from "@nitrique/rn-proximity-reader-discovery";
import { Alert, Button } from "react-native";

function TapToPaySetup() {
  const handleEducation = async () => {
    try {
      await presentTapToPayEducation();
    } catch (error: any) {
      Alert.alert("Error", error.message);
    }
  };

  return <Button title="Learn about Tap to Pay" onPress={handleEducation} />;
}

API

presentTapToPayEducation()

Presents Apple's system-provided education sheet explaining how to accept contactless payments using Tap to Pay on iPhone.

  • Returns: Promise<void> — resolves when the user dismisses the sheet.
  • Throws: if iOS < 18.0, the entitlement is missing, or the content cannot be displayed.

Professional Services

Need help integrating Tap to Pay on iPhone into your React Native app, or looking for expert mobile development? Visit nitrique.fr for consulting and development services.

License

MIT