[AC-5400] Bug with showDatePickerDialog
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2017-12-06T20:42:15.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | gianluca |
Assignee | Shak Hossain |
Created | 2017-11-22T12:58:25.000+0000 |
Updated | 2017-12-06T20:42:15.000+0000 |
Description
Publish app on google store doesen't allow showDatePickerDialog on android with this error
Uncaught TypeError: Cannot read property 'showDatePickerDialog' of undefined.
Bug appears only after publish, it works correctly if install app from titanium.
i changed var picker = Ti.UI.createPicker(); to var pickerdata = Ti.UI.createPicker({
type: Ti.UI.PICKER_TYPE_DATE,
value:new Date()
}); and now it works on google.
Hello, There seems to be a lot of information missing in your report. First, we need a full sample code. Also, the SDK you are using to build? Need the target Android API version when publishing. Also, if you are using old SDK I would suggest you upgrade to latest SDK 6.3.0.GA and try again. Try also upgrade your studio to 4.10.x version. Thanks.
Hello [~kreigher], I just wanted to follow up here. Did you manage to follow the instructions provided earlier? Let us know if you still experience any issue. We would be happy to assist you. Best Regards!
Hello [~kreigher], Are you still having the issue? Can you try SDK 6.3.0.GA?
I was using last sdk (6.3.0) and last version of titanium. I tried with api23/api24. Here a full sample code: https://pastebin.com/r3vBJPVF i changed var picker = Ti.UI.createPicker(); to var pickerdata = Ti.UI.createPicker( { type: Ti.UI.PICKER_TYPE_DATE, value:new Date() } ); and now it works on google.
Hello, Please send a full reproducible code or a sample app that we can test to verify the issue. we need the full sample code not a portion of it. Thanks.
[~kreigher],I just wanted to follow up here. Did you manage to follow the instructions provided earlier? Let us know if you still experience any issue. We would be happy to assist you. Best Regards!