Skip to content

moorinl/react-native-siri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React Native Siri

React Native SiriKit helpers.

Status

Under heavy development, a proof of concept will be available on very short notice.

Todos

  • Install instructions
  • Bridge requestSiriAuthorization
  • Bridge handlers
  • Bridge registering user-specific vocabulary terms
  • Intent default storyboards (check wether React Native can kick in at this point)

Install instructions

Include the NSSiriUsageDescription key in your iOS app’s Info.plist file. The value for this key is a string that describes what information your app shares with SiriKit.

<key>NSSiriUsageDescription</key>
<string>This app sents information to Siri</string>

Call the requestAuthorization method of RNSiri at some point during your app’s execution.

import { RNSiri } from 'NativeModules';

RNSiri.requestAuthorization((status) => {
  // Do something with the status
});

About

React Native SiriKit helpers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published