최근 검색


최근 검색 없음

Android SDK crashes in react native.



2022년 5월 25일에 게시됨

Hi,

I have integrated android sdk to my react native application using native modules. I can get the chat with us button and can open the zendesk support window, but on opening the keyboard it crashes with the error 

 kotlin.UninitializedPropertyAccessException: lateinit property coroutineScope has not been initialized

https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/android/getting_started/#add-the-sdk-dependencies.

Has anyone faced this issue and is there a workaround / sources to fix this error.


3

1

댓글 1개

Our app is currently experiencing the same issue. Here is a log trace from our crashlytics:
```

Fatal Exception: kotlin.d0: lateinit property coroutineScope has not been initialized
       at zendesk.messaging.android.internal.conversationscreen.ConversationTypingEvents.sendTypingStartEvent(ConversationTypingEvents.kt:112)
       at zendesk.messaging.android.internal.conversationscreen.ConversationTypingEvents.onTyping(ConversationTypingEvents.kt:83)
       at zendesk.messaging.android.internal.conversationscreen.ConversationScreenCoordinator$onTyping$1.invoke(ConversationScreenCoordinator.kt:195)
       at zendesk.messaging.android.internal.conversationscreen.ConversationScreenCoordinator$onTyping$1.invoke(ConversationScreenCoordinator.kt:194)
       at zendesk.ui.android.conversation.composer.MessageComposerView$special$$inlined$doOnTextChanged$1.onTextChanged(TextView.kt:101)
       at android.widget.TextView.sendOnTextChanged(TextView.java:11631)
       at android.widget.TextView.handleTextChanged(TextView.java:11736)
       at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:14931)
       at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:1277)
       at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:586)
       at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:517)
       at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:38)
       at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:849)
       at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:618)
       at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:393)
       at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:89)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:8167)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
```

0


로그인하세요.

추가 콘텐츠

자세히 알⁠아⁠보⁠기

원하는 정보를 못 찾으셨나요?

새 게시물