How enable android:largeHeap="true" in AndroidManifest.xml in Meteor way?


#1

OutOfMemoryError issue hit me in my mobile project that show lots of high resolution images. I used cordova.file to load images and fix orientation by exif information.

From Android, an app can request large heap to exceed default heap limit, https://developer.android.com/guide/topics/manifest/application-element.html#largeHeap

I need a Meteor way to do this for easy clean purpose.

Any solution recommended? For example, Build Plugin API is possible, and how?