NativeScript / nativescript-camera

NativeScript plugin to empower using device camera.
Apache License 2.0
92 stars 47 forks source link

how to access photo taken location #239

Open manikandan231 opened 4 years ago

manikandan231 commented 4 years ago

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital letter.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Describe the steps to reproduce it.

Is there any code involved?

map7 commented 4 years ago

You could use imageAssetURL

            takePicture({})
                .then((imageAsset: any) => {
                    console.log("Taken picture: " + that.imageAssetURL(imageAsset))
                 });
ann1111 commented 4 years ago

that.imageAssetURL not found it shows @map7

ann1111 commented 4 years ago

ok done resolve we can get like this way console.log(imageAsset._android);

itsmerockingagain commented 3 years ago

@ann1111 how to get it for iOS, for iOS imageAsset._ios is empty