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

iOS: Be able to receive native delegates from app to native modules / Hyperloop

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.3.0
    • Component/s: Hyperloop, iOS
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      2018 Sprint 06 SDK

      Description

      We are currently lacking support for a "non-hacky" solution to ping native modules / hyerloop modules about global app delegates. Example use-cases:

      • Push notification delegates
      • Background service delegates
      • URL opening delegates
      • Lifecycle delegates

      We could either achieve this by sending notifications using the NSNotificationCenter or by writing a delegate that is called by our core and implemented by other modules that want to use it. Both solutions require a core-SDK change, rather than CLI/Hyperloop changes. I would prefer the latter solution, since it's more transparent clear to the developer and easier to extend.

      Before implementing anything of this, we should scope the impact on the current SDK and the required delegates to be exposed.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Vijay Singh
            • Watchers:
              11 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 Source Code