mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 22:44:21 +01:00
Added note on Bare runtime + cross platform app example (#62)
* Added Bare ref, expanded examples * Added cross platform mobile app * Improved Bare * mc * mc * mc
This commit is contained in:
@@ -20,6 +20,8 @@ References for utilizing the Pear runtime.
|
|||||||
* [Application-Programming-Interface (API)](./reference/api.md)
|
* [Application-Programming-Interface (API)](./reference/api.md)
|
||||||
* [Application Configuration](./reference/configuration.md)
|
* [Application Configuration](./reference/configuration.md)
|
||||||
|
|
||||||
|
> The Pear runtime uses [Bare](https://github.com/holepunchto/bare) JavaScript runtime, which is a small and modular JavaScript runtime for desktop and mobile.
|
||||||
|
|
||||||
### Guides
|
### Guides
|
||||||
|
|
||||||
Guides on using the pear runtime to build and share P2P applications.
|
Guides on using the pear runtime to build and share P2P applications.
|
||||||
@@ -84,9 +86,9 @@ Applications built using Pear.
|
|||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
Collection of example applications that can be used as reference during development.
|
Collection of example applications that can be used as reference during development.
|
||||||
|
- [Cross-platform Pear App](./examples/cross-platform-pear-app.md): Cross-platform "Hello World" Pear application for Android and iOS.
|
||||||
- [Bare on Mobile](./examples/bare-on-mobile.md)
|
- [Bare on Mobile](./examples/bare-on-mobile.md): Reference applications for using Bare runtime on Android and iOS.
|
||||||
- [React App using Pear](./examples/react-app-using-pear.md)
|
- [React App using Pear](./examples/react-app-using-pear.md): Example application for building Pear applications using React framework.
|
||||||
|
|
||||||
## Stability indexing
|
## Stability indexing
|
||||||
|
|
||||||
|
|||||||
@@ -60,5 +60,6 @@
|
|||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
|
* [Cross-platform Pear App](examples/cross-platform-pear-app.md)
|
||||||
* [Bare on Mobile](examples/bare-on-mobile.md)
|
* [Bare on Mobile](examples/bare-on-mobile.md)
|
||||||
* [React App using Pear](examples/react-app-using-pear.md)
|
* [React App using Pear](examples/react-app-using-pear.md)
|
||||||
9
examples/cross-platform-pear-app.md
Normal file
9
examples/cross-platform-pear-app.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Cross-platform Pear App
|
||||||
|
|
||||||
|
A "Hello World" example of a cross-platform Pear application for Android and iOS using [Bare](https://github.com/holepunchto/bare) and [Expo SDK](https://expo.dev/).
|
||||||
|
|
||||||
|
- [Pear Expo Hello World](https://github.com/holepunchto/pear-expo-hello-world)
|
||||||
|
|
||||||
|
> This above example is still a work in progress, please expect further improvements.
|
||||||
|
|
||||||
|
Note that on mobile, the React Native UI runs on one thread and the Bare local backend runs on another thread and they both communicate via an IPC API.
|
||||||
Reference in New Issue
Block a user