fix(dev): clarify Android pending inspector and harden debug entry guard
- Report UNIMPLEMENTED from Android NotificationInspector instead of empty pending - Surface iOS-only inspector message in NotificationDebugPanel without noisy errors - Gate Account debug link with import.meta.env.DEV and document intent - Add architecture comments on NotificationDebugService, inspector plugin, and native exports
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package app.timesafari.notifications;
|
||||
|
||||
import com.getcapacitor.JSArray;
|
||||
import com.getcapacitor.JSObject;
|
||||
import com.getcapacitor.Plugin;
|
||||
import com.getcapacitor.PluginCall;
|
||||
import com.getcapacitor.PluginMethod;
|
||||
@@ -11,9 +9,8 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
||||
public class NotificationInspectorPlugin extends Plugin {
|
||||
@PluginMethod
|
||||
public void getPendingNotifications(PluginCall call) {
|
||||
JSObject result = new JSObject();
|
||||
result.put("pending", new JSArray());
|
||||
call.resolve(result);
|
||||
call.unimplemented(
|
||||
"Pending notification inspection is currently implemented on iOS only");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user