I'm using Ionic 3
uintToString(uintArray) {
var encodedString = String.fromCharCode.apply(null, uintArray),
decodedString = decodeURIComponent(escape(encodedString));
return decodedString;
it works very well on ionic serve command! but the problem is that when I command ionic cordova run android --device
it comes error saying cannot find name 'escape'.
how can I change uint array to utf -8 string... on ionic3?