Error using native lazy loaded component

My opinion is “in each page (or component) that takes pictures”. If you are worried about code duplication, and the options are always the same, you can put a function that provides a CameraOptions in your provider. That should make takePicture a one-line function (plus error reporting, which I also don’t like in providers).

but with that we’ll avoid just having the options duplicated but not the function itself.

Anyway, better having this duplicated that imported twice.

Thanks!