While running test on emulator, I always get a pop up to allow application to access device location. How can that be allowed by default whenever the test starts?
--
You received this message because you are subscribed to the Google Groups "Android Testing Support Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-testing-suppo...@googlegroups.com.
To post to this group, send email to android-testing...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-testing-support-library/5a3a7ab2-3238-4395-b940-398bba87961d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you're referring to the runtime permission dialog the system shows when you need a permission when targeting API 23 +, you can grant your app the requested permission through adb before your test runs:What we did is write a simple gradle task that runs the grant permission call on the command line after the install task completes.
On Fri, Aug 5, 2016 at 2:05 PM SK <sana...@gmail.com> wrote:
While running test on emulator, I always get a pop up to allow application to access device location. How can that be allowed by default whenever the test starts?--
You received this message because you are subscribed to the Google Groups "Android Testing Support Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-testing-support-library+unsubscribe@googlegroups.com.
To post to this group, send email to android-testing-support-lib...@googlegroups.com.