You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2023. It is now read-only.
After installing react-native-quick-actions, linking it and adding the example from the README:
QuickActions.setShortcutItems([
{
type: 'Orders', // Required
title: 'See your orders', // Optional, if empty, `type` will be used instead
subtitle: 'See orders',
icon: 'Contact', // Icons instructions below
userInfo: {
props: 'foo bar' // Provide any custom data like deep linking URL
}
}
]);
DeviceEventEmitter.addListener('quickActionsShortcut', data => {
console.log(`QUICK ACTION: ${ data }`);
});
QuickActions.popInitialAction().then(data => {
console.log(`QUICK ACTION: ${ data }`);
});