Skip to content

Commit 8c47ab8

Browse files
committed
README updates
1 parent ee9d897 commit 8c47ab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Expo config plugin to add widgets and live activities to a React Native app
44

5-
The widgets still need to be written in Swift (I think there's no way around that). But you can simply add a folder with Swift files to a React Native project (see folder \_widgets in this repository for examples) and then add the plugin via:
5+
The widgets still need to be written in Swift (I think there's no way around that). But you can simply add a folder with Swift files to a React Native project and then add the plugin via:
66

77
```sh
88
npx expo install react-native-widget-extension
@@ -16,7 +16,7 @@ And add the following config to app.json (where widgetsFolder is the path to the
1616
"plugins": [
1717
[
1818
"react-native-widget-extension",
19-
{ "frequentUpdates": true, "widgetsFolder": "_widgets/PizzaDelivery" },
19+
{ "frequentUpdates": true, "widgetsFolder": "SampleWidgetExtension" },
2020
],
2121
]
2222
}
@@ -47,7 +47,7 @@ startActivity(3, "4343", "$32.23", driverName, 47, 43);
4747

4848
## Example
4949

50-
For a minimal example app, see the folder **example**. Example code for widgets can be found in the \*\*\_widgets\_\_ folder.
50+
For a minimal example app, see the folder **example**. Example code for a widget and live activity can be found in **example/SampleWidgetExtension**. To run the example, you'll need to `bun run build` in the root directory.
5151

5252
Some background on how the **PizzaDelivery** example works:
5353

0 commit comments

Comments
 (0)