-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.8.0 does not work in Android Cordova App #125
Comments
@clmorales Thanks for filing this. Can you help try with a lower version of fetch client? Maybe 1.8.0 or 1.7.0? |
Hi I tried Version 1.7.0 and It Works, so the problem it is on 1.8.0 only. |
@clmorales I think you are probably get similar issues with this aurelia/path#29 But that guess could incorrect if the Android Webview supports newer features of JavaScript. It's still worth a try and test. Can you give a bit more info about the environment where it got the error? |
@bigopon not sure if it helps, but we have (stupidly) |
@doktordirk Could you help with a simple snippet or repro and somemore details on how it fails? I think I'm a bit confused what kind of issues you are running into. |
babel 6 transpiled
|
@bigopon retried with babel 7 and there it works with 1.8.0 |
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.
The text was updated successfully, but these errors were encountered: