Code Monkey home page Code Monkey logo

Comments (11)

Papashkin avatar Papashkin commented on August 20, 2024 1

@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.

theSoenke avatar theSoenke commented on August 20, 2024

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.

Runman44 avatar Runman44 commented on August 20, 2024

@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.

theSoenke avatar theSoenke commented on August 20, 2024

@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.

theSoenke avatar theSoenke commented on August 20, 2024

@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.

theSoenke avatar theSoenke commented on August 20, 2024

I would now close this issue. Let me know in case you still should see anything unexpected

from phrase-android.

Papashkin avatar Papashkin commented on August 20, 2024

@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.

theSoenke avatar theSoenke commented on August 20, 2024

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.

Papashkin avatar Papashkin commented on August 20, 2024

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.

theSoenke avatar theSoenke commented on August 20, 2024

Thanks a lot for the confirmation. Have a great day as well!

from phrase-android.

timoEmberNjiuko avatar timoEmberNjiuko commented on August 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.