
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
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!")
})
Version 12.0.1 - September 30, 2020
Patch release updating iOS and Android Location SDK versions to 14.1.2 and 14.0.1, respectively.
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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.