Skip to content

Commit 9e773a2

Browse files
committed
release changes for v2.0.0
1 parent 5b249d3 commit 9e773a2

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

CapacitorPluginKommunicate.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = '12.0'
1515
s.dependency 'Capacitor'
1616
s.swift_version = '5.1'
17-
s.dependency 'Kommunicate', '~> 6.6.0'
17+
s.dependency 'Kommunicate', '~> 6.7.1'
1818
end

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ npx cap open android
3030
Register the plugin in your `android/app/java/<App-Package>/MainActivity.java` file as below:
3131

3232
```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+
}
3839
```
3940

4041
### iOS
@@ -52,9 +53,8 @@ npx cap open iOS
5253
Import the plugin in the file where you would like to call the kommunicate functions as below:
5354

5455
```js
55-
import 'capacitor-plugin-kommunicate';
56-
import { Plugins } from '@capacitor/core';
57-
const { KommunicateCapacitorPlugin } = Plugins;
56+
import {KommunicateCapacitorPlugin} from 'capacitor-plugin-kommunicate';
57+
5858
```
5959

6060
Now you can start calling the functions from `KommunicateCapacitorPlugin`.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ rootProject.allprojects {
4949
dependencies {
5050
implementation fileTree(dir: 'libs', include: ['*.jar'])
5151
implementation project(':capacitor-android')
52-
api 'io.kommunicate.sdk:kommunicateui:2.3.8'
52+
api 'io.kommunicate.sdk:kommunicateui:2.4.3'
5353
testImplementation "junit:junit:$junitVersion"
5454
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
5555
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "capacitor-plugin-kommunicate",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "A smart customer support plugin for capacitor",
55
"main": "dist/plugin.js",
66
"module": "dist/esm/index.js",
@@ -14,7 +14,7 @@
1414
"watch": "tsc --watch",
1515
"prepublishOnly": "npm run build"
1616
},
17-
"author": "ashish@kommunicate.io",
17+
"author": "aman.toppo@kommunicate.io",
1818
"license": "BSD-3",
1919
"devDependencies": {
2020
"@capacitor/android": "^3.6.0",

0 commit comments

Comments
 (0)