Ionic v4 Disable default animations iOS

Hello, I want to use custom animations on Ionic 4 and for that I need to disable the default ones. I already put animated=false in the ion-router-outlet but the screen keeps blinking (only on iOS and Safari, on chrome all works fine) on the end of the back transition. My goal is to use @angular/animations to do the transition. You can see the problem here:
Also, i am using @angular/router for the routing.