Crear animaciones para aplicaciones móviles puede ser algo complejo dependiendo de qué marco de trabajo se utilice. Con esto último me refiero a si uno utilizará lenguaje nativo o alguna especie de puente a través de otro lenguaje de programación.
Creating animations for mobile apps can be complex depending on the framework used. By this, I mean whether you'll use a native language or some kind of bridge through another programming language.

In my case, I use JavaScript, and through a conversion bridge, it is transformed into another programming language that allows the application to be generated. However, for this sample, it is not necessary to apply the native language because everything is emulated through a QR code.

Using this type of framework has its limitations because certain things that seem simple and attractive to see in a mobile application in other programming languages are very difficult to achieve, and even worse, to keep working correctly over time.

For this example I made it very simple by applying a gradient that is much larger than its container and a simple animation that just moves the gradient from right to left, interpolating certain positions.