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

@intastellar/signin-sdk-react-native

v1.1.1

Published

Official Intastellar authentication SDK for React Native applications

Downloads

9

Readme

@intastellar/signin-sdk-react-native

Official Intastellar authentication SDK for React Native applications with support for both Expo and bare React Native projects.

Installation

npm install @intastellar/signin-sdk-react-native

Dependencies for Bare React Native

If you're using a bare React Native project, install these dependencies:

npm install @react-native-async-storage/async-storage react-native-inappbrowser-reborn

Dependencies for Expo

If you're using Expo (managed workflow), install these dependencies:

npx expo install @react-native-async-storage/async-storage expo-web-browser expo-constants

iOS Setup (Bare React Native only)

For bare React Native projects, run:

cd ios && pod install

Android Setup

No additional setup needed for Android in either Expo or bare React Native projects.

Platform Support

This SDK automatically detects whether you're using Expo or bare React Native and uses the appropriate browser implementation:

  • Expo projects: Uses expo-web-browser for in-app authentication
  • Bare React Native: Uses react-native-inappbrowser-reborn for in-app authentication
  • Fallback: Falls back to the device's default browser if in-app browsing is unavailable

Usage

Basic Usage

import { IntastellarButton } from "@intastellar/signin-sdk-react-native";

function App() {
  const handleLogin = (account) => {
    console.log("User logged in:", account);
  };

  return (
    <IntastellarButton
      clientId="your-client-id"
      loginUri="myapp://auth"
      loginCallback={handleLogin}
    />
  );
}

Using the Hook

import { useIntastellarRN } from "@intastellar/signin-sdk-react-native";

function MyComponent() {
  const { users, isLoading, signin, logout, isSignedIn } = useIntastellarRN({
    clientId: "your-client-id",
    loginUri: "myapp://auth",
  });

  return (
    <View>
      {isSignedIn ? (
        <TouchableOpacity onPress={logout}>
          <Text>Sign Out</Text>
        </TouchableOpacity>
      ) : (
        <TouchableOpacity onPress={() => signin()}>
          <Text>Sign In</Text>
        </TouchableOpacity>
      )}
    </View>
  );
}

Configuration

| Property | Type | Required | Description | | --------------- | -------- | -------- | ----------------------------------------- | | clientId | string | Yes | Your Intastellar application client ID | | loginUri | string | Yes | Deep link URI for authentication redirect | | scopes | string | No | OAuth scopes (default: "profile,email") | | theme | object | No | Theme configuration | | loginCallback | function | No | Callback when login succeeds | | errorCallback | function | No | Callback when login fails |

Deep Link Setup

iOS (Info.plist)

<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLName</key>
    <string>myapp</string>
    <key>CFBundleURLSchemes</key>
    <array>
      <string>myapp</string>
    </array>
  </dict>
</array>

Android (AndroidManifest.xml)

<activity
  android:name=".MainActivity"
  android:exported="true"
  android:launchMode="singleTop">
  <intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="myapp" />
  </intent-filter>
</activity>

License

MIT © Intastellar Solutions International