Skip to content

🚧 [Work In Progress] 🚧 This library cannot be used yet!!

License

Notifications You must be signed in to change notification settings

LFGaming/weshnet-expo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Berty

Wesh Network Expo Module

discord github twitter

The Wesh network toolkit lets your application use the Wesh protocol to support privacy-based, off-grid, peer-to-peer communication.

For details, see the Wesh website at https://wesh.network. The website includes blog tutorials which introduce you to Wesh and walk you through some example applications and background of the Wesh protocol.


Requirements

  • Go >= 1.19.7

Instalation

Install the package in your project:

    # Expose ios and android native modules
    # Ignore this step if you already have the 'ios' and 'android' folders in your project.
    $ npx expo prebuild 

    # Install the package
    $ npx expo install @weshnet/expo

    # Install the pods (it will run gomobile bind)
    $ cd ios && pod install

    # Run the app
    $ npx expo run:ios

Usage

Add the following to your App.js:

import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import * as WeshnetExpo from '@weshnet/expo';

export default function App() {
  return (
    <View style={styles.container}>
      <Text>{WeshnetExpo.hello('berty')}</Text>
      <Text>Open up App.js to start working on your app!</Text>
      <StatusBar style="auto" />
    </View>
  );
}

Contributing

Contribute to Berty

If you want to help out, please see docs/developer-guide.md and CONTRIBUTING.md.

This repository falls under the Berty Code of Conduct.

You can contact us on the #dev-💻 channel on discord.

License

Dual-licensed under Apache 2.0 and MIT terms.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

See the COPYRIGHT file for more details.

About

🚧 [Work In Progress] 🚧 This library cannot be used yet!!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.9%
  • TypeScript 11.3%
  • Java 4.7%
  • Makefile 2.7%
  • Ruby 2.4%
  • Kotlin 1.8%
  • Other 5.2%