https://github.com/functionland/fula-linking
Fula Linking Library to link multiple devices
https://github.com/functionland/fula-linking
Last synced: about 1 month ago
JSON representation
Fula Linking Library to link multiple devices
- Host: GitHub
- URL: https://github.com/functionland/fula-linking
- Owner: functionland
- License: mit
- Created: 2022-11-09T02:34:33.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-30T03:01:20.000Z (about 3 years ago)
- Last Synced: 2025-03-13T09:17:37.525Z (11 months ago)
- Language: Java
- Size: 11.1 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# rn-fula-linking
React Native library to link two devices to work with Fula
## Installation
```sh
npm install rn-fula-linking
```
## Usage
```js
import { encodeIdentity, decodeIdentity } from 'rn-fula-linking';
// ...
const result = await encodeIdentity({ did: 'testdid', peerId: 'testpeerid' });
```
## Running Example Application
On you phone install Expo Go Client
clone the repository and run the below commands
```sh
cd fula-linking
```
```sh
yarn
```
```js
cd example
yarn start
```
Scan the generated QR code with Expo Go mobile appliaction on your phone (Your phone and computer should be on the same network)
## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)