changed to function cordova.getAppInfo, bupmed version