Closed mlecoq closed 1 year ago
Hello!
I just updated the react native package. Could you please update to 0.12.0
?
It will contain the latest SDK changes
Thanks for your quick answer, I will try it
@baptistejamin fyi I had a build issue with last release, I had to upgrade kotlin version from 1.5.20 to 1.6.10
Do you have any error logs ?
e: /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: /Users/mlecoq/.gradle/caches/transforms-3/bb002c677a623d6cfa80228f72ba9133/transformed/appcompat-1.5.0-api.jar!/META-INF/appcompat_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (22, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (32, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (47, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (52, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (57, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (62, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (69, 7): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (82, 13): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (91, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (97, 63): Unresolved reference: java
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (99, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
The class is loaded from /Users/mlecoq/.gradle/caches/transforms-3/a34ca149211c0683e9f71864e7bd0c8b/transformed/jetified-kotlin-stdlib-1.7.10.jar!/kotlin/Unit.class
e: /Users/mlecoq/Developer/archireport/archireport-mobile/node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkPackage.kt: (17, 14): Unresolved reference: emptyList
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':react-native-crisp-chat-sdk:compileDebugKotlin'.
> Compilation error. See log for more details``
The error does not occur anymore with last release of react-native sdk
Hi,
i am using react-native bridge for crisp sdk (react-native-crisp-chat-sdk@0.11.1) and I have sometimes the following stacktrace in sentry