Error treatment improved

Now Android works fine. Working on IOS.