This is a simple NativeScript test app. You can take a picture and show the taken picture afterwords in the view.
It works on iOS and Android. If you run it in the emulator, you can use the hardware camera from your laptop on android. In iOS you can choose a picture from the build in photo library.
- Make sure you install NativeScript according to there docs and have android and iOS up and running.
tns platform add androidtns platform add iostns prepare androidtns prepare iostns run ios --emulatortns run android --emulator
Unfortunately you need to run every command separately for every platform. Make your live easier and run in separate shells instances ;)