Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork

Remove unreliable repository (#7176)

authored by danabra.mov and committed by GitHub c390c327 c2ca84c6

+1
app.config.js
··· 232 232 './plugins/withAndroidManifestFCMIconPlugin.js', 233 233 './plugins/withAndroidStylesAccentColorPlugin.js', 234 234 './plugins/withAndroidSplashScreenStatusBarTranslucentPlugin.js', 235 + './plugins/withAndroidNoJitpackPlugin.js', 235 236 './plugins/shareExtension/withShareExtensions.js', 236 237 './plugins/notificationsExtension/withNotificationsExtension.js', 237 238 './plugins/withAppDelegateReferrer.js',
+20
plugins/withAndroidNoJitpackPlugin.js
··· 1 + const {withProjectBuildGradle} = require('@expo/config-plugins') 2 + 3 + const jitpackRepository = "maven { url 'https://www.jitpack.io' }" 4 + 5 + module.exports = function withAndroidNoJitpackPlugin(config) { 6 + return withProjectBuildGradle(config, config => { 7 + if (!config.modResults.contents.includes(jitpackRepository)) { 8 + throw Error( 9 + 'Expected to find the jitpack string in the config. ' + 10 + 'You MUST verify whether it was actually removed upstream, ' + 11 + 'or if the format has changed and this plugin no longer recognizes it.', 12 + ) 13 + } 14 + config.modResults.contents = config.modResults.contents.replaceAll( 15 + jitpackRepository, 16 + '', 17 + ) 18 + return config 19 + }) 20 + }