Hello,
We started to see a new crash in our production app since bumping the Android SDK to version 16.0.0. We've tried bumping it to 16.1.0 but still see this issue. It seems there's something missing in the layout of one of the in-app notification types which is causing this crash.
Would you be able to take a look into this, please?
Fatal Exception: java.lang.NullPointerException: Parameter specified as non-null is null: method io.intercom.android.sdk.m5.notification.InAppNotificationCardKt.addInappNotificationCardToView, parameter composeView
at io.intercom.android.sdk.m5.notification.InAppNotificationCardKt.addInappNotificationCardToView(InAppNotificationCard.kt:3)
at io.intercom.android.sdk.overlay.ChatNotification.populateViewsWithData(ChatNotification.java:90)
at io.intercom.android.sdk.overlay.ChatNotification.display(ChatNotification.java:64)
at io.intercom.android.sdk.overlay.InAppNotificationPresenter.addNewNotifications(InAppNotificationPresenter.java:185)
at io.intercom.android.sdk.overlay.InAppNotificationPresenter.displayNotificationsAfterAttach(InAppNotificationPresenter.java:91)
at io.intercom.android.sdk.overlay.InAppNotificationPresenter$1.run(InAppNotificationPresenter.java:80)
at io.intercom.android.sdk.utilities.ViewUtils$1.onGlobalLayout(ViewUtils.java:19)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1165)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4658)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3345)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:11437)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1690)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1699)
at android.view.Choreographer.doCallbacks(Choreographer.java:1154)
at android.view.Choreographer.doFrame(Choreographer.java:1080)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1647)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:9063)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)