Initial commit

This commit is contained in:
Rainer Killinger
2021-12-08 17:26:11 +01:00
commit 3afeb0e936
24 changed files with 668 additions and 0 deletions

9
static/scripts/ios.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env sh
DEFAULT_APP_LINK_URL="your.deep.link.host.tld"
APP_LINK_URL="${APP_LINK_URL:-$DEFAULT_APP_LINK_URL}"
ENTITLEMENTS_FILE="app/ios/App/App/App.entitlements"
/usr/libexec/PlistBuddy -c "Delete :com.apple.developer.associated-domains string $APP_LINK_URL" $ENTITLEMENTS_FILE
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.associated-domains array" $ENTITLEMENTS_FILE
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.associated-domains:0 string $APP_LINK_URL" $ENTITLEMENTS_FILE