androidreact-nativeandroid-appshortcut

How to add App Shortcuts into React Native project


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.


Solution

  • 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