I'm trying to remote disable the application on my android platform. I provided the EN message with the URL and uploaded the csv file for FR.
CSV content:
fr,Une nouvelle version de l’application mobile de SRC de company est maintenant à votre disposition. La taille du fichier est de 8 Mo. Veuillez effectuer la mise à jour dès maintenant pour pouvoir continuer à utiliser l’application
However, when I launch my device which is in FR, I'm still getting the EN message.
I'm not sure what is the issue as I know this is a WL console functionality to detect the device language.
Remote disable code:
function getLanguage() {
return (WL.App.getDeviceLanguage() || 'en');
}
var downloadNewVersionBtn="Download New Version";
var updateMessageTitle = "Update Is Available";
if (getLanguage() == "fr") {
downloadNewVersionBtn = "Télécharger la nouvelle version";
updateMessageTitle = "Nouvelle version prête à télécharger";
}
onErrorRemoteDisableDenial : function (message, downloadLink) {
WL.SimpleDialog.show(
updateMessageTitle,
message,
[
{text: downloadNewVersionBtn , handler: function() {WL.App.openURL(downloadLink, "_blank");}}]
);
},
Am I missing something?
The exact same code works for iPhone.
WL Server version: 6.2.0.01.20141013-1735