config for ios and android