Bare on Mobile
Last updated
Last updated
Bare can be embedded into mobile applications to serve as the "Pear-end" where the peer-to-peer code of the application is run.
To get started with mobile development via , check out the . It uses the template to build a mobile app for syncing passwords with the . This example integrates Bare as an isolated thread, called a , via . All code passed when starting the worklet will run in the Bare runtime and can be communicated with via an inter-process communication (IPC) stream.
For deeper integration with a mobile application, the following examples can be used as references:
The Bare JavaScript runtime runs equally well on both mobile and desktop applications.
For further reference on using Bare, please refer to .