
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
cordova-plugin-3dtouch-shortcutitems
Advanced tools
Helper plugin for 3D Touch Shortcut Items in iOS 9 and above
This plugin will notify you JavaScript app when you app is launched or resumed using a UIApplicationShortcutItem.
The plugin will call window.onShortcutEvent
and pass an object. The data
property of that object contains the UIApplicationShortcutItemType
of the shortcut used.
$ cordova plugin add cordova-plugin-3dtouch-shortcutitems
For custom shortcut icon create an Asset cataglog and add your images. In this example the custom image used is called my-shortcut-icon
. Set the text for the shortcut, in this example we are using Shortcut Title
. Finnaly set the type of the shortcut, we are using com.example.quicklink.action
.
<key>UIApplicationShortcutItems</key>
<array>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>my-shortcut-icon</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Shortcut Title</string>
<key>UIApplicationShortcutItemType</key>
<string>com.example.quicklink.action</string>
</dict>
</array>
UIApplicationShortcutItems Reference
// Register callback
window.onShortcutEvent = function(event) {
alert(event.data);
};
// Initialize properly
document.addEventListener('deviceready', function() {
window.shortcutItem.initialize();
}, false);
FAQs
Helper plugin for 3D Touch Shortcut Items in iOS 9 and above
The npm package cordova-plugin-3dtouch-shortcutitems receives a total of 2 weekly downloads. As such, cordova-plugin-3dtouch-shortcutitems popularity was classified as not popular.
We found that cordova-plugin-3dtouch-shortcutitems 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.