Android app doesn't work #17
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The cordova compiled android app has several issues noticeable right away:
0.1.1 test version sees only moderate success
Still true. Also calls to doods to get detector info fail. So all outgoing calls appear to be a problem.
Edit: I'm sure at this point it is a request security issue. Setting
<access origin="*" />in config.xml doesn't seem to fix the problem.Edit2: Had to add
<preference name="AndroidInsecureFileModeEnabled" value="true" />to config.xml. Not sure the long term security implications, but doods calls now work.Still true. No idea why.
Edit: The images that fail are the ones that are dynamically set via vue properties, for some reason. Direct image settings are just fine. I think the issue is that cordova build doesn't change string path refs (
'../assets/regions/limb.svg') to the locations of the images that it renames and moves to app assets folder.Also still true.
This was fixed by removing the
<splash>tags in the confix.xml and adding the correct preference tags from https://cordova.apache.org/docs/en/12.x/core/features/splashscreen/index.html#configxml-preferences however changes were lost due to extreme stupidty and need to be re-added.This appears to be fixed, although I hope the changes were not also lost.
Edit: App icon changes were lost...meh.
I found no way to resolve the image issue with dynamic references, so I used multiple vue elements with static references and v-if statements.