allow phonegap