Shortcuts stopped working in Shortcuts app after moving intents definition file into a framework

  Kiến thức lập trình

I have a project with a framework that contains a few sub-projects. All of these projects were using Custom Intents that were identical. Therefore, I decided to move those files into a framework, along with a class that handles the Custom Intents logic.

The problem is, when I moved the intents definition file into the framework, the shortcuts defined in that file stopped appearing in the Shortcuts app.

The autogenerated classes for my intents are visible in the sub-projects though…

I assume that using Custom Intents inside a framework requires some additional setup to function correctly. What might I be missing?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT