GithubHelp home page GithubHelp logo

isabella232 / mobile-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theqrl/mobile-wallet

0.0 0.0 0.0 118.72 MB

QRL mobile wallet based on the react-native framework

License: MIT License

JavaScript 51.68% C++ 3.44% Python 0.48% Java 10.82% Objective-C 2.40% Objective-C++ 12.83% Ruby 0.92% CSS 14.85% CMake 0.86% Shell 1.18% Batchfile 0.56%

mobile-wallet's Introduction

QRL Mobile wallet

This mobile application is based on the react-native framework to provide an Android and iOS implementation of the QRL wallet.

General information

The mobile-wallet apps are still under heavy development. Please be aware that frequent changes will occur to this repository.

Requirements

Common to iOS and Android

iOS specific

Android specific

How to generate the iOS libraries

To generate the iOS libraries you need to clone the theQRL/qrllib and build the *.a iOS libraries (for the simulator and real device) using Xcode.

git clone https://github.com/theQRL/qrllib
git submodule update --init --recursive
cd qrllib
mkdir build
cd build
cmake -G Xcode ..

These commands will generate a new Xcode project called qrllib.xcodeproj. Open the Xcode project and build the 4 different libraries (dilithium, kyber, qrllib and shasha) for the iOS simulator and "iOS generic device". You will see all the generated libraries under build/Debug-iphoneos and build/Debug-iphonesimulator directories.

How to generate the Android libraries

To generate the Android libraries you need to load the /android project folder in Android Studio and open the build-gradle file. Open the "Gradle menu" and double click on "android:app [externalNativeBuildDebug]" under the "Run Configurations" category to start building the libraries. The generated *.so libraries are located under android/app/build/intermediates/cmake/debug/obj/.

How to update proto files

In case of any change on the proto file, one needs to regenerate the gRPC pods

rm -rf Pods
rm Podfile.lock
pod install

Load the generated libraries to the mobile-wallet app

  • Open the mobile-wallet Xcode project (ios/theQRL.xcworkspace)
  • Click on the project name (theQRL) and select theQRL under the TARGETS list
  • Add all the generated .a libraries to the Linked Frameworks and Libraries section

RN <-> native code communication

For more information about the communication between React-Native and native code (Objective-C and c++) check the original Communication between native and React Native documentation.

mobile-wallet's People

Contributors

ademcan avatar jplomas avatar

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.