envoy-mobile icon indicating copy to clipboard operation
envoy-mobile copied to clipboard

Document required Android permissions

Open yschimke opened this issue 3 years ago • 2 comments

I think ACCESS_NETWORK_STATE is required, so maybe worth adding to https://envoy-mobile.github.io/docs/envoy-mobile/latest/start/building/building.html#android-requirements

  <uses-permission android:name="android.permission.INTERNET" />
  <!--  This permission is needed in order to allow the application
     to initiate DNS resolution via c-ares. -->
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

yschimke avatar Apr 10 '22 11:04 yschimke

I built envoy-mobile locally and and was able to install/execute it in my android emulator following the documentation. No ACCESS_NETWORK_STATE permissions configuration was needed. Built in intel machine running ubuntu 20.04.

anfelbar avatar May 23 '22 23:05 anfelbar

Looks like it falls back and just doesn't update on network changes. So you probably do want this on a real device.

https://github.com/envoyproxy/envoy-mobile/blob/9c90ac09222fe0b8b84e1d793c4899ce31e7cfe8/library/java/io/envoyproxy/envoymobile/engine/AndroidNetworkMonitor.java#L57

yschimke avatar May 27 '22 18:05 yschimke