Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 1.61 KB

File metadata and controls

45 lines (29 loc) · 1.61 KB

react-native example with native widgets

This is the default react-native application though also adds examples of native widgets. This example's concern is native widgets and not the (react-native) app itself... Just some examples of how you can have a widget within your react-native application.

npm install

Android widgets

In Android widgets can not be created using react-native. You will need to create them yourself (java) https://developer.android.com/design/patterns/widgets.html

iOS widgets (sic)

In iOS widgets are extensions to the notification and can not be created using react-native. You will need to create them yourself (Obj-C ose).

Development

...todo

Android

...todo

Emulator

...todo

Note: Have you changed the java code then react-native run-android on the project and re-add the widget

Device

...todo

Notes / Design

Auth

Your react-native application may need to store auth for the native widget to access remote data.