- Notifications
You must be signed in to change notification settings - Fork22
QRL mobile wallet based on the react-native framework
License
theQRL/mobile-wallet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This mobile application is based on the react-native framework to provide an Android and iOS implementation of the QRL wallet.
The mobile-wallet apps are still under heavy development. Please be aware that frequent changes will occur to this repository.
- React-Native (https://facebook.github.io/react-native/)
- CMake (https://cmake.org/)
- XCode
- Cocoapods (https://cocoapods.org/)
- Android Studio (https://developer.android.com/studio/install)
- Gradle (https://gradle.org/): can be handled within Android Studio
To generate the iOS libraries you need to clone thetheQRL/qrllib and build the *.a iOS libraries (for the simulator and real device) using Xcode.
git clone https://github.com/theQRL/qrllibgit submodule update --init --recursivecd qrllibmkdir buildcd buildcmake -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.
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/.
In case of any change on the proto file, one needs to regenerate the gRPC pods
rm -rf Podsrm Podfile.lockpod install
- 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 theLinked Frameworks and Libraries section
For more information about the communication between React-Native and native code (Objective-C and c++) check the originalCommunication between native and React Native documentation.
About
QRL mobile wallet based on the react-native framework