@upacyxou/react-native-todorant-widget
TypeScript icon, indicating that this package has built-in type declarations

0.3.0-beta.1 • Public • Published

React Native Todorant Widget

Todorant widget on Android

npm version

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @upacyxou/react-native-todorant-widget

      Weekly Downloads

      2

      Version

      0.3.0-beta.1

      License

      ISC

      Unpacked Size

      121 kB

      Total Files

      40

      Last publish

      Collaborators

      • upacyxou