New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
com.clevertap.android.sdk.InAppNotificationActivity - Window couldn't find content container view #220
Comments
Hi @ankit-g-rapido, Can you provide a full stack trace for this exception from the said device? |
Hi @root-ansh-ct, please find the stack trace for the above crash.
cc: @ankit-g-rapido |
@root-ansh-ct You can find the stack trace submitted by @naveenchandan. We are from same team. Facing this issue. |
@naveenchandan can you please confirm whether these below functions are being called by the class MyApplication :Application() {
override fun onCreate() {
ActivityLifecycleCallback.register(this)
super.onCreate()
val defaultInstance = CleverTapAPI.getDefaultInstance(this)
|
hey @root-ansh-ct And we for default Instance we are somewhere using Instance at Activity level and not Application level. |
@ankit-g-rapido This is an essential function call for the proper working of in-app notifications. Can you please try adding this in your custom application class and internally check if this exception is still replicable? |
Thanks @root-ansh-ct for the quick response. We made the changes and will be observing any crashes. Thanks |
Hi @root-ansh-ct , we made the changes mentioned above and released them but still, we are observing the crashes. Please check this on priority |
@root-ansh-ct any updates on this? |
@sachinsingh15 we are still looking into this issue and trying to reproduce this on our end. We will update here once we push the fixes . For now , you can stop sending the in-app notifications to android 6 or below to reduce the number of crashes for your app(s) |
@root-ansh-ct though isolating Android 6 & below users is a sure temporary solution, the Product & Marketing team won't accept this as it has a direct impact on the business. This issue was reported by our team, first, on 17 Jan 2022 and it's over two months now. Two questions:
Would really appreciate if this can be expedited! Regards, |
We understand that this is a temporary solution but it is not unreasonable as globally the percentage of users on Android 6 and below are approximately less than 5%. We suggested this workaround to reduce the crashes for your app so that your overall App health is not affected. This is a tough crash to reproduce in the first place. There is very vague documentation on the internet for this particular crash as to why and how it occurs. We are still spending considerable resources to reproduce this on our end. But a proper solution cannot be formulated till we figure out what is causing this crash in the first place. Regarding your question on SLA, Github issues do not have any inherent way of tracking SLAs. Hence issues that are high priority should ideally not be raised here. For urgent issues, you can raise a support ticket via the Dashboard and we have a proper SLA mechanism for those tickets. You can mention this Github issue in that ticket and we will expedite it on our end. Thanks, |
Describe the bug
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rapido.passenger/com.clevertap.android.sdk.InAppNotificationActivity}: java.lang.RuntimeException: Window couldn't find content container view
To Reproduce
Steps to reproduce the behavior:
1 On Android 6
2 Sending an InAppNotification/Notification is causing this exception.
Expected behavior
Should have not given any exception or give error in the callback
Environment (please complete the following information):
This is trending crash on our app.
The text was updated successfully, but these errors were encountered: