Skip to content
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

ClassNotFoundException if some other app is using the error intent filter #21

Closed
jsoriase opened this issue Mar 5, 2016 · 3 comments
Closed
Labels
Milestone

Comments

@jsoriase
Copy link

jsoriase commented Mar 5, 2016

If the device has another app with CustomActivityOnCrash which has an Activity with "cat.ereza.customactivityoncrash.ERROR" as intent filter and you dont, CustomActivityOnCrash.getErrorActivityClassWithIntentFilter() will throw a ClassNotFoundException

@jsoriase jsoriase changed the title Unable to use DefaultErrorActivity if some other app is using a custom one ClassNotFoundException if some other app is using the error intent filter Mar 5, 2016
@adrielcafe
Copy link

Same problem here. I have two different apps using this lib. When the second app try to open a custom Activity the app throws this exception.

Ereza added a commit that referenced this issue Mar 9, 2016
- Use default exception handler when an error occurs in application or error activity classes, or when a restart loop is detected.
- Prepare for 1.5.0 release.
@Ereza Ereza added this to the 1.5.0 milestone Mar 9, 2016
@Ereza Ereza added the bug label Mar 9, 2016
@Ereza
Copy link
Owner

Ereza commented Mar 9, 2016

Fixed in 1.5.0. The library now filters only activities on the current package.

Thanks for your bug report!

@Ereza Ereza closed this as completed Mar 9, 2016
@adrielcafe
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@Ereza @jsoriase @adrielcafe and others