
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@exxili/capacitor-ios-background-push
Advanced tools
Handles iOS Silent Push notifications for Capacitor apps, enabling background updates, processing, and seamless integration with standard push notifications.
🚧 Alpha Release - Work in Progress Note: The plugin is currently working, Still work in progress - as/when i get time i will update this to include tests
Please note that this plugin is currently under active development and may be subject to changes or updates.
A Capacitor plugin designed to handle iOS Silent Push notifications, enabling background updates, processing, and seamless integration with standard push notifications.
This plugin is specifically designed for iOS and does not support Android. It handles Silent Push notifications on iOS devices, providing a seamless integration with standard push notifications.
Follow the steps below to integrate the plugin into your Capacitor project:
npm install @exxili/capacitor-ios-background-push
npx cap sync
import { IOSBackgroundPush } from '@exxili/capacitor-ios-background-push';
// Add a listener for silent push notifications
IOSBackgroundPush.addListener('SilentNotificationReceived', (data) => {
console.log('Silent push notification received:', data);
});
import UIKit
import Capacitor
import ExxiliCapacitorIosBackgroundPush
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
// ... other existing code ...
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
NotificationCenter.default.post(name: .didReceiveRemoteNotificationForIOSBackgroundPush, object: nil, userInfo: [
"userInfo": userInfo,
"completionHandler": completionHandler
])
}
}
addListener(eventName: 'SilentNotificationReceived', listenerFunc: (data: { data: any; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Called when a silent push notification is received.
Param | Type |
---|---|
eventName | 'SilentNotificationReceived' |
listenerFunc | (data: { data: any; }) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
FAQs
Handles iOS Silent Push notifications for Capacitor apps, enabling background updates, processing, and seamless integration with standard push notifications.
We found that @exxili/capacitor-ios-background-push 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.