Skip to content

Commit 6cc45fb

Browse files
committed
Release v1.0.3
1 parent 6bc099d commit 6cc45fb

File tree

269 files changed

+6617
-986
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+6617
-986
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 1.0.3
6+
7+
### Added
8+
- A new flag `prefersDialogMode` to open the support chat in the app's main task/activity.
9+
10+
### Fixed
11+
- Fix crash when application theme is not a descendant of `Theme.AppCompat`
12+
- Fix back navigation handling in support chat on physical back button press.
13+
- Fix data retention in editable views in case of configuration changes like rotation, keyboard switch, etc.
14+
515
## 1.0.2
616

717
### Fixed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,16 @@ After adding the lines about in your `build.gradle.kts` Kotlin or `build.gradle`
9696
Once you have the credentials, you can configure the DevRev SDK in your app. The SDK will be ready to use once you have called the configuration method:
9797
- Kotlin
9898
```kotlin
99-
DevRev.configure(context: Context, appId: String)
99+
DevRev.configure(context: Context, appId: String, prefersDialogMode: Boolean)
100100
```
101101
- Java
102102
```java
103-
DevRev.INSTANCE.configure(Context context, String appId);
103+
DevRev.INSTANCE.configure(Context context, String appId, Boolean prefersDialogMode);
104104
```
105+
106+
> [!NOTE]
107+
> `prefersDialogMode`, if set to true, enables the SDK to open the screens in the app's main task/activity
108+
105109
To configure the SDK, you need to call the following method inside your `Application` class:
106110

107111
> [!NOTE]

docs/html/core/ai.devrev.sdk.extensions/convert-to-json-object.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="cover ">
5757
<h1 class="cover"><span>convert</span><wbr></wbr><span>To</span><wbr></wbr><span>Json</span><wbr></wbr><span><span>Object</span></span></h1>
5858
</div>
59-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">.</span><a href="convert-to-json-object.html"><span class="token function">convertToJsonObject</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a><span class="token operator">?</span></div><p class="paragraph">Converts the string to a JsonObject in a safe manner. Please note it converts to <a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">org.json.JSONObject</a> and not <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">kotlinx.serialization.json.JsonObject</span></p></div></div>
59+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">.</span><a href="convert-to-json-object.html"><span class="token function">convertToJsonObject</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a><span class="token operator">?</span></div><p class="paragraph">Converts the string to a JsonObject in a safe manner. Please note it converts to <a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">org.json.JSONObject</a> and not <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">kotlinx.serialization.json.JsonObject</span></p></div></div>
6060
</div>
6161
<div class="footer">
6262
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span

docs/html/core/ai.devrev.sdk.extensions/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h2 class="">Functions</h2>
7070
</span></span></div>
7171
<div>
7272
<div class="title">
73-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">.</span><a href="convert-to-json-object.html"><span class="token function">convertToJsonObject</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Converts the string to a JsonObject in a safe manner. Please note it converts to <a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">org.json.JSONObject</a> and not <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">kotlinx.serialization.json.JsonObject</span></p></div></div></div>
73+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">.</span><a href="convert-to-json-object.html"><span class="token function">convertToJsonObject</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">JSONObject</a><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Converts the string to a JsonObject in a safe manner. Please note it converts to <a href="https://developer.android.com/reference/kotlin/org/json/JSONObject.html">org.json.JSONObject</a> and not <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">kotlinx.serialization.json.JsonObject</span></p></div></div></div>
7474
</div>
7575
</div>
7676
</div>
@@ -85,7 +85,7 @@ <h2 class="">Functions</h2>
8585
</span></span></div>
8686
<div>
8787
<div class="title">
88-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span><span class="token punctuation">.</span><a href="to-stringified-json.html"><span class="token function">toStringifiedJson</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div><div class="brief "><p class="paragraph">Converts the <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span> to the format converted by JSON.stringify function in Javascript. By default the string received by toString() function can't be directly parsed by the web as '\' is not identified by web as an escape character in case of nested JSON's</p></div></div></div>
88+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span><span class="token punctuation">.</span><a href="to-stringified-json.html"><span class="token function">toStringifiedJson</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a></div><div class="brief "><p class="paragraph">Converts the <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span> to the format converted by JSON.stringify function in Javascript. By default the string received by toString() function can't be directly parsed by the web as '\' is not identified by web as an escape character in case of nested JSON's</p></div></div></div>
8989
</div>
9090
</div>
9191
</div>

docs/html/core/ai.devrev.sdk.extensions/to-stringified-json.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="cover ">
5757
<h1 class="cover"><span>to</span><wbr></wbr><span>Stringified</span><wbr></wbr><span><span>Json</span></span></h1>
5858
</div>
59-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span><span class="token punctuation">.</span><a href="to-stringified-json.html"><span class="token function">toStringifiedJson</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div><p class="paragraph">Converts the <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span> to the format converted by JSON.stringify function in Javascript. By default the string received by toString() function can't be directly parsed by the web as '\' is not identified by web as an escape character in case of nested JSON's</p></div></div>
59+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span><span class="token punctuation">.</span><a href="to-stringified-json.html"><span class="token function">toStringifiedJson</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a></div><p class="paragraph">Converts the <span data-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</span> to the format converted by JSON.stringify function in Javascript. By default the string received by toString() function can't be directly parsed by the web as '\' is not identified by web as an escape character in case of nested JSON's</p></div></div>
6060
</div>
6161
<div class="footer">
6262
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span

docs/html/core/ai.devrev.sdk.model.artifact/-artifact-summary-api-model/-artifact-summary-api-model.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="cover ">
5757
<h1 class="cover"><span>Artifact</span><wbr></wbr><span>Summary</span><wbr></wbr><span>Api</span><wbr></wbr><span><span>Model</span></span></h1>
5858
</div>
59-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-artifact-summary-api-model.html"><span class="token function">ArtifactSummaryApiModel</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">id<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">displayId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">previewUrl<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">file<span class="token operator">: </span><a href="../-file-type-api-model/index.html">FileTypeApiModel</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div></div></div>
59+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-artifact-summary-api-model.html"><span class="token function">ArtifactSummaryApiModel</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">id<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">displayId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span></span><span class="parameter ">previewUrl<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">file<span class="token operator">: </span><a href="../-file-type-api-model/index.html">FileTypeApiModel</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div></div></div>
6060
</div>
6161
<div class="footer">
6262
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span

docs/html/core/ai.devrev.sdk.model.artifact/-artifact-summary-api-model/display-id.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="cover ">
5757
<h1 class="cover"><span>display</span><wbr></wbr><span><span>Id</span></span></h1>
5858
</div>
59-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="display-id.html">displayId</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></div></div></div>
59+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="display-id.html">displayId</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span></div></div></div>
6060
</div>
6161
<div class="footer">
6262
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span

docs/html/core/ai.devrev.sdk.model.artifact/-artifact-summary-api-model/id.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="cover ">
5757
<h1 class="cover"><span><span>id</span></span></h1>
5858
</div>
59-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="id.html">id</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div></div></div>
59+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":core:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="id.html">id</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin-stdlib/kotlin/-string/index.html">String</a></div></div></div>
6060
</div>
6161
<div class="footer">
6262
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span

0 commit comments

Comments
 (0)