chore(android): remove aps-analytics.jar and titanium-verify.jar
Removed the aps-analytics.jar library and created the files locally.
At a future point it should be removed. At the moment this should be the safest way to still have it without using the library.
Looks like titanium-verify.jar is also not needed anymore.
We can remove the APS stuff as it's not required anymore with no Appcelerator Dashboard access around for its analytics. Also, we recently saw an ANR related to APSAnalytics initialisation.
Was marked as deprecated over 3 years ago in Ti 11.2.0 (https://github.com/tidev/titanium-sdk/commit/3e549242e8421601dc5f98bf68cb16e723bf7d27). Now we are two major versions further on.
Removing it with release of Ti 13.0.0 could have been the right moment. Should we now wait until next major release?
The files are not use anymore. Just some methods e.g. in Ti.Platform:
public String getOstype()
{
return APSAnalyticsMeta.getOsType();
}
call methods out of the classes. That's why I've kept the needed parts but just removed the jar files so we can reduce the code to needed methods.
Just some methods e.g. in
Ti.Platform:public String getOstype() { return APSAnalyticsMeta.getOsType(); }call methods out of the classes.
Exactly! I was going to ask you about APSAnalyticsMeta and how to deal with it.
we could also move those methods into another file but since it's not making any external connection I just kept the APS name and classes
I just kept the APS name and classes
Ok.
The class attribute analyticsUrl can also be removed.
thanks :+1: also removed