What a view to a kill…
I meant to take a photo like this already on Wednesday (for obvious reasons), but I forgot to have my phone ready.
Just in case you are interested, if you minimize your Android app (that is, minifyEnabled
is set to true), you need to keep the (model) classes you parse from JSON using Gson in the app's ProGuard rules (that is, -keep class foo.bar.classpath.** {*;}
). Apparently nobody minimizes their apps because this isn't mentioned anywhere in Gson's documentation.
Ho hum. Got bitten by yet another undocumented "feature" of Android+Gson combo. Apparently Google assumes that one just needs to know these things in advance to get them work.
@kdfrawg Not my original, though. I think @streakmachine knows the joke from where I got that.
@tomas Something like that. I got that from a joke where the phrase (of a poem, I'd assume) "island, island, grassy island, grassy island's bride" was asked to be translated to different languages. That is what it would be in Swedish.
@matigo Well, there's a lot of crazy in Germany too. It's just that the other countries have upped their game lately to mask it.
// @streakmachine