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

react-native-xnotify-stories

v1.0.2

Published

React Native wrapper for the XNotify Stories SDK (iOS IosStorySDKAnother.xcframework + Android xnoitify-stories-sdk)

Readme

react-native-xnotify-stories

React Native wrapper for the XNotify Stories SDK.

  • iOS — vendors the local IosStorySDKAnother.xcframework (in ios/Frameworks/).
  • Android — pulls com.github.dilawarabbas1:xnoitify-stories-sdk:stg-1.0.1 from JitPack.

Exposes an embeddable <StoriesView /> component (backed by a native ViewManager) plus an initialize(storyKey) module method.

Installation

npm install react-native-xnotify-stories
# or
yarn add react-native-xnotify-stories

iOS

cd ios && pod install

The package vendors ios/Frameworks/IosStorySDKAnother.xcframework via the podspec — no extra steps. Minimum iOS deployment target is 15.0 (the framework's MinimumOSVersion).

Android

Autolinking handles registration. The Stories SDK lives on JitPack, so the package's android/build.gradle already adds:

repositories { maven { url "https://jitpack.io" } }

If your app restricts repositories in settings.gradle (dependencyResolutionManagement), add JitPack there too:

dependencyResolutionManagement {
  repositories {
    maven { url "https://jitpack.io" }
  }
}

Usage

import React, { useEffect } from 'react';
import { Button, StyleSheet, View } from 'react-native';
import { StoriesView, XNotifyStories } from 'react-native-xnotify-stories';

export default function App() {
  useEffect(() => {
    // Initialize once (or pass `storyKey` to <StoriesView /> directly).
    XNotifyStories.initialize('YOUR_STORY_KEY');
  }, []);

  return (
    <View style={styles.container}>
      {/* Embeddable stories list */}
      <StoriesView layout="grid" style={styles.stories} />

      {/* Full-screen default story (modal on iOS, Activity on Android) */}
      <Button
        title="Open default story"
        onPress={() => XNotifyStories.showDefaultStory()}
      />
    </View>
  );
}

const styles = StyleSheet.create({
  container: { flex: 1 },
  stories: { height: 160 },
});

<StoriesView /> props

| Prop | Type | Default | Description | | ---------- | --------------------------------- | -------- | ----------- | | layout | 'normal' \| 'large' \| 'grid' | normal | Maps to StoryStyle (Android) / StoryLayout (iOS) | | storyKey | string | — | If set, initializes the SDK before rendering | | style | ViewStyle | — | Give it a size — the view does not size itself |

layout mapping: normalNORMAL_HORIZONTAL / .normal, largeLARGE_HORIZONTAL / .large, gridGRID / .grid.

Module

XNotifyStories.initialize(storyKey: string): void
// Full-screen default story: modal on iOS, StoryWebViewActivity on Android.
XNotifyStories.showDefaultStory(): void

⚠️ Integration notes (must read)

  • iOS is wired against the API discovered from the framework binary (StorySDK.shared.initialize, showStories(layout:), showDefaultStory(onClose:), StoryLayout.normal/.large/.grid).
  • Android is wired against com.xnotify.storysdk.StorySDK (initialize(apiKey), showStories(activity, recyclerView, style), showDefaultStory(activity)) and com.xnotify.storysdk.Class.StoryStyle.

License

MIT