Git Product home page Git Product logo

mobile's Introduction

Peergos mobile apps

Basic Requirements

A list of the basic requirements can be found online in the Gluon documentation. Install the Gluon GraalVM build: https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final

Quick instructions

Run the sample on JVM/HotSpot:

mvn gluonfx:run

Run the sample as a native image:

apt install libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libfreetype6-dev libgl-dev libglib2.0-dev libgtk-3-dev libpango1.0-dev libxtst-dev

mvn gluonfx:build gluonfx:nativerun

Run the sample as a native android image (linux only, remove last two args to just build):

export GRAALVM_HOME=$PWD/graalvm-svm-java17-linux-gluon-22.1.0.1-Final
java BuildAndroid.java

Run the sample as a native iOS image (macOS only, remove last two args to just build):

export GRAALVM_HOME=$PWD/graalvm-svm-java17-linux-gluon-22.1.0.1-Final/Contents/Home
mvn -Pios gluonfx:build gluonfx:package gluonfx:install gluonfx:nativerun

Selected features

This is a list of all the features that were selected when creating the sample:

JavaFX 18.0.2 Modules

  • javafx-base
  • javafx-web
  • javafx-graphics
  • javafx-controls

Gluon Features

  • Glisten: build platform independent user interfaces
  • Attach display
  • Attach lifecycle
  • Attach statusbar
  • Attach storage

mobile's People

Contributors

ianopolous avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mobile's Issues

Cross platform framework

The cross platform framework needs to support to following features:

  • Native code interop
  • Good hardware interop support
  • Build system to ensures long term reproducibility

Possible frameworks are:

  • Flutter
  • React Native
  • Ionic

Native bindings for ipfs-nucleus

ipfs-nucleus will need to be transpile or integrated using go-mobile.

Native bindings will need to be created for:

  • Android
  • iOS

Offline capabilities

For the mobile implementation to make sense offline capabilities will need to be considered.

Ideally this should be real p2p. - Adhoc Wifi, bluetooth and/or mdns.

This could be achieved using a local peergos instance running on the device.
For this to be "safe" libp2p will need to ensure better privacy.

Interop to Java code

To reduce the code that needs to be duplicated, the mobile implementation will need to have a mechanism for interacting with java code.

App sandbox

A sandbox for thrid party content must be implemented.

A webview would likely be the best solution.

The current api needs to be extended to provide the ability to interact with native functionality, like camera, notification, gps, media player and anything that might be useful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.