Skip to content

Commit

Permalink
Publish latest SDK version
Browse files Browse the repository at this point in the history
Version 1.2.1
  • Loading branch information
pavelreiter committed Jan 10, 2024
1 parent 5c78212 commit 457f6e9
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 14 deletions.
41 changes: 28 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
<a name="unreleased"></a>
## [Unreleased]


<a name="1.2.1"></a>
## [1.2.1]

### Bug Fixes
- Fix minification issues with ChatInstanceProvider


### Features
- Improve Java compatiblity for 1.2.1


<a name="1.2.0"></a>
## [1.2.0] - 2023-09-26
Expand Down Expand Up @@ -180,16 +194,17 @@
- failure
- typing start/end

[Unreleased]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.2.0...HEAD
[1.2.0]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.2.0-alpha04...1.2.0
[1.2.0-alpha04]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.2.0-alpha03...1.2.0-alpha04
[1.2.0-alpha03]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.2.0-alpha02...1.2.0-alpha03
[1.2.0-alpha02]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.2.0-alpha01...1.2.0-alpha02
[1.2.0-alpha01]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.1.0...1.2.0-alpha01
[1.1.0]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.1.0-alpha04...1.1.0
[1.1.0-alpha04]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.1.0-alpha03...1.1.0-alpha04
[1.1.0-alpha03]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.1.0-alpha02...1.1.0-alpha03
[1.1.0-alpha02]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.1.0-alpha01...1.1.0-alpha02
[1.1.0-alpha01]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.0.1...1.1.0-alpha01
[1.0.1]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.0.1-alpha01...1.0.1
[1.0.1-alpha01]: https://github.com/nice-devone/nice-cxone-mobile-sdk-android/compare/1.0.0...1.0.1-alpha01
[Unreleased]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.2.1...HEAD
[1.2.1]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.2.0...1.2.1
[1.2.0]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.2.0-alpha04...1.2.0
[1.2.0-alpha04]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.2.0-alpha03...1.2.0-alpha04
[1.2.0-alpha03]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.2.0-alpha02...1.2.0-alpha03
[1.2.0-alpha02]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.2.0-alpha01...1.2.0-alpha02
[1.2.0-alpha01]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.1.0...1.2.0-alpha01
[1.1.0]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.1.0-alpha04...1.1.0
[1.1.0-alpha04]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.1.0-alpha03...1.1.0-alpha04
[1.1.0-alpha03]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.1.0-alpha02...1.1.0-alpha03
[1.1.0-alpha02]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.1.0-alpha01...1.1.0-alpha02
[1.1.0-alpha01]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.0.1...1.1.0-alpha01
[1.0.1]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.0.1-alpha01...1.0.1
[1.0.1-alpha01]: https://github.com/BrandEmbassy/cxone-mobile-sdk-android/compare/1.0.0...1.0.1-alpha01
6 changes: 5 additions & 1 deletion chat-sdk-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ android {
}
}

kotlinOptions {
freeCompilerArgs = ['-Xjvm-default=all']
}

buildFeatures {
buildConfig true // Library version is used for device fingerpint
buildConfig true // Library version is used for device fingerprint
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ interface Authorization {

@Public
companion object {
@JvmSynthetic
internal val None = Authorization("", "")

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ interface ChatBuilder {
)
}

@JvmSynthetic
internal operator fun invoke(
entrails: ChatEntrails,
factory: SocketFactory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class ChatInstanceProvider(
deviceTokenProvider: DeviceTokenProvider? = null,
) : ChatStateListener {
/** those interested in ChatInstanceProvider updates. */
@Public
interface Listener {
/**
* Invoked when the chat object changes.
Expand All @@ -62,6 +63,7 @@ class ChatInstanceProvider(
}

/** Defines provider of device token for push notifications, typically this will [Firebase.messaging.token]. */
@Public
fun interface DeviceTokenProvider {
/**
* Create or retrieve a device token for push messages, if it is unavailable, the provider should return
Expand All @@ -72,6 +74,7 @@ class ChatInstanceProvider(
}

/** Configuration scope used to reconfigure and restart the chat session. */
@Public
interface ConfigurationScope {
/** True if authorization is required. */
val authenticationRequired: Boolean
Expand Down Expand Up @@ -357,6 +360,7 @@ class ChatInstanceProvider(
chatState = CONNECTION_LOST
}

@Public
companion object {
@Suppress("LateinitUsage")
private lateinit var instance: ChatInstanceProvider
Expand All @@ -374,6 +378,7 @@ class ChatInstanceProvider(
* @param deviceTokenProvider Provider of device tokens for push messages.
* @return the newly created ChatInstanceProvider singleton.
*/
@JvmOverloads
fun create(
configuration: SocketFactoryConfiguration?,
authorization: Authorization? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package com.nice.cxonechat
/**
* Definition of possible Chat states from application point-of-view.
*/
@Public
enum class ChatState {
/** Not yet configured enough to connect. */
INITIAL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ interface SocketFactoryConfiguration {
*/
@JvmName("create")
@JvmStatic
@JvmOverloads
operator fun invoke(
environment: Environment,
brandId: Long,
Expand Down

0 comments on commit 457f6e9

Please sign in to comment.