Replies: 1 comment
-
doesn't anybody know the answer to this ? we'd benefit a lot from this as well |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a prod build that we would like to divert some connections to our backend server at yyy.com lets say, we want to divert requests from the backend to a ktor server on device (localhost), a diversion easily achievable via DNS server or something like that (maybe also requiring SSL termination, a custom CA cert, for which we'd need to create the cert inside /system/etc/security/cacerts/...
For this we would need a readable and modifiable /system/
This is very easily achievable on local emulator !
On Local:
emulator -avd Pixel_3a_API_34_extension_level_7_arm64-v8a -writable-system
adb root && adb shell "remount" && adb shell "mount" | grep system
/system/
and/system/etc/security/cacerts
are now visible and writableOn Git Actions, android-emulator-runner:
So the pipeline actually gets stuck in an infinite loop:
https://github.com/kaanx022/pipeline_tests/actions/runs/7254111464/job/19762130870
Remember the goal is just redirecting prod version of our app's calls to domain.com with custom cert to our debugging server at that'll be running localhost (on device), isn't it possible to replicate the emulator's behaviour on git action emulator ? why not ?
Beta Was this translation helpful? Give feedback.
All reactions