Link Search Menu Expand Document

Setup

Current Version

def bless_version = '0.9.1'

Gradle

Maven Repository

Check that you have the BLESS artifactory repository in the list of your repositories.

allprojects {
    repositories {
        google()
        jcenter()
        // Add BLESS Repository
        maven{
            url "https://troido.jfrog.io/artifactory/bless-libs-release"
        }
}

Dependencies

In your app module, declare corresponding dependencies

// BLESS core features
implementation "com.troido.bless:bless-core:$bless_version"
// BLESS UI components
implementation "com.troido.bless:bless-ui:$bless_version"
// BLESS comm components
implementation "com.troido.bless:bless-comm:$bless_version"

License

For release version a license is needed. To apply the license add the following tag to your app manifest.

    <application
                >

        <meta-data
            android:name="bless_license"
            android:value="YOUR_LICENSE_HERE" />
        
    </application>

Initialization

The final step is Bless initialization in your Application class

class App: Application() {

    override fun onCreate() {
        super.onCreate()
        
        
        Bless.initialize(applicationContext)
    }

}

For further documentation take a look at Documentation References.