I want to set multiple bundleidentifier, how can I do configure app.json?

#1

Hi.

I develop iOS app, that is like a sns.
So that I want to change bundleidentifier on development.

e.g
development -> com.app.development
production -> com.app.production

Is there such a function in app.json?
How can I do it if it doesn’t exist?

Thanks.

#2

Hi - app.json must contain static values. So one thing you could do is make two JSON files, app.development.json and app.production.json, and create a symlink from app.json to whichever JSON file you would like to use. Or, you could have a script that automatically generates app.json for you, and run this script before exp start and exp publish.

#3

OK! thanks!
I will try it!

closed #4

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