From ed434b7d186f746888a7884c96423a949d844439 Mon Sep 17 00:00:00 2001 From: Ash Date: Wed, 25 Dec 2024 10:18:46 +0900 Subject: [PATCH] fix: expo 52 config plugin --- plugin/src/withIAP.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/plugin/src/withIAP.ts b/plugin/src/withIAP.ts index 0a2cc4bf2..35bab1684 100644 --- a/plugin/src/withIAP.ts +++ b/plugin/src/withIAP.ts @@ -74,14 +74,6 @@ export const modifyAppBuildGradle = ( ); }; -export const modifyProjectBuildGradle = (buildGradle: string) => { - const supportLibVersion = `supportLibVersion = "28.0.0"`; - if (buildGradle.includes(supportLibVersion)) { - return buildGradle; - } - return addToBuildGradle(supportLibVersion, 'ext', 1, buildGradle); -}; - const withIAPAndroid: ConfigPlugin<{paymentProvider: PaymentProvider}> = ( config, {paymentProvider}, @@ -95,13 +87,6 @@ const withIAPAndroid: ConfigPlugin<{paymentProvider: PaymentProvider}> = ( return config; }); - // eslint-disable-next-line @typescript-eslint/no-shadow - config = withProjectBuildGradle(config, (config) => { - config.modResults.contents = modifyProjectBuildGradle( - config.modResults.contents, - ); - return config; - }); return config; };