[TIMOB-23580] Module crashes when upgrading from 5.1.x to 5.2.x
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-14T16:41:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.2.2 |
Components | iOS |
Labels | ios, mobile, module |
Reporter | Ryan Gartin |
Assignee | Angel Petkov |
Created | 2016-06-30T16:04:31.000+0000 |
Updated | 2017-03-17T17:54:03.000+0000 |
Description
I have a private iOS module, available on request. The module crashes on SDK > 5.2.x.
iOS only, Android module working fine. Related to Geolocation possibly.
Don't forget to request permissions in tiapp.xml.
1) Running in 5.1.1.GA you should see a blue dot on the device location.
2) Running 5.2.x app will crash immediately on (mapview.addLocationLayer()).
Attachments
If the module is private, please contact the vendor developer, since he should know what's causing the issue in the source. We can only give support on something that we actually wrote :-).
@hans I spoke with Angel about this, provided him the module and showed him what was happening. Since the error only breaks when upgrading from 5.1+ to 5.2+ wouldn't that mean it's a titanium issue? Let me know if you need the source too. I'm the module developer. :)
The problem here is that we do not recommend to extend Core-API's with modules (rather than writing new core-modules), because interfaces will always change and that can always cause issues when acting as a dependency for 3rd-party modules. If he can help that's great anyway.
Tested and working. I really appreciate the help. For the record (Google Searches): Module assets (eg. images) need to be placed in the iphone/*Resources* directory and not iphone/platform/iphone.
Closing ticket as fixed.