-
Notifications
You must be signed in to change notification settings - Fork 3
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
What could cause a Resources$NotFoundException? #59
Comments
This is probably related to a bug we had with Webiew. A String resource id, required by WebView, should be made available to Android's Do these crashes occur with TxNative 1.2.3 ? Can you reproduce it consistently? If yes, can you provide with an STR for your app or send me a minimal reproducible example? |
Ah, it looks like we're on Unfortunately, I don't have a consistent way to reproduce it; I've actually never even seen it happen. The only reason I know about it is because crashes are showing up in Crashlytics. If it's worth anything, the crashes we do see appear to be consistently happening only on Android 9. We don't exactly have a huge sample size, though. |
The STR we found (and is included in the sample app) is showing an Activity with webview that has a selector: Do you have something similar in your app? Using a Txnative before |
It's entirely possible that we do. Our app presents an interface to various public and academic libraries, and sometimes those libraries require logging in using SAML. This basically entails opening arbitrary web pages inside the app... Anything could be in there, really! |
Another workaround, if possible for your app, is to avoid extending This will disable TxNative functionality in these activities, but if all they do is show a WebView, you can do this. |
Thanks! I'll be trying each of these suggestions. We won't be doing another app release until January as it's the holiday season, but we should find out pretty quickly if the problem has gone away. I'll leave this ticket open for now, and I'll try to report back. |
We just released a new version of the application yesterday, so hopefully we'll see if this has resolved things. |
Note that TxNative 1.3.0 was released that improves the WebView related issue even further. |
Looks like there was still one instance of the crash in our new release. I'm going to upgrade to |
Hello!
We've been using Transifex for a few months in our open-source Android app:
https://github.com/ThePalaceProject/android-core
We're seeing a few crashes in Crashlytics along these lines:
The obvious answer is that we're somehow missing a translated string somewhere, but even then... That shouldn't cause a crash, right? I'm at a bit of a loss as to how to track down exactly what's going wrong.
Is this a common occurrence with Transifex? Is there a bug here?
The text was updated successfully, but these errors were encountered: