Hi
during the inversiigation of the 'ciq-companion-app-sdk' v.2.0.3 classes I have found the strange code which could pretend to be a bug. Please see below:
public class IQApp implements Parcelable {
...
public IQApp(String applicationID, String displayName, int version) {
this(applicationID.toUpperCase().replaceAll("[\\s\\-]", ""), IQApp.IQAppStatus.UNKNOWN, displayName, version);
}
...
public IQApp(String applicationID, int version) {
this(applicationID.toUpperCase().replaceAll("[\\s\\-]", ""), IQApp.IQAppStatus.INSTALLED, "", version);
}
Could you please clarify why applicatiion with id and version is INSTALLED by default but the aplication with id, version, and displayable name has UNKNOWN staus by default.
To my mind both constructors have to set the same status (doesnt matter which one)