app.config.js to many variants

Hi devs!

Some body help me!

Well, I was used –confg flag to build many variants about my app, changing slugs, names, and another thigs. Now, I upgraded my expo to 41 and receive advice witch –config flag will be removed. My structure about variation is like this:




In the last format I built my app using: expo build:android --config “variants/app2.json”

The content of each JSON includes the particularity of each APP, such as the folder with ASSETS, Names, Slugs…
So running the command I mentioned he compiled with these particulars. Well, now even reading the documentation I’m not able to figure out what I would do in the new scenario, where we use app.config.js to compile the desired variation. Can anyone give me an idea of ​​how I could do it?



Expo CLI 4.9.1 environment info:
OS: macOS 10.15.7
Shell: 3.2.57 - /bin/bash
Node: 14.0.0 - ~/.nvm/versions/node/v14.0.0/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.4 - ~/.nvm/versions/node/v14.0.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
CocoaPods: 1.10.1 - /usr/local/bin/pod
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 26, 28, 29
Build Tools: 26.0.3, 27.0.3, 28.0.3, 29.0.2
System Images: android-26 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-Q | Intel x86 Atom, android-Q | Google APIs Intel x86 Atom
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
expo: ^41.0.0 => 41.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: => 0.63.2
react-navigation: ^4.4.4 => 4.4.4
expo-cli: 4.9.1
Expo Workflow: managed

I know I can still use the same schema, because I’m still using expo 41, but I’d like to prepare my environment to upgrade to 42 and so I can use the EAS facilities, both publish and submit.


Maybe this thread will give you some ideas.

Basically you should be able to use app.config.js instead of app.json

OK! Thank U Wodin! Hugs!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.