E
E
Evgeny Kravchenko2017-04-03 18:18:04
JavaScript
Evgeny Kravchenko, 2017-04-03 18:18:04

Why doesn't the Blob constructor work in the Android smartphone browser?

Hello kitties. I can't figure out the problem...

<button onclick="test()">Тест</button>

function test(){
  var newTest = new Blob(['hello world!!!!'], {type: 'text/plain'});
  alert(newTest);
  alert(newTest.size);
}


When I check on the computer, it also displays that it is an object and what size it is.

But when I build in PhoneGap Builder, nothing works.

Only jQueryMobile and Cordova are included in the project.

Has anyone encountered this before? What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question