criticalmaps / criticalmaps-android

🤖 Critical Maps Android App
http://criticalmaps.net
Apache License 2.0
136 stars 27 forks source link

Hidden option to set alternative server for debugging #271

Closed weliveindetail closed 1 year ago

weliveindetail commented 4 years ago

At the moment the app can only be tested with the production server. In order to test it with historical or manufactured data it would be useful to add an option for an alternative server URL in the Settings screen.

We talked about it at CycleHack and came up with this proposal:

cbalster commented 4 years ago

Sounds good! Maybe making that option visible only for debug builds might be another option. Do you see any use case for also having access to this in a release build?

On Sun, 13 Oct 2019, 17:49 Stefan Gränitz notifications@github.com wrote:

At the moment the app can only be tested with the production server. In order to test it with historical or manufactured data it would be useful to add an option for an alternative server URL in the Settings screen.

We talked about it at CycleHack and came up with this proposal:

  • The option should not confuse the regular user. Instead, the it could be hidden until the developer e.g. tapped 3 times on the Map settings heading.
  • Typing custom URLs every time we test the app is cumbersome, instead we could scan it from a QR code.
  • We will forget to reset the option. It would be convenient to reset it automatically (after 5 hours / at the end of the day / when the app is closed).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/criticalmaps/criticalmaps-android/issues/271?email_source=notifications&email_token=ACGWNG6Q3BBQCAUDI7VD2LTQOM7SLA5CNFSM4JAHQCS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HROFUBQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGWNGZ6IW6LURCWS3WWT4DQOM7SLANCNFSM4JAHQCSQ .

weliveindetail commented 4 years ago

Maybe it's easier for the community to verify bugs/fixes on their devices, if it doesn't require to build and deploy a debug version.

cbalster commented 4 years ago

True, this might be helpful. I'd be fine with the "tap three times" option. :)