Compiles on mobile, but a 'registration error' window pops up in the beginning