matomo-org / matomo-mobile-2

Matomo Mobile 2 App - The official Git repository! Liberating Web Analytics on the go!
https://matomo.org/mobile
Other
103 stars 31 forks source link

Be compatible to Titanium Mobile SDK 1.5.1 #1905

Closed tsteur closed 13 years ago

tsteur commented 13 years ago

A few days ago appcelerator released the 1.5.1 version of Titanium Mobile SDK. Piwik Mobile is currently not compatible with 1.5.*.

Following changes are required:

tsteur commented 13 years ago

(In [3475]) refs #1905 since Titanium 1.5 the custom Android Manifest is deprecated, we have to define changes to default Android Manifest in tiapp.xml now

tsteur commented 13 years ago

iOS + Titanium 1.5 does work

I found further issues for Android + Titanium 1.5

var arr = [];
Log.warn(arr instanceof Array);
// [WARN] [20,12478] "true"
var view = Titanium.UI.createView();
view.arr = arr;
Log.warn(view.arr instanceof Array);
// [WARN] [16,12517] "false"
tsteur commented 13 years ago

App crashes on Android when trying to display a graph in statistics view with the following stack trace:

http://pastie.org/1396311

tsteur commented 13 years ago

Bug Ticket for instanceof issue: https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1794

Bug Ticket for crash when displaying graph: https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/2653

tsteur commented 13 years ago

Most issues are fixed but they will be only included from Titanium Mobile SDK 1.6. So we have to be compatible to 1.6. It will not be compatible to previous Titanium Mobile SDK versions afterwards

tsteur commented 13 years ago

(In [3834]) fixes #1905 we are now compatible to at least Titanium SDK version: 1.6.0 (01/29/11 17:49 f9036efc1f4a524603bf)