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-neura

v1.1.5

Published

React native Neura SDK wrapper

Downloads

56

Readme

react-native-neura

Prerequisites

  • An app created in Neura's console
  • A React Native project

Set-up

Adding the library to the project

  • Run the following command at your project root directory: $ npm i react-native-neura
  • (Github repository: https://github.com/NeuraLabs/react-native-neura.git)

Android specific instructions

  1. Make sure the minSdkVersion in your Project-level build.gradle is 19 or above

  2. Add the following to the dependencies {...} section in your App-level build.gradle:

    implementation ("com.theneura:android-sdk:+") 
    implementation ("com.google.android.gms:play-services-gcm:17.0.0") 
    implementation ("com.google.android.gms:play-services-location:18.0.0")
    implementation "com.android.support:design:${rootProject.ext.supportLibVersion}"
  3. Initiate the NeuraApiClient with your app_uid & app_secret, by adding the following to the onCreate method in the MainApplication.java file:

    import com.RNpublic.neuraintegration.NeuraIntegrationSingleton;
    import com.neura.standalonesdk.service.NeuraApiClient;
    NeuraApiClient mNeuraApiClient = NeuraApiClient.getClient(getApplicationContext(), "<uid>", "<secret>");
    
    NeuraIntegrationSingleton.getInstance().setNeuraApiClient(mNeuraApiClient);

Firebase Set-up

  • If you don't have Firebase installed yet, add it to your project following these instructions: https://firebase.google.com/docs/android/setup#create-firebase-project and add the following inside the tag in your Android manifest file:

    <service
      android:name="com.RNpublic.neuraintegration.NeuraIntegrationEventsService"
      android:exported="false">
     <intent-filter>
     <action android:name="com.google.firebase.MESSAGING_EVENT" />
     </intent-filter>
    </service>
  • If you are already using Firebase in your project: Add the following to the top of your onMessageReceived method in the Firebase Listener class:

    boolean isNeuraPush = NeuraPushCommandFactory.getInstance().isNeuraPush(getApplicationContext(), message.getData(), new NeuraEventCallBack() {
        @Override
        public void neuraEventDetected(NeuraEvent event) {
        // If you subscribed to neura moments this method will be invoked
        }
    }); 
    
    if (isNeuraPush)
    {
       return;
    }
  • If you are handling Firebase using a 3rd party library, add this to the gradle file of the library in order to be able to access Neura objects:

    compileOnly "com.theneura:android-sdk:+" 

iOS specific instructions

  1. Run: cd ios & pod install at your project root directory:
  2. Follow steps 2-4 of "Configure your project for use with Neura" & step 1 of "Finalize Integration" from the iOS tutorial: https://dev.theneura.com/tutorials/ios

Usage

import RNNeuraIntegration from 'react-native-neura';

...
RNNeuraIntegration.authenticateAnon();