Project: appceleratorstudio
Issue TISTUD-1366: Only check apiversion tag in manifest for Android modules
iPhone modules are displayed as not supported when the Titanium SDK version is set to version 1.8.0.1 or newer. This appears to be due to the fact that the manifest file for iPhone modules currently do not include the 'apiversion: 2' entry. The 'apiversion' entry was added for Android modules in Titanium SDK version 1.8.0.1 to indicate that the internal module API had changed. This change only impacted Android modules and it should be checked for Android modules because older versions of Android modules will not work with Titanium SDK version 1.8.0.1 or newer (and vice-versa). This is not the case for iPhone modules (currently). The check for the 'apiversion' tag should ONLY be done for Android modules. It should be ignored for iPhone modules. To test: # Create a new Titanium Mobile project # Open up tiapp.xml and add a module to the project using the modules panel (I used ti.greystripe). Note the module appears active # Edit the module manifest file to raise the apiversion to something like "3" in the iOS and Android (current maximum version is 2 for 1.8/2.0) # Save tapp.xml and restart Studio. Note that the module now appears greyed out, but should be available for iOS
Story points: 5