@upacyxou/react-native-todorant-widget
v0.3.0-beta.1
Published
Todorant widget on Android
Downloads
9
Maintainers
Readme
React Native Todorant Widget
Todorant widget on Android
Install
npm install react-native-todorant-widget --save
Setup
- In
android/settings.gradle
//...
include ':react-native-todorant-widget'
- In
android/app/build.gradle
dependencies {
//...
implementation project(":react-native-todorant-widget")
//...
}
Usage
Import
import TodorantWidget from 'react-native-todorant-widget';
Enable/disable widgets for user at all
TodorantWidget.toggle(true);
Force update all widgets on user's home screen
TodorantWidget.forceUpdateAll();
Credits
Author Vlad Kalyuzhnyu