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:
Jose Olarte III
2026-05-07 20:40:09 +08:00
parent fd0b8ce6d0
commit 1ef3f32b9e
6 changed files with 60 additions and 14 deletions

View File

@@ -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");
}
}