React Native custom widget
This library allows you to call essential methods from the iOS "WidgetKit Framework", which are needed when developing a widget. For example updating the widget timelines.
๐จ To be on the safe side: This library exposes API functionality of WidgetKit. The widgets themselves must be developed natively in SwiftUI.
npm install react-native-custom-widget
import { setItem } from 'react-native-custom-widget';
// ...
const result = await setItem('Text', 'com.example.widget');
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library