MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / initialize

Method initialize

src/plugins/terminal/src/android/Executor.java:73–82  ·  view source on GitHub ↗
(CordovaInterface cordova, CordovaWebView webView)

Source from the content-addressed store, hash-verified

71 }
72
73 @Override
74 public void initialize(CordovaInterface cordova, CordovaWebView webView) {
75 super.initialize(cordova, webView);
76 this.context = cordova.getContext();
77 this.activity = cordova.getActivity();
78 askNotificationPermission(activity);
79
80 // Don't bind service immediately - wait until needed
81 Log.d("Executor", "Plugin initialized - service will be started when needed");
82 }
83
84 /**
85 * Ensure service is bound and ready for communication

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected