Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23580] Module crashes when upgrading from 5.1.x to 5.2.x

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-07-14T16:41:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.2.2
ComponentsiOS
Labelsios, mobile, module
ReporterRyan Gartin
AssigneeAngel Petkov
Created2016-06-30T16:04:31.000+0000
Updated2017-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

FileDateSize
app.js2016-06-30T16:03:05.000+00001614
NQTEST_2016-06-29-155944_iMacs-iMac.crash2016-06-30T16:02:28.000+0000101987

Comments

  1. Hans Knöchel 2016-07-02

    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 :-).
  2. Ryan Gartin 2016-07-03

    @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. :)
  3. Hans Knöchel 2016-07-04

    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.
  4. Ryan Gartin 2016-07-08

    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.
  5. Lee Morris 2017-03-17

    Closing ticket as fixed.

JSON Source