Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Enable App Extension Safe use of API's #670

@OskarGroth

Description

@OskarGroth
  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Description

If a target (in our case, a general UI framework we use internally) uses the Require Only App-Extension-Safe API flag, it is unable to include SlackTextViewController because it refuses to build since it uses UIApplication sharedApplication in various places.

Reproducible in:

  • This is reproducible in the sample project.

Steps to reproduce:

  1. Toggle Require Only App-Extension-Safe API to Yes.
  2. Try building

Expected result:

Project succeeds to build

Actual result:

Project fails to build

Attachments:

e.g. Logs, screenshots, screencast, sample project, funny gif, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions