bsky-app/plugins/withAndroidManifestPlugin.js

15 lines
437 B
JavaScript
Raw Normal View History

const {withAndroidManifest} = require('expo/config-plugins')
module.exports = function withAndroidManifestPlugin(appConfig) {
return withAndroidManifest(appConfig, function (decoratedAppConfig) {
try {
decoratedAppConfig.modResults.manifest.application[0].$[
'android:largeHeap'
] = 'true'
} catch (e) {
console.error(`withAndroidManifestPlugin failed`, e)
}
return decoratedAppConfig
})
}