Deltachat-android: Sharing from special app crashed

Created on 6 Jul 2019  路  4Comments  路  Source: deltachat/deltachat-android


It crashed by sharing from this app: https://play.google.com/store/apps/details?id=de.badischezeitung.smart

There are also other News Apps who using (probably) the same software as Badische Zeitung.
So I think this issue also concerns also other Apps.

  • Platform (android/blackberry/anbox): Android 7
  • Device: Huawei nova
  • Delta Chat Version: 0.500.0
  • Expected behavior: Sharing links to DC
  • Actual behavior: Chrash of DC
bug

All 4 comments

I would have a look on Friday, if the issue isn't fixed until then.

The PR (https://github.com/deltachat/deltachat-android/pull/1003) should fix the problem. The actual problem was, that the mentioned app attached a SpannableString instead of a String. Kind of uncommon and "special", but the Delta shouldn't crash. Both cases are working now and I added a check to avoid further crashes, if no valid text is given.

great that you figured that out!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndreasLattmann picture AndreasLattmann  路  4Comments

adbenitez picture adbenitez  路  4Comments

angelo-fuchs picture angelo-fuchs  路  4Comments

adbenitez picture adbenitez  路  4Comments

adbenitez picture adbenitez  路  4Comments