WYSIWYS SDKAndroid SDK
Installation
Prerequisites
- A device running Android 4.4 (Kit Kat) or newer
- Android Studio
- A valid SDK licence for the package name of the application
- An activity extending AndroidX
FragmentActivitythat will host the PDF View.
Setup
WYSIWYS SDK is provided as an Android Archive Library (AAR). We recommend integration of our compiled library into your project using Android Studio and Gradle.
As of today, the library is not yet available on a public maven repository. However, it can be added manually to the local maven repository using the following maven command :
$ mvn install:install-file -Dfile=path-to-your-artifact-aar \
-DgroupId=ch.sysmosoft.sense.smartcontract \
-DartifactId=sense-smartcontract-sdk-wysiwys-android \
-Dversion=2024.0.0 \
-Dpackaging=aar \
-DpomFile=path-to-thepom-fileThe dependency is then available through your maven local repository. The gradle configuration can be updated with the changes below.
repositories {
mavenLocal()
}
...
dependencies {
implementation 'ch.sysmosoft.sense.smartcontract:sense-smartcontract-sdk-wysiwys-android:2024.0.0'
}External dependencies
WYSIWYS SDK depends on few libraries that are listed in a dedicated file packaged alongside the SDK. Those transitive dependencies must be declared into your build.gradle file.