Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28491

iOS: Setter not called properly anymore

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 10.0.1
    • Component/s: iOS
    • Labels:
      None

      Description

      It seems like the iOS setters in modules are not called correctly anymore. I remember I brought this up a few months ago, but it actually seems like it made it into the 10.0.0.GA as well, breaking basically all modules that have properties like this (ti.facebook example):

      - (void)setPermissions:(NSArray<NSString *> *_Nullable)permissions
      {
        _permissions = permissions;
      }
      

      The setter is only triggered if called via facebook.setPermissions(['email]), the prior (and better) way, facebook.permissions = ['email'] does not work anymore, so Facebooks logins don't include the permission anymore and therefore fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                hknoechel Hans Knöchel
                Reviewer:
                Christopher Williams
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration