Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
com.peerio.cordova.plugin.carrier
Advanced tools
Readme
This plugin was forked from https://github.com/dtmtec/cordova-plugin-carrier
cordova-plugin-carrier is a cordova plugin to get the device's carrier name, mcc, mnc and country code. The information comes from the device's SIM card.
The plugin works on both Android and iOS platforms. To install it, go to your project dir and run this command:
cordova plugin add br.com.dtmtec.plugins.carrier
On both Android and iOS, the plugin returns to the app an JSON with the following properties: carrierName, countryCode, mcc, mnc.
<script>
function alertCarrier() {
var succ = function (data) {
alert(data['carrierName']);
alert(data['countryCode']);
alert(data['mcc']);
alert(data['mnc']);
}
var err = function () {
alert('Error!');
}
window.plugins.carrier.getCarrierInfo(succ, err)
}
document.addEventListener('deviceready', alertCarrier, false);
</script>
FAQs
Cordova Carrier Plugin
The npm package com.peerio.cordova.plugin.carrier receives a total of 47 weekly downloads. As such, com.peerio.cordova.plugin.carrier popularity was classified as not popular.
We found that com.peerio.cordova.plugin.carrier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.