@brucewayne1939/sword-security 0.0.6 → 0.0.7

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.
@@ -1,5 +1,7 @@
1
1
  package com.mycompany.plugins.example;
2
2
 
3
+ import android.content.Intent;
4
+ import android.provider.Settings;
3
5
  import com.getcapacitor.JSObject;
4
6
  import com.getcapacitor.Plugin;
5
7
  import com.getcapacitor.PluginCall;
@@ -7,11 +9,9 @@ import com.getcapacitor.PluginMethod;
7
9
  import com.getcapacitor.annotation.CapacitorPlugin;
8
10
  import java.io.File;
9
11
 
10
- @CapacitorPlugin(name = "Security")
12
+ @CapacitorPlugin(name = "SecurityPlugin")
11
13
  public class SecurityPlugin extends Plugin {
12
14
 
13
- private Security implementation = new Security();
14
-
15
15
  @PluginMethod
16
16
  public void isDeveloperModeEnabled(PluginCall call) {
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brucewayne1939/sword-security",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "this plugin enables the app to use security features",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",