-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fatal Exception: java.lang.RuntimeException: Unable to start activity ShowkaseBrowserActivity #366
Comments
Are you manually starting the activity? You are supposed to start this activity using the |
@vinaygaba I am not using this activity, some bots launch it in my code. I am not manually starting the activity. |
@Monabr In that case, this activity isn't being started correctly as it needs more information to work correctly. This is an intentional failure - Showkase/showkase/src/main/java/com/airbnb/android/showkase/ui/ShowkaseBrowserActivity.kt Line 23 in 8d9e120
Is there a way where you can pass additional information when this activity is started (or how this activity is started)? I suspect you do? |
@vinaygaba I am not using this activity, I am not starting it. Some other people's bots, which I have nothing to do with, enter my application and launch this activity. |
@Monabr Not sure how to help here if these bots are starting the activity incorrectly. I have no control over this, library is doing the right thing as it's designed to. |
@vinaygaba We need to remove this activity from the release build; it is absolutely unnecessary there, has no use and causes problems. Or do something about this crashes so that it does not spoil the statistics. |
You can make Showkase only available in debug builds. Make sure your setup looks like this -
|
@vinaygaba I don’t use your dependencies directly; they probably came to me along with the Jetpack Compose dependencies. How could I fix the situation? |
@Monabr That's not possible. This library is an opt-in library and doesn't come by default if you use Jetpack Compose. |
@vinaygaba I have Lottie package with |
Lottie doesn't use Showkase so that's not possible either. I recommend spending some more time debugging as it's unrelated to the library itself and has probably something to do with your setup. |
@Monabr I was able to understand the root cause of this issue - It stems from your use of this library - https://github.com/marosseleng/compose-material3-datetime-pickers It leverages Showkase in a way that uses it as an Moreover, this is happening because the |
Hello.
With each of my releases, bots come to me and launch
ShowkaseBrowserActivity
, it crashes and I get bad statistics. Is there any way to fix this?The text was updated successfully, but these errors were encountered: