1.4 sdk is so unstable?
I update the sdk from 1.32 to 1.4, and recompile my application that run good in 1.32, I got some problems:
- xhr request sometimes good, sametimes fail return result.
- crash very often, no error report.
anybody have the same problem?
7 Answers
-
Hi,
Was wondering why my xhr request was always failing. After reading your post tried compiling with 1.3.2 and it worked like a charm. So I can only agree with you. For me xhr requests are bugged with both iOS SDK 3.2 and 4.0.
Haven't tried with android. -
My XHR requests work properly (on the client end). Make sure you have implemented them correctly and are checking the status of the response.
Look at the KitchenSink.
-
Everything fine here, actually its better than ever.
-
I had some problems initially but now they are ok. Just need the right combinations of SDKs, OS, etc.
For me, they are:
OSX 1.6.4
latest xcode
SDK 3.2 and 4.0
Ti Dev 1.2.1
Ti Mobile SDK 1.4.0So far, so good.
PS: there is a logger.py issue; read up on the dev blog
-
Fine here too.
OSX 10.6.4 latest xcode SDK 3.2 and 4.0 Ti Dev 1.2.1 Ti Mobile SDK 1.4.0No issues at all and we have 4 completed apps using Ti. All updated and compiled under Ti 1.4.
I agree that it's better than any previous version to date.
-
I also prefer to stick to 1.3.2.
My app sometimes crashes. -
I am having similar situation as the poster.
I created a new project using Ti SDK 1.4.0, and iPhone SDK 1.4.0, then it creates the boiler plate project.var win1 = Titanium.UI.createWindow({ url: 'win1.js', backgroundColor:'#fff' }); var tab1 = Titanium.UI.createTab({ icon:'KS_nav_views.png', title:'Tab1', window:win1 });
I then copied and pasted part of xhr_utf8.js (line 78 ~ line 89) to one of the tab of the boiler plate project.
var xhr = Titanium.Network.createHTTPClient(); xhr.onload = function() { Ti.API.info('in utf-8 onload for GET'); l2.value = this.responseText; }; xhr.onerror = function() { Ti.API.info('in utf-8 error for GET'); }; xhr.open("GET","http://api.appcelerator.net/p/v1/echo"); xhr.send({"a":"€??"});
But XHR does not run, even the Ti.API.info did not print out any information to the Ti Developer window.
If I use iPhone SDK 1.3.2, then all goes well.