App is crashing (android SDK) | Community
Skip to main content

Hello,

We have successfully integrated your Android SDK (version 15.16.0) into our application. However, we are currently seeing a significant number of crashes reported in Firebase. Unfortunately, we haven’t been able to reproduce the issue on our side so far.

Could you please help us investigate this further? Let us know if you need any additional information or logs to assist in the debugging process.

Thank you in advance for your support.

This is the crash:

          Fatal Exception: java.lang.NullPointerException:
       at androidx.compose.ui.platform.AndroidComposeView.<init>(AndroidComposeView.android.kt:788)
       at androidx.compose.ui.platform.Wrapper_androidKt.setContent(Wrapper.android.kt:77)
       at androidx.compose.ui.platform.AbstractComposeView.ensureCompositionCreated(ComposeView.android.kt:258)
       at androidx.compose.ui.platform.AbstractComposeView.onAttachedToWindow(ComposeView.android.kt:290)
       at android.view.View.dispatchAttachedToWindow(View.java:22479)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3686)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3695)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3669)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3116)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10885)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1301)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
       at android.view.Choreographer.doCallbacks(Choreographer.java:923)
       at android.view.Choreographer.doFrame(Choreographer.java:852)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8762)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Hey, try to use change composeBom lib version, I was having many crashes once I checked in details I found that compose lib is conflicting with intercom sdk. This is the compose lib version I’m using now `2024.02.00` with intercom sdk `15.9.1`. It is not as much as recent you mention but in the log it is showing compose package issue. Please try this it may helps you. 


https://drive.google.com/file/d/12etPirnkS3b8w0Xsnz-TXSHI0GNSlBUa/view?usp=drivesdk

 


Reply