Update identity to use cordova.exec