I'm trying to get Lottie/Bodymovin' integrated into an Ionic 4 app and I'm having no luck.
Currently I'm running:
- "@ionic/angular": "4.1.0"
- "@angular/core": "~7.1.4"
- "ng-lottie": "0.3.1"
The error I'm getting is:
ERROR DOMException: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'json').
I've also tried libraries such as:
I still get the same error.
The implementation is very straightforward, so it isn't an implementation issue.
The only other option I can really think of is importing bodymovin directly with a typings file, but I've never tried that.
I'm open to any suggestions I might not have thought of.