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

@dropthought/react-native-dt-sdk

v5.14.0

Published

dropthought sdk for react-native app

Readme

react-native-dt-sdk

This repository contains all the sources of dropthought SDK for react-native

Latest version

  • 5.14.0

Features

  • Question Randomization (new)
  • Spam avoidance (new)
  • Reach quota limit (new)
  • Auto close program
  • Skip welcome page
  • Change survey language
  • Statement
  • File upload
  • Poll
  • Auto Close on End Page
  • Bijliride Theme
  • Picture Choice
  • Matrix choice
  • Multiple open question
  • Matrix rating
  • Dropdown
  • Rating slider
  • Ranking

Minimum RN version required

Installation

Using npm:

npm install @dropthought/react-native-dt-sdk

or using yarn:

yarn add @dropthought/react-native-dt-sdk

Installing dependencies

yarn add react-native-aes-crypto react-native-secure-key-store react-native-safe-area-context [email protected] react-native-image-crop-picker react-native-webview react-native-svg @react-native-documents/picker

initialize

To initialize Dropthought SDK with your apiKey & preferred storage. You can put the code inside the index.js

import {
  SurveyModalContainer,
  initialize,
} from '@dropthought/react-native-dt-sdk';

initialize({
  apiKey: 'YOUR_API_KEY',
  storage: AsyncStorage,
});

// Add this container outer your compnent
<SurveyModalContainer>{/* Your components */}</SurveyModalContainer>;

Note: You can find you API key on the web dashboard. (If you don't have permission, please contact your admin)

Open survey screen

Declare const openSurvey = useOpenSurvey() and use openSurvey whenever you need to open the survey screen.

import { useOpenSurvey } from '@dropthought/react-native-dt-sdk';

// ...

const onButtonPress = () => {
  // declare this hook
  const openSurvey = useOpenSurvey();

  // survey screen will be open by calling below method
  openSurvey({
    visibilityId: 'YOUR_VISIBILITY_ID',
  });
};

Note: You can find and copy your visibility ID here in Enterprise app

Additional features

- Set survey metadata

import { useOpenSurvey } from '@dropthought/react-native-dt-sdk';

// ...

const onButtonPress = () => {
  // declare this hook
  const openSurvey = useOpenSurvey();

  // declare the metadata you desire
  const metadata = { name: 'barney', age: '36' };

  // survey screen will be open by calling below method
  openSurvey({
    visibilityId: 'YOUR_VISIBILITY_ID',
    metadata: metadata,
  });
};

- Set auto close on end page

import { useOpenSurvey } from '@dropthought/react-native-dt-sdk';

// ...

const onButtonPress = () => {
  // declare this hook
  const openSurvey = useOpenSurvey();

  // survey screen will be open by calling below method
  openSurvey({
    visibilityId: 'YOUR_VISIBILITY_ID',
    autoClose: true, // default is false
    autoCloseCountdown: 3000, // countdown in milliseconds, defailt is 3000
  });
};

autoClose & autoCloseCountdown is temporary available in openSurvey props, will soon move to sdk-control-center.

- Upload offline feedbacks

Dropthought SDK will cache user's feedbacks if there has no network connection. You can call this function and we will check if there's any cached feedbacks and submit them again.

When user finishes a survey under no network or a bad network, the survey feedback is saved offline. Dropthought SDK will try to upload the offline feedbacks(if any) when app start.

Or, you could call

feedbackUploader.upload()

manually to try to upload the saved results once if your app has network status monitor.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT