jordanbyron / react-native-quick-actions

A react-native interface for Touch 3D home screen quick actions
MIT License
1.06k stars 93 forks source link

QuickActions has a Incorrect display #89

Closed premillos closed 4 years ago

premillos commented 5 years ago

image

image

image

When I removed the dependency package, it worked fine, and the quick menu did not display correctly, The quickActionShortcut event will not be triggered

image

image

    "react-native-quick-actions": "^0.3.12",
    "react": "16.8.6",
    "react-native": "0.60.4",

is this a bug ?

jordanbyron commented 4 years ago

@pssgo review the README again. It appears you added the package in the wrong place. new AppShortcutsPackage() should be added to

// MainApplication.java

public List<ReactPackage> createAdditionalReactPackages() {
  return Arrays.<ReactPackage>asList(
    new AppShortcutsPackage()
  );
}