Fix dead "Don't Kill My App?" link for unknown manufacturers#4784
Fix dead "Don't Kill My App?" link for unknown manufacturers#4784PieterDeBruijn wants to merge 2 commits into
Conversation
The About dialog built its target URL as https://dontkillmyapp.com/<Build.MANUFACTURER>, which 404s for any manufacturer that does not have a dedicated page on dontkillmyapp.com (e.g. Fairphone, HMD, custom ROMs, emulator). Link to the homepage with the ?app=AAPS query parameter instead, as recommended by DKMA's own API docs. The homepage lets the user pick their device and always resolves.
|
I'm not sure if it's a win to make it more convenient to 5% of users and less convenient to 95% |
Option with fallback, so it keeps working voor 95% of the users and does not give a 404 for the rest.
|
|
sorry it's even worse because it offloads maintaining the list to me |
|
Hum, I agree with @MilosKozak, probably more than 95% of the users are with known brands (sorry for you...)
|
|
Do not like linking to the AAPS documentation as feels as RTFM... :-|
Like @Philoul suggestion, if doable, technically I'd prefer checking for 404. However, this assumes user has an internet connection! Other solution would be "whitelisting" <Build.MANUFACTURER>. If it is not in the list set <Build.MANUFACTURER> to "empty string" and link to the main page for user to decide?. Less coding but would take a bit more maintenance on the whitelist...? Also Agree with @MilosKozak and I think there are other priorities currently. |



The About dialog built its target URL as
https://dontkillmyapp.com/<Build.MANUFACTURER>, which 404s for any manufacturer that does not have a dedicated page on dontkillmyapp.com (e.g. Fairphone, HMD, custom ROMs, emulator).
Link to the homepage with the ?app=AAPS query parameter instead, as recommended by DKMA's own API docs. The homepage lets the user pick their device and always resolves.