Apptimize

Welcome Sign In

Help Center

I want to make a change to something a user sees as soon as they open the app. What do I need to know?

Last Updated: May 19, 2016 05:37PM PDT

If you want to make a change to the first view of your app for first-time experiment participants, it's possible Apptimize is not able to download the necessary resources in time which can result in a low participation rate. If users do not receive the experiment information in time, Apptimize will not enter them into an experiment. To ensure that users are selected to participate, simply add a small delay to the app's start-up process using the following APIs.

This delay sets a maximum time for your app to wait for Apptimize data to be loaded onto the device. For example if it is set to 200 milliseconds, your app will wait at most 200 milliseconds for Apptimize data. If your user is on a reliable connection, that user might get Apptimize data within 10 milliseconds which means your app only blocks for those 10 milliseconds. If Apptimize data doesn't arrive within those 200 milliseconds, your app will block for 200 milliseconds and then continue.

For iOS:

For Visual experiments, you can add ApptimizeDelayUntilTestsAreAvailable with a number value in milliseconds to yourInfo.plist file. You can also use the waitForTestToBecomeAvailable API call on the loading screen or App Delegate.

For Programmatic experiments (code block or dynamic variable), use the ApptimizeUpdateMetadataTimeoutOption function to set a delay where necessary.

We recommend a 20 millisecond delay for experiments without heavy resources (e.g. images). If your experiment does include images to be shown as soon as the app opens, we recommend also factoring in how long it might take to download those resources.

For Android:

For Visual experiments, we currently don't offer a non-coding solution for adding in a delay.

For Programmatic experiments, use the setUpdateMetadataTimeout function to set a delay where necessary.

We recommend a 500 millisecond delay for experiments without heavy resources (e.g. images). If your experiment does include images to be shown as soon as the app opens, we recommend also factoring in how long it might take to download those resources.

More details are available in our API Reference docs.

86a669c6ef2d424fee3776c48a976ec8@apptimize.desk-mail.com
http://assets2.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete