R
R
rd962016-09-04 13:18:19
JavaScript
rd96, 2016-09-04 13:18:19

Windows phone can't read base 64 string pictures?

In general, the essence is this, there is an application on phonegap, which should store about 100 records locally,
and 40 of them contain small pictures. This is done because the content is periodically updated and it is more convenient to work with data than to keep pictures in a folder. in the folder, not the path to them. In general, I have already tried to do it through the sqlite plugin, indexeddb, filestorage (the data is stored in json).
All this works on Android, Ios, but unfortunately it does not work on WP. At the same time, without images, if I try to read into the application only the description, title and other data associated with the record from the database, without images in base64 - everything works fine. The problem is that the phone simply cannot read the pictures, maybe they are too large-xs. Each picture is about 200 kb, not so much.
In general, it is very similar to the fact that Windows phone simply cannot decode such a large string back into a picture to display in the application.
Has anyone experienced something similar?
It's just strange - it works on Android, it works on IOS, it works in the simulator, but not on WP.
Some heresy.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Zolotov, 2016-09-04
@SZolotov

I have not worked with WinPhone for a long time (and then only on native C # sdk), but I can firmly say that there are no restrictions on the size of the string. WinPhone must have a native JS SDK. See how they work.
And in general, if only errors resulted and all that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question