I would like to add some associated-domains in Entitlements.plist in my JavaFXPorts project. It seems that Entitlements.plist is created automatically each time i run the gradle build under ./build/javafxports/tmp/ios/Entitlements.plist.
I would like to include the following
<?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>com.apple.developer.associated-domains</key>
<array>
<string>applinks:example.com</string>
</array>
</dict>
</plist>
Thanks in advance
So, I have found a work around on how to include more Entitlements in JavaFXPorts with robovm. I am giving an example below
Create robovm.xml in src/ios/ directory and define the Entitlements.plist location as below.
robovm.xml (See document)
<config>
<iosEntitlementsPList>assets/Entitlements.plist</iosEntitlementsPList>
</config>
Then define the robovm.xml location in build.gradle.
build.gradle (See document)
jfxmobile {
javafxportsVersion = '8.60.11'
ios {
...
configFile = file('src/ios/robovm.xml')
}
}
Running the build now will include any Entitlements you have defined in src/ios/assets/Entitlements.plist