#How to install Beacon Android SDK
To add Beacon Android SDK into your project:
- Make sure the JitPack repository is included in your root
- Add the dependencies:
The library modules and their relations are described below.
Core modules are the basis for other modules. They are required for the SDK to work as expected.
|Base for other modules||✖️|
Client modules ship with Beacon implementations for different parts of the network.
|Beacon implementation for wallets|
|Provides a supplementary interface for ||✖️|
Blockchain modules provide support for different blockchains.
|Substrate specific components||✖️|
|Tezos specific components||✖️|
Transport modules provide various interfaces used to establish connection between Beacon clients.
|Beacon P2P implementation which uses Matrix for the communication||✖️|
#Proguard and R8
Beacon Android SDK internally uses various libraries that may require custom ProGuard rules. If you're using ProGuard or R8, please follow the guides listed below to make sure your app works correctly after obfuscation:
See the list of known issues and how to fix them if you run into problems after adding the dependencies:
Native library (com/sun/jna/xxxxx/libjnidispatch.so) not found in resource path
"net.java.dev.jna:jna:x.y.z@aar"dependency and exclude the
net.java.dev.jnagroup from the Beacon dependencies.