Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 705 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 705 Bytes

ionic-camera

This is example code for how to get the camera and upload the picture to remote server with ionic framework.

install

git clone https://github.com/xifengzhu/ionic-camera.git

note: make sure you already install ionic

make sure you have add the follow plugins, otherwise you can add it with follow command in your terminal.

cordova plugin add org.apache.cordova.camera

cordova plugin add org.apache.cordova.file

cordova plugin add org.apache.cordova.file-transfer

after that, you should run

add ios platform ionic platform add ios

build ios version ionic build ios

connect you iphone with you mac, run the app through xcode