cordova-khipu 2.7.2 → 2.7.4

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.
package/README.md CHANGED
@@ -16,6 +16,20 @@ In order to do that make sure the `config.xml` of your app to have a `platform`
16
16
  </platform>
17
17
  ```
18
18
 
19
+ ## Android pre setup
20
+
21
+ If you are using cordova 11, you may need to upgrade `Kotlin`, the android SDK and the Gradle stack. In order to do that you can add the following configuration to the `config.xml` file:
22
+
23
+ ```xml
24
+ <platform name="android">
25
+ <preference name="GradlePluginKotlinVersion" value="1.9.10" />
26
+ <preference name="GradleVersion" value="8.7" />
27
+ <preference name="AndroidGradlePluginVersion" value="8.3.0" />
28
+ <preference name="android-targetSdkVersion" value="34" />
29
+ <preference name="android-compileSdkVersion" value="34" />
30
+ </platform>
31
+ ```
32
+
19
33
  ## Install
20
34
 
21
35
  ```bash
@@ -28,7 +42,37 @@ No need for aditional steps
28
42
 
29
43
  ## Android setup
30
44
 
31
- No need for aditional steps
45
+ If you are using cordova 11 you may need to do the following steps
46
+
47
+ ### Avoid Using the `kotlin-android-extensions` Plugin
48
+
49
+ Kotlin 1.9.0 no longer requires or supports the `kotlin-android-extensions` plugin. If you encounter the error `The 'kotlin-android-extensions' Gradle plugin is no longer supported`, remove or comment out the following line in your `platform/android/app/build.gradle` file:
50
+
51
+ ```groovy
52
+ apply plugin: 'kotlin-android-extensions'
53
+ ```
54
+
55
+ ### Configure the App's `namespace`
56
+
57
+ In modern versions of the Android Gradle plugin, the `namespace` property is configured in Gradle files instead of the `AndroidManifest.xml`.
58
+
59
+ Ensure that the following exists in the `platform/android/app/build.gradle` file under the `android` section:
60
+
61
+ ```groovy
62
+ android {
63
+ namespace '<the main package of the application>'
64
+ ...
65
+ ```
66
+
67
+ The app's main package can be obtained from the `package` property in the `manifest` element in the `AndroidManifest.xml` file.
68
+
69
+ And in the `platform/android/CordovaLib/build.gradle` file:
70
+
71
+ ```groovy
72
+ android {
73
+ namespace 'org.apache.cordova'
74
+ ...
75
+ ```
32
76
 
33
77
  ## Usage
34
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-khipu",
3
- "version": "2.7.2",
3
+ "version": "2.7.4",
4
4
  "description": "Khipu Cordova Plugin",
5
5
  "cordova": {
6
6
  "id": "cordova-khipu",
@@ -31,6 +31,7 @@
31
31
  "devDependencies": {
32
32
  "@commitlint/config-conventional": "^19.6.0",
33
33
  "@release-it/conventional-changelog": "^9.0.3",
34
+ "commitlint": "^19.6.1",
34
35
  "husky": "^9.1.7",
35
36
  "release-it": "^17.10.0",
36
37
  "xml2js": "^0.6.2"
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <plugin id="cordova-khipu" version="2.7.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <plugin id="cordova-khipu" version="2.7.4" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
3
3
  <name>Cordova Khipu</name>
4
4
  <js-module name="Khipu" src="www/cordova-khipu.js">
5
5
  <clobbers target="window.Khipu"/>
@@ -25,7 +25,7 @@
25
25
  <source url="https://github.com/CocoaPods/Specs.git"/>
26
26
  </config>
27
27
  <pods use-frameworks="true">
28
- <pod name="KhipuClientIOS" version="2.8.0" swift-version="5.1"/>
28
+ <pod name="KhipuClientIOS" version="2.9.3" swift-version="5.1"/>
29
29
  </pods>
30
30
  </podspec>
31
31
  <source-file src="src/ios/KhipuPlugin.swift"/>
@@ -5,7 +5,7 @@ repositories{
5
5
  }
6
6
 
7
7
  dependencies {
8
- implementation 'com.khipu:khipu-client-android:2.7.6'
8
+ implementation 'com.khipu:khipu-client-android:2.16.0'
9
9
  }
10
10
 
11
11
  android {