Ionic appium native camera

Has anybody been able to take a picture using native camera with appium + protractor?