posting from cordova

Enabled posting from cordova