The propertiesLoadedCallback behaves like this.
1) If there is no internet connection detected, it will return immediately.
2) If there is an internet connection but the connection to the server is refused for any reason, it will return immediately.
3) If there is an internet connection and the server returns a config, it will return when the config is loaded in tandem with getRunningExperimentsAndVariations.
4) If there is an internet connection and the server is appropriately contacted, but there is a delay in the response, it will hold until either a response or a maximum 60-second timeout
The propertiesLoadedCallback is tied to delayLoad and that timeout, so it will callback when that completes
What delayedLoad does is hold the app’s launch image until the experiment config is returned, up until a maximum timeout. From our header:
@{@"delayLoad":@2} allows Taplytics to show your app's launch image and load its configuration for a maximum number of seconds on app launch, the default for first launch is 2 seconds. This is useful when running a code experiments on the first screen of your app, this will ensure that your users will get shown a variation on the first launch of your app. Set to @0 for no delay.
Comments
0 comments
Please sign in to leave a comment.