Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Dynamic Entitlements from react-native-config? #352

Closed
evanjmg opened this issue Jun 8, 2019 · 4 comments
Closed

Question: Dynamic Entitlements from react-native-config? #352

evanjmg opened this issue Jun 8, 2019 · 4 comments

Comments

@evanjmg
Copy link

evanjmg commented Jun 8, 2019

Is it possible to configure associated domains via react native config? It uses an entitlements file? Could we preprocess that?

@maxkomarychev
Copy link
Contributor

@evanjmg this tool doesn't offer special support for that.
However, this PR #349 exposes rnconfig values to build settings, where you can select one or the other entitlements file.

@evanjmg
Copy link
Author

evanjmg commented Jun 8, 2019

Thanks, will give that try and it makes sense

@evanjmg evanjmg closed this as completed Jun 8, 2019
@Achilles0509
Copy link

I tried to use environment variable in entitlements file, but it seems do not work.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>aps-environment</key>
	<string>development</string>
	<key>com.apple.developer.associated-domains</key>
	<array>
		<string>applinks:$(APPLINKS)</string>
	</array>
</dict>
</plist>

Has someone experience with that?

@Adnan-Bacic
Copy link

Adnan-Bacic commented Nov 14, 2022

still no update/solution for this?

edit:
wrote in another issue, maybe this is a way to solve it: #387 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants