Added doNativeAction which wraps all the native actions such: share...