File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ Pod::Spec.new do |s|
14
14
s . ios . deployment_target = '12.0'
15
15
s . dependency 'Capacitor'
16
16
s . swift_version = '5.1'
17
- s . dependency 'Kommunicate' , '~> 6.6.0 '
17
+ s . dependency 'Kommunicate' , '~> 6.7.1 '
18
18
end
Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ npx cap open android
30
30
Register the plugin in your ` android/app/java/<App-Package>/MainActivity.java ` file as below:
31
31
32
32
``` java
33
- this . init(savedInstanceState, new ArrayList<Class<? extends Plugin > > () {{
34
- // Additional plugins you've installed go here
35
- // Ex: add(TotallyAwesomePlugin.class);
36
- add(KommunicateCapacitorPlugin . class); // append this line
37
- }});
33
+ @Override
34
+ public void onCreate(Bundle savedInstanceState) {
35
+ super . onCreate(savedInstanceState);
36
+
37
+ registerPlugin(KommunicateCapacitorPlugin . class);
38
+ }
38
39
```
39
40
40
41
### iOS
@@ -52,9 +53,8 @@ npx cap open iOS
52
53
Import the plugin in the file where you would like to call the kommunicate functions as below:
53
54
54
55
``` js
55
- import ' capacitor-plugin-kommunicate' ;
56
- import { Plugins } from ' @capacitor/core' ;
57
- const { KommunicateCapacitorPlugin } = Plugins;
56
+ import {KommunicateCapacitorPlugin } from ' capacitor-plugin-kommunicate' ;
57
+
58
58
```
59
59
60
60
Now you can start calling the functions from ` KommunicateCapacitorPlugin ` .
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ rootProject.allprojects {
49
49
dependencies {
50
50
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
51
51
implementation project(' :capacitor-android' )
52
- api ' io.kommunicate.sdk:kommunicateui:2.3.8 '
52
+ api ' io.kommunicate.sdk:kommunicateui:2.4.3 '
53
53
testImplementation " junit:junit:$junitVersion "
54
54
androidTestImplementation " androidx.test.ext:junit:$androidxJunitVersion "
55
55
androidTestImplementation " androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion "
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " capacitor-plugin-kommunicate" ,
3
- "version" : " 1 .0.0" ,
3
+ "version" : " 2 .0.0" ,
4
4
"description" : " A smart customer support plugin for capacitor" ,
5
5
"main" : " dist/plugin.js" ,
6
6
"module" : " dist/esm/index.js" ,
14
14
"watch" : " tsc --watch" ,
15
15
"prepublishOnly" : " npm run build"
16
16
},
17
- "author" : " ashish @kommunicate.io" ,
17
+ "author" : " aman.toppo @kommunicate.io" ,
18
18
"license" : " BSD-3" ,
19
19
"devDependencies" : {
20
20
"@capacitor/android" : " ^3.6.0" ,
You can’t perform that action at this time.
0 commit comments