cordova-plugin-ymchat 2.22.0 → 3.0.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [3.0.0]
9
+
10
+ ### Added
11
+
12
+ - **V3 widget support** — upgraded the pinned native SDKs to the versions that render the V3 chatbot widget: Android `YMChatbot-Android` v2.22.0 → v3.4.0, iOS `YMChat` ~> 1.24.0 → ~> 2.3.0. Call `setVersion(3)` before `startChatbot()` to use it, same as `setVersion(2)` for the V2 bot.
13
+ - As a side effect of the native SDK bump, voice conversations now automatically keep the screen awake for their duration (native SDK behavior, no plugin API change).
14
+
15
+ ### Changed
16
+
17
+ - No breaking changes — every existing bridged method/config property (`setBotId`, `setPayload`, `speechConfig`, `theme.*`, `revalidateToken`, `sendEventToBot`, etc.) was verified against the new native SDK versions before this bump; none were renamed, removed, or changed signature.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-ymchat",
3
- "version": "2.22.0",
3
+ "version": "3.0.0",
4
4
  "description": "Cordova plugin to integrate yellow.ai chatbot",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-ymchat",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="cordova-plugin-ymchat" version="2.22.0"
2
+ <plugin id="cordova-plugin-ymchat" version="3.0.0"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android">
5
5
  <name>ymchat</name>
@@ -33,7 +33,7 @@
33
33
  <source url="https://github.com/CocoaPods/Specs.git" branch="master"/>
34
34
  </config>
35
35
  <pods use-frameworks="true">
36
- <pod name="YMChat" spec="~> 1.24.0" swift-version="5.0"/>
36
+ <pod name="YMChat" spec="~> 2.3.0" swift-version="5.0"/>
37
37
  </pods>
38
38
  </podspec>
39
39
  <config-file parent="/*" target="config.xml">
@@ -23,5 +23,5 @@ repositories {
23
23
  dependencies {
24
24
  implementation 'androidx.appcompat:appcompat:1.0.2'
25
25
  implementation 'androidx.annotation:annotation:1.0.2'
26
- implementation 'com.github.yellowmessenger:YMChatbot-Android:v2.22.0'
26
+ implementation 'com.github.yellowmessenger:YMChatbot-Android:v3.4.0'
27
27
  }