aurelia / aurelia/fetch-client

Version 1.8.0 does not work in Android Cordova App

Open
#125 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
74
Forks
45
PR merge metrics
No merged PRs in 30d

Description

I have an Android app using cordova and Aurelia. The app uses aurelia-fetch-client 1.3.1. When I tried to create a new app using aurelia-fetch-client 1.8.0 the does not start on device. Error log shows io.cordova.hellocordova I/chromium: [INFO:CONSOLE(12730)] "Uncaught SyntaxError: Unexpected token {", source: file:///android_asset/www/scripts/vendor-bundle.js (12730)

When I downgrade the version to 1.3.1 it works fine again.

Contributor guide

Open the contributing guide

Research direction

Reproduce the Android Cordova app with aurelia-fetch-client 1.8.0 and compare it with 1.3.1. Inspect scripts/vendor-bundle.js around line 12730 and the reported Chromium syntax error; done means the 1.8.0 app starts on the device without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.