@hanwha-ss1/plugin 0.0.5 → 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,4 +1,4 @@
1
- package com.plugin.contacts;
1
+ package com.plugin.contact;
2
2
 
3
3
  import android.app.Activity;
4
4
  import android.content.Intent;
@@ -6,7 +6,7 @@ import android.provider.ContactsContract;
6
6
  import android.util.Log;
7
7
 
8
8
 
9
- public class Contacts {
9
+ public class Contact {
10
10
 
11
11
  public String echo(String value) {
12
12
  Log.i("Echo", value);
@@ -1,4 +1,4 @@
1
- package com.plugin.contacts;
1
+ package com.plugin.contact;
2
2
 
3
3
  import com.getcapacitor.JSObject;
4
4
  import com.getcapacitor.Plugin;
@@ -7,9 +7,9 @@ import com.getcapacitor.PluginMethod;
7
7
  import com.getcapacitor.annotation.CapacitorPlugin;
8
8
 
9
9
 
10
- @CapacitorPlugin(name = "Contacts")
11
- public class ContactsPlugin extends Plugin{
12
- private Contacts implementation = new Contacts();
10
+ @CapacitorPlugin(name = "Contact")
11
+ public class ContactPlugin extends Plugin{
12
+ private Contact implementation = new Contact();
13
13
 
14
14
  @PluginMethod
15
15
  public void echo(PluginCall call) {
@@ -28,7 +28,7 @@ public class ContactsPlugin extends Plugin{
28
28
  String department = call.getString("dept");
29
29
  String email = call.getString("email");
30
30
  if(implementation == null) {
31
- implementation = new Contacts();
31
+ implementation = new Contact();
32
32
  }
33
33
  implementation.save(getActivity(), name, email, mobile, phone, department);
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanwha-ss1/plugin",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",