0.1.4 • Published 5 years ago
react-native-todorant-widget v0.1.4
React Native Todorant Widget
Todorant widget on Android
Install
npm install react-native-todorant-widget --saveSetup
- 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