notification api phonegap