Android Task Description
$ npm i react-native-task-description
$ react-native link react-native-task-description
- 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 thegetPackages()
method
- 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')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-task-description')
import setTaskDescription from 'react-native-task-description';
setTaskDescription({
color: "red",
label: "AppLabel"
})
Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.
If you think this project is helpful just give me a ⭐️ Star is enough because i don't drink coffee 😃
This project is licensed under the MIT License - see the LICENSE.md file for details
Made with ❤️ by Mohsen Madani.