Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 515 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 515 Bytes

Cordova Siri / Ok Google Adapter

This plugin takes iOS SIRI intent of {send a message using appName} and Ok Google {take a note} with the help of getIntent method.

Usage Example:

 var iOSAndroidIntent = window['cordova'].plugins.iOSAndroidIntent;
 if (typeof iOSAndroidIntent != 'undefined') {
     iOSAndroidIntent.getIntent().then((value) => {
         // handle voice input
     })
     .catch(error => {
         // handle error
     });
 }

Supported Operating Systems:

IOS

Android