Open LunaUrsa opened 3 years ago
Originally it was the Combo section, if the Factsheet section isn't working now as well we'd really need someone to look into the source code to see what it tries to connect to.
This particular issue is a result of the URL needing to be HTTPS.
Changed the DrugNameAsyncTask.java line from:
private static final String ALL_DRUGS_URL = "http://tripbot.tripsit.me/api/tripsit/getAllDrugNames";
To:
private static final String ALL_DRUGS_URL = "https://tripbot.tripsit.me/api/tripsit/getAllDrugNames";
Can we apply the same solution to #49 ?
I don't believe so, but i will take a look
Pushed my branch up, commit for this fix is here: https://github.com/TripSit/tripmobile/commit/aa6f3a49348bd3d0f2a924b05b8f0ffc92d54ab1
Yeah it turned out to be the same issue. Why it would crash in combos but not factsheets is weird but okay, pushed up my commit here: https://github.com/TripSit/tripmobile/commit/d051eeaaaa0d7c2620729dea8d306312db280248
When opening factsheets an error appears:
"Could not retrieve drug names from tripbot interface. Search may still work but autocomplete suggestions will not be present"