Closed jan-koz closed 1 year ago
Hi,
inProduction
exists for both iOS and Android. Setting this property on AirshipConfig.plist
file for iOS will let the SDK determine which key should use.
@khmMouna Thanks for your answer, Is development key and secret used when the isProduction flag is not set at all?
@jan-koz If you do not set inProduction we will auto detect it based on the APNS environment for the app by inspecting the embedded.mobileprovision
file. Apple will set the value based on the current provisioning profile that you use to build your app. So, if you build your app for a dev build, it will be the dev sandbox and we will use the dev API credentials.
https://developer.apple.com/documentation/bundleresources/entitlements/aps-environment
Hi, In the documentation it is stated that for Android airshipconfig.properties file I can set the isProduction flag and this is how production key and secret will be used. What is the rule for iOS AirshipConfig.plist file. How is it determined which key and secret is used?