Widgets are android native constructs that extend a view on the application screen.
Is it possible build a homescreen widget using Ionic or react native?
I am not sure but i have found a plugin that can extend the native view to the cordova app. You can install this plugin by
cordova plugin add cordova-plugin-ace
For more info please follow this repo link