Open CrispyCamper opened 8 months ago
Upon further testing, I am unable to download any files within the Summit app, including those native to Terrain, such as exporting programmes. It seems Summit is blocking downloads completely somehow.
I can confirm
Device: Samsung S22 Ultra OS: Android Version: 2.3.0
Thanks, I am using a fairly basic browser in the app, I think I might need to swap it out for a different one. I think this also effects the 3 button / title issue.
Pushing to the v3 which will be based on the same framework that Terrain uses so all of the components work more seamlessly and I will switch out the browser from Cordova InAppBrowser to https://capacitorjs.com/ which seems to be a lot more slick and supports more features.
Unfortunate that we won't be able to generate anything within the app until then, but if it requires changing the entire underlying framework to fix it, needing to wait til v3.0 is understandable. Thanks for your work.
It should not be too far away, I am targeting early in term 1. I already have the foundations configured and working within Terrain using Vue which is the framework it uses. I have been able to add pages directly in so that Terrain is aware of them and handles the navigation and data which should make it much more robust.
My code is already quite modular so it will port across quite easily and I shouldn't need to rewrite much of it.
The mobile app part is basically just a wrapper so I might be able to push that back to the previous version if the rest of 3.0 runs into any issues.
Been playing around with this issue, the workaround I am playing with now might sort it. If so, I should be able to release a fix this week.
Update: I have implemented the new browser app so it will provide me with a lot more options like print and save. It will take me some time to work through them. Adding some links to remind me when I get some free time to try them out.
https://github.com/pichillilorenzo/flutter_inappwebview_examples/tree/main/file_download https://inappwebview.dev/docs/webview/print-job-controller/
The code for the new app is here if anyone is interested in taking a look at this issue: https://github.com/pete-mc/Summt-FlutterBrowserApp
Describe the bug When using the Android Summit app, you are unable to save any downloads. This applies to Summit reports, Topo reports, and native Terrain reports and exports (such as programmes).
To Reproduce Steps to reproduce the behavior:
Expected behavior All reports/exports should be saved into the device's Downloads folder
Screenshots Screen Recording of Topo report as I originally thought this bug only pertained to Topo reports