react-native-todorant-widget
v0.1.4
Published
Todorant widget on Android
Downloads
11
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