Skip to content

Instantly share code, notes, and snippets.

@Hackforid
Created November 23, 2017 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hackforid/c8237513d8256fa91ab9fc1e4dec43a0 to your computer and use it in GitHub Desktop.
Save Hackforid/c8237513d8256fa91ab9fc1e4dec43a0 to your computer and use it in GitHub Desktop.
ua
builder.header("X-AppEngine-Country", DeviceUtils.getCountryISO())
.header("Accept", "application/json")
.header("Content-Type", "application/json")
.header("User-Agent", SMAuthUtilsProxy.getUserAgent() + ConnectionManager.getConnectType())
.header("app-language", DeviceUtils.getLanguageCodeWithCountry())
.header("locale", DeviceUtils.getLanguageCodeWithCountry())
.header("country", DeviceUtils.getCountryISO())
.header("cpu-abi", SystemUtils.getMostPreferredABI())
.header("unique-key", getUniqueKey());
|User-Agent | <app_client_code>/<app_version>/<client_name>/<os_version>/<channel>/<device_id>/<net_type> | app_client_code必须是StartMaker或者Voice app_version是app的版本号 client_name android上是Android os_version 是操作系统版本 channel 是app的发行渠道 device_id 是设备唯一ID net_type是2G/3G/4G/wifi |
StarMaker/5.0.4/Android/6.0.1/google play/426ebffb-6309-40e2-ad61-d8b747c2a1a1/WIFI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment