I solved with:
i added src/app/polyfills.ts
i implemeted angularanimation successfullly in android, and when i built for ios animations are not working.
is it the problem with angularanimations ?
Thank you! This solved the problem for me as well. Other advice I had seen just said to install web-animations-js via NPM:
npm install web-animations-js --save
However, that didn’t fix the issue until I found your solution!
- I manually created a polyfills.ts file and added the following import statement to it:
- Then I added the import statement to main.ts.
Thanks for contributing your solution @jhdezcruz