fix uni testing and app
permission request.