Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "Change Android's MainActivity launchMode to singleTop" (#4397)

* Revert "Change Android's MainActivity launchMode to singleTop (#4255)"

This reverts commit 65ad16e394d0525d68e6fc8cd9508de4675c88d5.

* Update bundle-deploy-eas-update.yml

---------

Co-authored-by: dan <dan.abramov@gmail.com>

authored by

Hailey
dan
and committed by
GitHub
094c08ea 55976415

-18
-1
app.config.js
··· 204 204 ], 205 205 './plugins/withAndroidManifestPlugin.js', 206 206 './plugins/withAndroidManifestFCMIconPlugin.js', 207 - './plugins/withAndroidManifestLaunchModePlugin.js', 208 207 './plugins/withAndroidStylesWindowBackgroundPlugin.js', 209 208 './plugins/withAndroidStylesAccentColorPlugin.js', 210 209 './plugins/withAndroidSplashScreenStatusBarTranslucentPlugin.js',
-17
plugins/withAndroidManifestLaunchModePlugin.js
··· 1 - const {withAndroidManifest} = require('expo/config-plugins') 2 - 3 - module.exports = function withAndroidManifestLaunchModePlugin(appConfig) { 4 - return withAndroidManifest(appConfig, function (decoratedAppConfig) { 5 - try { 6 - const mainApplication = 7 - decoratedAppConfig.modResults.manifest.application[0] 8 - const mainActivity = mainApplication.activity.find( 9 - elem => elem.$['android:name'] === '.MainActivity', 10 - ) 11 - mainActivity.$['android:launchMode'] = 'singleTop' 12 - } catch (e) { 13 - console.error(`withAndroidManifestLaunchModePlugin failed`, e) 14 - } 15 - return decoratedAppConfig 16 - }) 17 - }