I have a release
version of an app and want to change a URL of a server (REST API), so that a tester could switch between production and test API. I also want to see token
and Firebase push-token
for this device and account. Also want to show logs after restarting of the app, because it can crash (if possible).
I can create an activity with these parameters. It can be opened after tapping several times on one TextView, for instance. It is not bad, but a user theoretically can reproduce and open the activity himself.
I can write a URL in Firebase Remote Config. Because the tester also has access to FRC, he can change the URL there and restart the app with new URL. It's a bit more difficult than changing in the activity.
I can create an activity only in test release
version, so that in production release
version it cannot be launched (this activity won't exist in AndroidManifest in production release
).
What variant to prefer?