Home > OS >  How to display actions when long Press on React Native App Icon?
How to display actions when long Press on React Native App Icon?

Time:10-18

I am using React Native, in short what I want is to display actions when user long presses on app icon just like this below;

enter image description here

As you can see Scan Qr, Bundles, Discounts are showing after long press on app's icon? How we can achieve this in react native?

CodePudding user response:

It is an Android feature named App Shortcuts. iOS not supported.

Try react-native-app-shortcuts package to achieve this.

  • Related