E2e testing on mobile device

So my project use extensive use of native plugins, file, camera, google maps, and others. Mocking them is a bit of a pain and I was wondering what’s the best strategy to e2e testing.

I haven’t found a lot of examples of on device e2e test… so I suppose is not what most of the people do?

On the other hand, on browser e2e testing is not an option unless I start to mock all these calls.

What are you guys doing out there? Best practices?

I’m using ionic v4

I use appium, which provides good automated tests on devices. You should check it out

I’m using it too now, have you been able to take pictures with the camera using appium?

Thanks

Have you been able to do it?