![]() For example, Amplitude.getInstance().setOffline(true).īool. Weather the SDK will upload events to Amplitude servers. For example, Amplitude.getInstance().setUseDynamicConfig(true).īool. Find the best server url automatically based on users' geo location. For example, Amplitude.getInstance().setServerUrl().īool. The API endpoint URL that events are sent to. For example, Amplitude.getInstance().setServerZone(AmplitudeServerZone.US). The input parameter is in seconds.ĪmplitudeServerZone. For example, Amplitude.getInstance().setEventUploadPeriodSeconds(50). The buffer is flushed every eventUploadPeriodSeconds or reach 30 events threshold. Events wait in the buffer and are sent in a batch. For example, Amplitude.getInstance().setMinTimeBetweenSessionsMillis(100000). The amount of time for session timeout if disable foreground tracking. By default the SDK will track several user properties such as carrier, city, country, ip_address, language, platform, etc. The API key for your Amplitude project is required.Įnable COPPA (Children's Online Privacy Protection Act) restrictions on IDFA, IDFV, city, IP address and location tracking.ĭisable COPPA (Children's Online Privacy Protection Act) restrictions on IDFA, IDFV, city, IP address and location tracking. Initialization is necessary you can do instrumentation. > Player > iOS Tab, open the dropdown menu Other Settings, scroll to Configuration, and select either value needed for the Target SDK field. To change the settings for the build, select Unity > Edit > Project Settings. If Xcode doesn't let you use a simulator or device, it's because you must configure the Unity project to use either the Device SDK (real life devices) or the Simulator SDK (emulator). If you use google dependency resolver, update the dependency version for OkHttp in *Dependency.xml file. jar file, you can downgrade OkHttp library by replacing it with a version lower than 3.13. Android instructions ¶Ĭhange the version of OkHttp to be lower than 3.13. Read details here.Īmplitude doesn't restrict which OkHttp version to use. For API 19, 20 (Android KitKat) to work, downgrade the OkHttp version to be lower than 3.13. OkHttp v3.13 requires the minimum version to be Android 5.0, Android Lollipop (API 21). *Dependencies.xml Android: API compatibility ¶Īmplitude SDK depends on the OkHttp library.
0 Comments
Leave a Reply. |