Fixed phonegap integration