Skip to content

Commit 06f5997

Browse files
package name
1 parent 9c30a24 commit 06f5997

File tree

6 files changed

+32
-24
lines changed

6 files changed

+32
-24
lines changed

JairemixCapacitorSegment.podspec renamed to CapacitorSegment.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Pod::Spec.new do |s|
3-
s.name = 'JairemixCapacitorSegment'
3+
s.name = 'CapacitorSegment'
44
s.version = '0.0.4'
55
s.summary = 'Capacitor wrapper plugin for Segment SDK'
66
s.license = 'MIT'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.jairemix.capacitor-segment.capacitorpluginsegment">
3+
package="com.jairemix.capacitor.segment.capacitorsegment">
44
</manifest>
55

android/src/main/java/com/ausmed/capacitor-plugin-segment/SegmentPlugin.java

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package com.jairemix.capacitor.segment;
2+
3+
import com.getcapacitor.JSObject;
4+
import com.getcapacitor.NativePlugin;
5+
import com.getcapacitor.Plugin;
6+
import com.getcapacitor.PluginCall;
7+
import com.getcapacitor.PluginMethod;
8+
import android.util.Log;
9+
10+
@NativePlugin()
11+
public class SegmentPlugin extends Plugin {
12+
13+
private static final String PLUGIN_TAG = "[JairemixCapacitorSegment]";
14+
15+
public void load() {
16+
super.load();
17+
Log.d(PLUGIN_TAG, "capacitor segment loaded");
18+
}
19+
20+
// @PluginMethod()
21+
// public void echo(PluginCall call) {
22+
// String value = call.getString("value");
23+
24+
// JSObject ret = new JSObject();
25+
// ret.put("value", value);
26+
// call.success(ret);
27+
// }
28+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="my_string">Just a simple string</string>
2+
<!-- <string name="my_string">Just a simple string</string> -->
33
</resources>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"ios/Podfile",
3131
"ios/Podfile.lock",
3232
"android/",
33-
"JairemixCapacitorSegment.podspec"
33+
"CapacitorSegment.podspec"
3434
],
3535
"keywords": [
3636
"capacitor",

0 commit comments

Comments
 (0)