Add support of android and ios in version check

This commit is contained in:
Benjamin Verdier 2018-06-13 14:22:03 +02:00
parent e9e2758816
commit dcdc9679db

View file

@ -7329,6 +7329,8 @@ void linphone_core_check_for_update(LinphoneCore *lc, const char *current_versio
if (strcmp(tag, "win32") == 0) platform = "windows";
else if (strcmp(tag, "apple") == 0) platform = "macosx";
else if (strcmp(tag, "linux") == 0) platform = "linux";
else if (strcmp(tag, "ios") == 0) platform = "ios";
else if (strcmp(tag, "android") == 0) platform = "android";
else if (strcmp(tag, "desktop") == 0) is_desktop = TRUE;
}
if ((is_desktop == FALSE) || (platform == NULL)) {