Facebook easy login crash swift

Dear Support,

I have implemented your new Facebook login process. From SDK version 3.0.8.2 you have fixed the username mapping (Great job, thank you! (: ). Unfortunately this fix causes crash if the username contains any accented letters.
For example: my name is Péter Kovács, and the Facebook login is crashing after every login.
I have attached a screen shot about the call stack.
The exception is:

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘data parameter is nil’

As you can see, the json parsing raises the exception.
This is the critical part from the URL: “%22name%22:%22P%E9ter%20Kov%E1cs%22,”
After the URL decode: “name”:“P�ter Kov�cs”,
If I remove the accented letters, the Facebook login works.

Could you please give any advice how to resolve this issue?

Best,
Peter

Hi Péter,

We will replicate the problem and get it fixed.

Regards,
Mark

Hi Péter,

I’ve set

id userData = [NSJSONSerialization JSONObjectWithData:[absoluteString dataUsingEncoding:NSUTF16StringEncoding] options:0 error:nil];
so you could try again, and let us know how it goes.
The fixed libs are in our ios-SDK github (CommLibiOS & backendless)

It seems working, but I couldn’t test it in the original project where it was occurring.