
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
airship-location-cordova
Advanced tools
A Cordova plugin that automatically links the Airship Location modules in iOS and Android.
cordova plugin add https://github.com/urbanairship/airship-location-cordova
We accept pull requests! If you would like to submit a pull request, please fill out and submit our Contributor License Agreement.
One of our engineers will verify receipt of the agreement before approving your pull request.
Please visit http://support.urbanairship.com/ for any issues integrating or using this plugin.
Install this plugin using Cordova CLI:
cordova plugin add https://github.com/urbanairship/airship-location-cordova
(iOS only) Add required location authorization strings to your iOS project's info.plist:
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Always and when in use location usage description</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Always location usage description</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>When in use location usage description</string>
Enable location:
// Enable location (will prompt the user to accept location on iOS)
AirshipLocation.setLocationEnabled(true, function (enabled) {
console.log("Location is enabled!")
})
FAQs
Cordova plugin to install the Airship location module
We found that airship-location-cordova demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.