Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pablocattaneo/aff2428e3bb2f9708652ade70ec8f524 to your computer and use it in GitHub Desktop.

Select an option

Save pablocattaneo/aff2428e3bb2f9708652ade70ec8f524 to your computer and use it in GitHub Desktop.

Practical fix for local dev (Android emulator) Use the same URL host as on iOS (e.g. http://localhost:3000/...) on the emulator as well, and make localhost on the emulator reach your Mac’s port 3000 with port reverse:

adb reverse tcp:3000 tcp:3000 Then set:

EXPO_PUBLIC_KYC_WEBVIEW_URL_FREE_ACTIVATION="http://localhost:3000/beacon-money-account/info/free-activation?beacon_flow=BMA"

(aligned with iOS). After reverse, localhost:3000 inside the emulator is forwarded to your host’s 3000, so you get connectivity and the same host as iOS for cookies/session.

Run adb reverse again if the emulator was restarted (depending on setup, sometimes it persists for that device session).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment