kiwix / kiwix-js-pwa

Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
https://pwa.kiwix.org
GNU General Public License v3.0
168 stars 26 forks source link

On Windows Mobile (only) the WikiMed legacy UWP app can't locate the included archive #575

Closed Jaifroid closed 4 months ago

Jaifroid commented 4 months ago

This is strange. The same app can install and be used fine in UWP on Windows desktop, but for some reason, the included MDWiki archive (the app-maxi variant) is not being located on Windows Mobile.

It's the same framework, so it should work the same.

Unless we've hit some kind of internal limit for packaged assets that affects the old Windows Mobile SDK, but not the Windows 11 version?

Other than that, the app itself seems to be working OK, in the sense that it is possible to unhide the file selectors and pick another archive (including very large ones) and it will display in the app. But it's not possible to access and pick (manually) the included archive (manually picking files from the app's package is forbidden, it should just load automatically).

Needs debugging.

Jaifroid commented 4 months ago

NB This happens with both the Store app, and the signed alternative provided via GitHub.

The Electron app is unaffected.

Jaifroid commented 4 months ago

It appears this was use of incompatible forEach with a DOM node in init.js, which works with all browsers except IE11 and Edge Mobile. Leaving open until new package approved on MS Store.

Jaifroid commented 4 months ago

App now published and confirmed working on WM10. There is no need to update the GitHub release, as these packages all run on systems that support the affected piece of code.