Skip to content

Support for the native iOS SiriKit API in Appcelerator Titanium

License

Notifications You must be signed in to change notification settings

hansemannn/titanium-sirikit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 iOS SiriKit in Appcelerator Titanium

Ti.SiriKit is an open-source project to support the SiriKit API (aka Intents.framework) in Appcelerator's Titanium. Intents (the concept behihind Siri) are triggered by it's Siri extension. See this tutorial for more infos on how to implement Siri extensions.

Right now, the module is mainly meant to handle the autorization status and permissions. Please feel free to expose the specific Intents handlers (booking, calls, messages, fitness, ...) as well!

Requirements

  • Titanium SDK 8.0.0+
  • iOS 10.0+
  • Xcode 10.0+

Download + Setup

Download

Setup

Unpack the module and place it inside the modules/iphone/ folder of your project. Edit the modules section of your tiapp.xml file to include this module:

<modules>
    <module platform="iphone">ti.sirikit</module>
</modules>

Supported API's

Methods

  • requestSiriPermissions
  • hasSiriPermissions
  • donateInteraction

Properties

  • siriLanguageCode
  • siriAuthorizationStatus

Author

Hans Knoechel (@hansemannnn / Web)

License

Apache 2.0

Contributing

Code contributions are greatly appreciated, please submit a new pull request!