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

react-native-communications

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-communications - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

5

AKCommunications.js

@@ -129,3 +129,6 @@ 'use strict';

if(isCorrectType('String', body)) {
url += Platform.OS === 'ios' ? `&body=${body}` : `?body=${body}`;
// for some strange reason android seems to have issues with ampersands in the body unless it is encoded twice!
// iOS only needs encoding once
if(Platform.OS === 'android') body = encodeURIComponent(body);
url += Platform.OS === 'ios' ? `&body=${encodeURIComponent(body)}` : `?body=${encodeURIComponent(body)}`;
} else {

@@ -132,0 +135,0 @@ console.log('the body should be provided as a string. It was provided as '

2

package.json
{
"name": "react-native-communications",
"version": "2.1.2",
"version": "2.1.3",
"description": "Open a web address or call, email, text or iMessage (iOS only) someone in React Native",

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

@@ -0,0 +0,0 @@ # react-native-communications

Sorry, the diff of this file is not supported yet

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