phrase / phrase-android

Phrase Over the Air Android SDK
https://phrase.com
Other
6 stars 1 forks source link

XmlPullParserException gets Logged by Phrase OTA #50

Closed ignindra closed 1 year ago

ignindra commented 1 year ago

Hi, I get this exception when I tried to use Phrase OTA in my new basic Android project using our existing distribution id & environment. The sample app that I tried is basically a carbon copy of sdk sample usage in here.

This is the only message/error that appeared on logcat.

D/Phrase OTA: org.xmlpull.v1.XmlPullParserException: expected: /b read: string (position:END_TAG </string>@264:77 in java.io.InputStreamReader@ed564b1).

The detail on translated text that I'm using is:

More details:

Kindly help explain what is going on here.

github-actions[bot] commented 1 year ago

Hello there,

Thanks for reaching out to us. We'll look into this and get back to you as soon as possible accordingly.

Don’t hesitate to reach out again in case needed in the meantime, and have a great day ahead!

Best, Erika from the Phrase Technical Support Team

Comment by Erika

ignindra commented 1 year ago

Hi Erika, is there any update on the issue I faced here?

theSoenke commented 1 year ago

Hi @ignindra, could you share the distribution id with us at support@phrase.com or via the chat on phrase.com? Then we can take a closer look at this exact issue and it should help a lot to track down the cause

github-actions[bot] commented 1 year ago

Hello there,

As prompted by Sönke, we'd need your distribution ID in order to investigate further. As we haven't heard back from you, we hope you could solve your issue? We have released a new Phrase SDK version 3.2.0 in the meantime, please make sure to give that a try accordingly. I will close this ticket for now, but don't hesitate to answer this message to reopen it in case you should still be facing the described issue, or if you have any further questions or feedback.

Have a great week ahead!

Best, Erika from the Phrase Technical Support Team

Comment by Erika

ignindra commented 1 year ago

I managed to found the fix by toggled off the "Use language fallback" in the distribution configuration. I'm not sure why it affects the Android project but, it doesn't affect iOS.

For now I'll close this ticket.

Thank you.

theSoenke commented 1 year ago

@ignindra Glad to hear this is solved. Maybe if you have a moment I would still be really interested to look into this when you could share a distribution and release where this happened to investigate and resolve the root cause