I tried a bit of everything. So far Adobe Animate is by far the best Animation tool for interactive animation and for data driven animation, both for mobile and for desktop Apps and games, And for much more than that. After Effects is not designed for that. But if you need to do a simple linear animation, then After Effects is ok, just forget about the effects that are available in After Effects, 99.9% of them are not compatible when exporting in code for an App.
I tried a bit of everything. So far Adobe Animate is by far the best Animation tool for interactive animation and for data driven animation, both for mobile and for desktop Apps and games, And for much more than that. After Effects is not designed for that. But if you need to do a simple linear animation, then After Effects is ok, just forget about the effects that are available in After Effects, 99.9% of them are not compatible when exporting in code for an App.