Files
damus/damus/Views
Daniel D’Aquino da82663634 Add option for custom test host in Damus Purple developer settings
This commit adds a developer setting that allows the use of a custom
host for testing. This was added to allow testing on real devices
without the need for pushing changes into staging.

========
Testing
========

Test 1: Production not affected
-------------------------------

PASS

Device: iPhone 13 Mini
iOS: 17.3
Damus: This version
Steps:
1. Run app on a device logged into a real Damus Purple account
2. Scroll down the home feed. Make sure that other Purple members still show up with a star next to their profile. PASS
3. Go to the Damus Purple screen. Ensure that account info shows up and is correct. PASS
4. Ensure auto-translations appear. PASS

Test 2: Check custom test URL
-----------------------------

PASS

(Continued from test 1)
1. Run local damus-api and damus-website on the same computer
2. Change developer purple env setting to local test
3. Set the host url to the local IP address of the test server
4. Go through LN purchase flow. Ensure it works correctly. PASS

Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-08 10:08:59 -08:00
..
2024-01-30 19:01:31 -08:00
2024-02-01 09:52:49 -08:00
2023-09-21 09:10:06 -04:00
2023-09-21 09:10:06 -04:00
2024-01-10 14:27:02 -08:00
2024-01-31 09:34:15 -08:00
2024-01-27 18:47:37 -08:00
2024-01-30 19:01:31 -08:00
2024-01-27 18:47:37 -08:00
2024-01-27 18:47:37 -08:00
2024-01-16 16:51:28 -08:00