transistorsoft / nativescript-background-fetch

iOS Background Fetch API Implementation for NativeScript
Other
28 stars 9 forks source link

Error: Value is not a class. #11

Open harryt04 opened 6 years ago

harryt04 commented 6 years ago

I had a runtime error in iOS "Error: Value is not a class."

This was resolved by changing my TSConfig to "ES5" instead of ES6 or ES2015. As far as I know this is only an issue on iOS.

I recommend putting a heads up in the readme regarding this common error so people can easily find the known solution / workaround.

https://github.com/NativeScript/NativeScript/issues/5245

christocracy commented 6 years ago

We shouldn’t have to downgrade to es5 from es6. Thanks for the feedback.