Mobile app .so and .frameworks libs ignored from repo lead to problem

In my flutter mobile app theirs is a dependency of dynamic libs(.so and .framework) files which is added to ignore list of the repo due to the size.
Any suggestions to copy these files before the build pipeline starts to respective locations?
Can host these files which could download or can added to docker image to get coped.
What would be the best approach?