Skip to content

moh3n9595/react-native-task-description

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-task-description · GitHub license PRs Welcome


Android Task Description

Getting started

$ npm i react-native-task-description

Mostly automatic installation (RN < 60)

$ react-native link react-native-task-description

Manual installation (RN < 60)

Android

  1. Open up android/app/src/main/java/com/moh3n95/taskDescription/MainActivity.java
  • Add import com.moh3n95.taskDescription.RNTaskDescriptionPackage; to the imports at the top of the file
  • Add new RNTaskDescriptionPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-task-description'
    project(':react-native-task-description').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-task-description/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-task-description')
    

Usage

import setTaskDescription from 'react-native-task-description';

setTaskDescription({
  color: "red",
  label: "AppLabel"
})

Contributing

Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.

Give me a Star

If you think this project is helpful just give me a ⭐️ Star is enough because i don't drink coffee 😃

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Author

Made with ❤️ by Mohsen Madani.

About

Task Description - (Android-only)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published