capacitor-push-signal 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,7 +74,7 @@ class PushSignalPlugin : Plugin() {
74
74
  }
75
75
 
76
76
  @PluginMethod
77
- fun checkPermissions(call: PluginCall) {
77
+ override fun checkPermissions(call: PluginCall) {
78
78
  if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
79
79
  val result = JSObject()
80
80
  result.put("receive", "granted")
@@ -85,7 +85,7 @@ class PushSignalPlugin : Plugin() {
85
85
  }
86
86
 
87
87
  @PluginMethod
88
- fun requestPermissions(call: PluginCall) {
88
+ override fun requestPermissions(call: PluginCall) {
89
89
  if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU ||
90
90
  getPermissionState(PUSH_NOTIFICATIONS) == PermissionState.GRANTED
91
91
  ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-push-signal",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Capacitor push credentials and notification listeners (APNs / FCM)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",