Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17597] Asynchronous toImage on a View never gets called on Andorid

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterRicardo Alcocer
AssigneeUnknown
Created2014-09-02T17:13:01.000+0000
Updated2018-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

FileDateSize
Archive.zip2014-09-02T17:13:01.000+00005898460

Comments

  1. jithinpv 2014-09-03

    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

JSON Source