
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@supernotes/capacitor-app-actions
Advanced tools
capacitor-app-actions
Capacitor iOS and Android Plugin for App Actions
[](#contributors-)
npm install capacitor-app-actions
npx cap sync
Android:
No additional configuration required.
iOS:
Add the following to AppDelegate.swift
. This snippet allows the plugin to recognize when an app action has been selected so that you can respond to those events.
func application(_ application: UIApplication,
performActionFor shortcutItem: UIApplicationShortcutItem,
completionHandler: @escaping (Bool) -> Void)
{
NotificationCenter.default.post(name: NSNotification.Name("appActionReceived"), object: nil, userInfo: ["actionId" : shortcutItem.type])
}
Typically app actions are added at application startup, but you can add them where appropriate:
import { AppActions } from 'capacitor-app-actions'
await Capacitor.Plugins.AppActions.set({ "actions": [
{ id: "order", title: "Order", subtitle: "Place an Order", icon: "star.fill" },
{ id: "locations", title: "Find location", subtitle: "Find nearby location", icon: "star.fill"}
]});
Listen to an event triggered by an existing app action:
AppActions.addListener("order", (info) => {
// Do your in app work. Navigate to the appropriate page or trigger other in app actions.
});
Thanks goes to these wonderful people (emoji key):
Nitish Sachar 🚧 💻 | Connor 🚧 | Tobias 🚧 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Capacitor plugin for App Actions on iOS and Android
We found that @supernotes/capacitor-app-actions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.