This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const { withAndroidManifest, withDangerousMod } = require('@expo/config-plugins'); | |
// Function to modify the iOS Podfile properly inside the target block | |
function modifyPodfile(config) { | |
return withDangerousMod(config, [ | |
'ios', | |
async (config) => { | |
const podfilePath = path.join(config.modRequest.platformProjectRoot, 'Podfile'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/@thienmd/react-native-image-editor/android/build.gradle b/node_modules/@thienmd/react-native-image-editor/android/build.gradle | |
index 603a049..32ee677 100644 | |
--- a/node_modules/@thienmd/react-native-image-editor/android/build.gradle | |
+++ b/node_modules/@thienmd/react-native-image-editor/android/build.gradle | |
@@ -44,12 +44,18 @@ repositories { | |
dependencies { | |
implementation 'com.facebook.react:react-native:+' | |
- implementation 'com.github.prscX:photo-editor-android:master' | |
- implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { withGradleProperties, withAppBuildGradle } = require('@expo/config-plugins'); | |
const withAbiFilters = (config, { abiFilters = ['arm64-v8a'] } = {}) => { | |
console.log('🔧 ABI Filter plugin is running!', abiFilters); | |
// Set gradle.properties | |
config = withGradleProperties(config, (config) => { | |
// Convert array to comma-separated string for gradle.properties | |
const architecturesString = abiFilters.join(','); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ANSI color codes | |
GREEN='\033[0;32m' | |
RED='\033[0;31m' | |
NC='\033[0m' # No color | |
# Emoji icons | |
STARTING_ICON="🎇" | |
SUCCESS_ICON="✅" |