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 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-synerise-sdk

v0.24.2

Published

React Native wrapper for Synerise SDK

Downloads

233

Readme

Synerise React Native SDK (react-native-synerise-sdk) (0.24.2)

Platform Platform Languages npm Synerise Documentation


About

Synerise SDK wrapper for React Native.

Documentation

Most up-to-date documentation is available at Developer Guide - Mobile SDK.

Requirements

Android

  • Minimum Android SDK version - 21
  • Supported targetSDKVersion - 33

iOS

  • Xcode 15 and iOS SDK 17
  • iOS 9.0+ minimum deployment target
  • Valid architectures: arm64 devices and arm64, x86_64 simulators

Installation

  1. Install module by npm:

    npm install react-native-synerise-sdk --save
  2. If you are using React Native >= 0.60, install native dependencies via CocoaPods from your ios directory:

    pod install
  3. Or if you are using React Native < 0.60, link native dependency:

    react-native link react-native-synerise-sdk

    and then, install from your ios directory:

    pod install --repo-update
  4. Import Synerise SDK:

    import { Synerise } from 'react-native-synerise-sdk';

iOS

Important: Please note that starting from React Native 0.60, CocoaPods is now the default integration approach for React Native iOS projects.

  1. Add pod 'react-native-synerise-sdk', :path => '../node_modules/react-native-synerise-sdk' as a dependency in your ios/Podfile.

  2. Your Podfile should now look like this:

    target 'YourTarget' do
       
    # Pods for your target
    pod 'React', :path => '../node_modules/react-native/'
    pod 'React-Core', :path => '../node_modules/react-native/React'
    # ... other React dependencies
          
    # Add react-native-synerise-sdk
    pod 'react-native-synerise-sdk', :path => '../node_modules/react-native-synerise-sdk'
          
    use_native_modules!
    
    end
  3. Run pod install from your ios directory.

If you prefer linking manually, check React Native - Linking Libraries to link your libraries that contain native code.

Android

  1. Add implementation 'com.synerise.sdk.react:react-native-synerise-sdk:0.15.0' as a dependency in your app's build.gradle file.

  2. Add RNSyneriseSdkPackage to your list your packages in application's main class as shown below:

    @Override
    protected List<ReactPackage> getPackages() {
    	@SuppressWarnings("UnnecessaryLocalVariable")
    	List<ReactPackage> packages = new PackageList(this).getPackages();
    	packages.add(new RNSyneriseSdkPackage(getApplication()));
       
    	return packages;
    }

Initialization:

First of all, you need to initialize Synerise React Native SDK and provide Profile API Key.

To get Profile API Key, please sign in to your Synerise account and visit https://app.synerise.com/settings/apikeys. Then, generate new API Key for Profile audience.

Synerise.Initializer()
	.withClientApiKey('YOUR_PROFILE_API_KEY')
	.init()

Changelog

Changelog can be found here.

Author

Synerise, [email protected]. If you need support please feel free to contact us.