(CordovaInterface cordova, CordovaWebView webView)
| 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 |
nothing calls this directly
no test coverage detected