nicklockwood/iVersion

Problem with "quotes" \" on "what's new

Closed this issue · 3 comments

My app description uses "quotes" and that breaks the parser :( so it shows incomplete text on the UIAlertView.

As you can see here: https://itunes.apple.com/us/app/donde-hay-una-estacion-servicio/id451686876?l=en&mt=8 I use quotes in the "what's new" description and when parsing the server response, the method valueForKey:inJSON: fails to recognize the end of the value field so the resulting value for releaseNotes on iVersion.m:776 is just:
' - "Smart pins'

I'll try to figure it out. But in the meantime if someone does it before me I'll really appreciate it.

I think the time may have come to simply drop iOS 4.x support so I can use NSJSONSerializer instead of my makeshift solution. I'll have a think about it.

In the meantime, can you just remove the quotes from your description?

+1 to drop iOS4.x support. I mean, make a tag or something so iOS 4.x apps can still use your Library.
I'll change the description. Thanks for the response! :)

OK, 1.10.4 uses NSJSONSerializer if available, which should fix this problem.