add cordova native support