Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

capacitor-plugin-getui

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-getui - npm Package Compare versions

Comparing version
0.0.5
to
0.0.6
+0
-27
android/src/main/java/com/yufu/plugin/getui/GetuiPlugin.java

@@ -33,4 +33,2 @@ package com.yufu.plugin.getui;

private String clientId = null;
private LocalNotificationManager manager;
private NotificationStorage notificationStorage;

@@ -266,27 +264,2 @@ @Override

/**
* 创建本地通知
*/
@PluginMethod
public void schedule(PluginCall call) {
List<LocalNotification> localNotifications = LocalNotification.buildNotificationList(call);
if (localNotifications == null) {
return;
}
JSONArray ids = manager.schedule(call, localNotifications);
if (ids != null) {
notificationStorage.appendNotifications(localNotifications);
JSObject result = new JSObject();
JSArray jsArray = new JSArray();
for (int i = 0; i < ids.length(); i++) {
try {
JSObject notification = new JSObject().put("id", ids.getInt(i));
jsArray.put(notification);
} catch (Exception ex) {
}
}
result.put("notifications", jsArray);
call.resolve(result);
}
}

@@ -293,0 +266,0 @@ public static GetuiPlugin getInstance() {

+1
-1
{
"name": "capacitor-plugin-getui",
"version": "0.0.5",
"version": "0.0.6",
"description": "个推",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",