Using webview to render math content by linking mathjax cdn for react native is common. But how to approach the problem of making it offline.
Is there a way to locally maintain that bundle?
Is it even prefered?
What will be the size of the bundle ? I dont want my app size to go beyond 10mb.
Download your mathjax from
http://docs.mathjax.org/en/latest/installation.html
into => android/app/src/main/assets/
Now in your webview html code set script reference to
and your necessary config inside html. Also make sure to set base url to your folder name.
Also you can https://github.com/mathjax/MathJax-grunt-cleaner to reduce the Mathjax asset size by removing unnecessary fonts and formats that you don't use.