Reputation: 1
I've been seen on Android we have something like this: React Native App Shortcuts
So, I was wondering if I could do something like that in react native cli, no expo.
Upvotes: 0
Views: 2433
Reputation: 573
If your app targets Android 7.1 (API level 25) or higher, you can define shortcuts to specific actions in your app. These shortcuts can be displayed in a supported launcher. Shortcuts let your users quickly start common or recommended tasks within your app.
npm install react-native-app-shortcuts --save
Here is link
Upvotes: 0
Reputation: 1
Hey you can install Android shortcut in React Native. Try $ npm install react-native-app-shortcuts --save $ react-native link react-native-app-shortcuts
and then import the package: import RNAppShortcuts from 'react-native-app-shortcuts';
Upvotes: 0