Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-zendesk-chat

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-zendesk-chat - npm Package Compare versions

Comparing version 0.4.1-beta.1 to 0.4.1-beta.2

17

index.js

@@ -1,5 +0,20 @@

import { NativeModules } from "react-native";
import { NativeModules, Platform } from "react-native";
const RNZendeskChatModule = NativeModules.RNZendeskChatModule;
Platform.select({
default: () => {
return;
},
android: () => {
// react-native android doesn't support Java method overloading
// So this code implements the init method but makes sure to call
// the right Java Code making sure there's a value for each parameter
// Reference: https://github.com/facebook/react-native/blob/07d090dbc6c46b8f3760dbd25dbe0540c18cb3f3/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaModuleWrapper.java#L85-L86
RNZendeskChatModule.init = (key, appId) => {
return RNZendeskChatModule._initWith2Args(key, appId || null);
};
},
})();
/**

@@ -6,0 +21,0 @@ * TypeScript Documentation for this Module describes the available methods & parameters

2

package.json
{
"name": "react-native-zendesk-chat",
"version": "0.4.1-beta.1",
"version": "0.4.1-beta.2",
"description": "React Native Wrapper around Zopim Zendesk Chat",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc