New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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

to
2.1.4

13

AKCommunications.js

@@ -161,5 +161,14 @@ 'use strict';

} else {
return Linking.openURL(url);
Linking.openURL(url)
.catch(err => {
if(url.includes('telprompt')) {
// telprompt was cancelled and Linking openURL method sees this as an error
// it is not a true error so ignore it to prevent apps crashing
// see https://github.com/anarchicknight/react-native-communications/issues/39
} else {
console.warn('openURL error', err)
}
});
}
}).catch(err => console.error('An unexpected error happened', err));
}).catch(err => console.warn('An unexpected error happened', err));
};

@@ -166,0 +175,0 @@

2

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

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