Skip to content

wgrafael/react-native-android-appshortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Discutinied] React Native Android Appshortcuts

Add dynamic Android 7 Shortcuts in your react native project.

Warning: This is a Preview Release and still in development.

Installing

TODO

Example

class MyApp extends Component {

  render() {
    return (
      <View>
        <AppShortcutsAndroid 
          id="google" 
          shortLabel="Search in Google" 
          longLabel="Search anything in Google" 
          uri="http://google.com" 
        />
        
        <AppShortcutsAndroid 
          id="bing"
          shortLabel="Search in Bing"
          longLabel="Search anything in Bing" 
          uri="http://bing.com" 
        />
     
        <Text>Hello World :P</Text>
      </View>
    );
  }
}

Todo

  • Improve code and make it testable
  • Support icon
  • Apply guideliness by android (Shortcut Best Practices)
  • Add support to disable and enable shortcuts
  • Add support to update shortcuts

About

[DISCONTINUED] Add App shortcuts android 7 in react native

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published