Comments (11)
@timoEmberNjiuko hello!
I will try. Maybe the following way helps you.
We checked all available source IDs in both our app and a Phrase site. We found that one ID is existing for the Thai or Vietnamese language, but not for the default (English). Which was the source of the crash and error.
from phrase-android.
Hey @erdincozden, there appears to be a know issue in appcompat https://issuetracker.google.com/issues/141351441 We are currently looking for a solution to work with appcompat and webviews. This behavior with webviews is also reproducible for older versions of the SDK for me
from phrase-android.
@theSoenke - I'm using version 2.1.3 of the Phrase SDK, which in the release notes states its using appcompat 1.2.0 - but this issue is still present.
from phrase-android.
@Runman44 The release 2.1.3 added support for the latest appcompat 1.2.0. This issue with webviews is unfortunately still present in the latest release and not directly related to the appcompat fix
from phrase-android.
@erdincozden Version 3.0.0 of this SDK should resolve the webview related issues https://github.com/phrase/phrase-android/releases/tag/3.0.0
@Runman44 Could you please try using 3.0.0 as well? This release should fix all appcompat
compatibility issues.
from phrase-android.
I would now close this issue. Let me know in case you still should see anything unexpected
from phrase-android.
@theSoenke Hello!
I received one strange crash from the Firebase console:
Fatal Exception: android.content.res.Resources$NotFoundException: String resource ID #0xffffffff
at android.content.res.Resources.getText(Resources.java:430)
at android.content.res.HwResources.getText(HwResources.java:463)
at com.phrase.android.sdk.inject.PhraseResources.getText(PhraseResources.java:13)
at com.phrase.android.sdk.inject.PhraseResources.getString(PhraseResources.java)
at android.content.Context.getString(Context.java:582)
at io.coingaming.bitcasino.extensions.currency.CurrencyMapKt.getName(CurrencyMapKt.java:14)
I'm using Phrase 3.0.2, so the issue you mentioned above is not related to my case. It seems some other issue occurred here.
I checked all possible translations and tried to reproduce this error, but couldn't.
from phrase-android.
Hey @Papashkin, we were unfortunately not able to reproduce this. Is there any chance that an invalid id is passed in into getText
? There is also a possibility that this is related to an issue with webviews on certain Android devices/versions. Are you using webviews that might be related to this?
from phrase-android.
Hei @theSoenke!
It seems that the problem has occurred on our side, so there is no error from the Phrase side.
Thanks for your time and have a nice day!
from phrase-android.
Thanks a lot for the confirmation. Have a great day as well!
from phrase-android.
@Papashkin Hey Papashkin, i know its been a while, but do you know how you fixed the issue? We having a similar problem :) Thanks in advance!
from phrase-android.
Related Issues (20)
- Some locales not set properly by xml HOT 2
- Crash when selecting text in a WebView HOT 1
- The app is blinking HOT 3
- Download all available translated texts HOT 2
- Phrase compose SDK download fails with 401 unauthorized HOT 5
- Crash SDK version >= 3.4.0 for TabLayout and TextInputLayout HOT 2
- Phrase SDK crash webview on forms opening AlertDialog HOT 13
- Protect language files served by Phrase OTA HOT 1
- Custom View Support now working HOT 3
- Do I always need to restart the app in order to see the updated changes? HOT 5
- Version 3.7.1 is still not available on the maven repository HOT 1
- Crash when inflate a layout with FragmentContainerView and use NavHostFragment HOT 2
- Recent releases all have the same hash HOT 1
- Theme not changed in runtime when Phrase initialized with custom locale HOT 3
- jitpack build failed HOT 4
- [URGENT] Critical Vulnerability reported in latest release HOT 2
- In new versions of SDK translation doesn't always refresh HOT 3
- Cannot update translation ota in Android HOT 9
- No method to get plurals HOT 2
- Phrase 3.10 - Translation fallback on locale change during runtime of an application - does not work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phrase-android.