🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

react-native-customerglu

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

react-native-customerglu

CustomerGlu React Native plugin

unpublished
latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

CustomerGlu

CustomerGlu SDK provides you lots of in-built stuff and make your integration faster with CustomerGlu Our SDK provides you In-built functions you just need to use them.

Prerequisite

iOS - Requires IOS 11.0 or above.

Xcode - Version 12.0 or above

Android - Requires minSdkVersion should be 21

Installation

OPTION 1 - Add the CustomerGlu React Native plugin in package.json file

"react-native-customerglu": "^1.0.0"

OPTION 2 - Run this command With npm:

npm install react-native-customerglu

Initialise CustomerGlu SDK

Android Setup -

Firstly add the permission of internet in Manifest file.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />


WriteKey - Mandatory step and need to put your writeKey in meta-data .Write_key are provided by CustomerGlu

<meta-data android:name="CUSTOMERGLU_WRITE_KEY" //Don't Change Name
android:value="YOUR_WRITE_KEY" />

If Proguard is enabled in your app, Add the following line in release build.

buildTypes {
    release {
        // TODO: Add your own signing config for the release build.
        signingConfig signingConfigs.debug
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 
        'proguard-rules.pro'

    }
}

Create a Proguard rules file if not present and add the following rule in Proguard Rules file:

-keep class com.customerglu.sdk.Modal.*{*;}

iOS Setup -

Mandatory step and need to put CustomerGlu WRITE_KEY in Info.plist

<key>CUSTOMERGLU_WRITE_KEY</key>
<string>YOUR_WRITE_KEY</string>

Functionalities

Please refer to the React Native Docs

Keywords

react-native

FAQs

Package last updated on 03 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts