[TIMOB-17597] Asynchronous toImage on a View never gets called on Andorid
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | Ricardo Alcocer |
| Assignee | Unknown |
| Created | 2014-09-02T17:13:01.000+0000 |
| Updated | 2018-02-28T20:03:41.000+0000 |
Description
See attached project. Assuming View $.v1 and ImageView $.v2 the following code works on iOS:
$.v1.toImage(function(image){
console.log('Callback called');
$.v2.image=image.blob;
})
On Android the callback never gets called.
Attachments
| File | Date | Size |
|---|---|---|
| Archive.zip | 2014-09-02T17:13:01.000+0000 | 5898460 |
Issue reproduces Titanium SDK version 3.4.0 master Titanium Studio, build: 3.3.0.201407100905 Titanium Command-Line Interface CLI version 3.3.0, Android device : Motorola Moto G, Android version : 4.4.4 iOS simulator : iPhone Retina (3.5-inch), iOS 7.0.3