Saturday, June 8, 2024
HomeiOS Developmentios - Expo completely different construct variants

ios – Expo completely different construct variants


I adopted the expo information on creating two completely different app variants – DEV and non-dev. The unique one which was constructed within the ios folder was the DEV variant as that .env file (.env.improvement) was loaded and it has the com.myapp.dev identifier within the Information.plist:

<array>
    <dict>
      <key>CFBundleURLSchemes</key>
      <array>
        <string>myapp-dev</string>
        <string>com.myapp.dev</string>
      </array>
    </dict>
 </array>

Now when i created my variant in xcode and adopted the steps from the hyperlink above, i eliminated the .dev suffix from the identifier in xcode however nonetheless when i run my preview eas construct which ought to use the non .dev identifier:

eas.json

"preview": {
      "channel": "manufacturing",
      "distribution": "inner",
      "env": {
        "ENVFILE": ".env.manufacturing"
      }
    },

My .env.manufacturing has the BUNDLE_ID=com.myapp and .env.improvement has the BUNDLE_ID=com.myapp.dev.

I nonetheless get Bundle identifier registered: com.myapp.dev in my eas cli output.. what did I miss right here?
Did i possibly misunderstand the idea of getting 2 variants – ought to have have completely different identifiers or not? my understanding is that sure they need to be completely different..



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments