Skip to content

alloy-ch/rcplus-alloy-android-sdk-maven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Alloy Android SDK Maven Repository

This repository hosts the Maven artifacts for the Alloy Android SDK.

Current Version: 0.2.1 (Release)

This is a stable release version - Safe for production use.

Installation

Add the Alloy Android SDK to your Android project:

Gradle (Kotlin DSL)

repositories {
    maven {
        url = uri("https://raw.githubusercontent.com/alloy-ch/rcplus-alloy-android-sdk-maven/v0.2.1/")
    }
}

dependencies {
    implementation("com.alloy:android-sdk:0.2.1")
}

Gradle (Groovy)

repositories {
    maven {
        url 'https://raw.githubusercontent.com/alloy-ch/rcplus-alloy-android-sdk-maven/v0.2.1/'
    }
}

dependencies {
    implementation 'com.alloy:android-sdk:0.2.1'
}

Available Versions

  • Latest: 0.2.1 (Release)
  • Repository Structure: This repository uses semantic versioning with git tags for both releases and prereleases

Version-Specific URLs

Each version of the SDK has its own immutable Maven repository URL:

  • Release: https://raw.githubusercontent.com/alloy-ch/rcplus-alloy-android-sdk-maven/v0.2.1/

Usage

Quick Start

  1. Add the repository and dependency to your build.gradle.kts:
repositories {
    google()
    mavenCentral()
    maven {
        url = uri("https://raw.githubusercontent.com/alloy-ch/rcplus-alloy-android-sdk-maven/v0.2.1/")
    }
}

dependencies {
    implementation("com.alloy:android-sdk:0.2.1")
}
  1. Add required permissions to your AndroidManifest.xml:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  1. Initialize the SDK in your Application class:
class MyApplication : Application() {
    private lateinit var alloySDK: AlloySDK
    
    override fun onCreate() {
        super.onCreate()
        
        alloySDK = AlloySDK(
            context = this,
            tenant = "your-tenant",
            env = "prod", 
            appId = "your-app-id"
        )
    }
    
    fun getAlloySDK(): AlloySDK = alloySDK
}

Requirements

  • Android 5.0 (API level 21) or higher
  • Kotlin 1.9.0 or higher
  • Target SDK 34 (Android 14)
  • Google Play Services (for AAID and App Set ID)

Generated: 2025-10-15 06:47:09 UTC
Version: 0.2.1
Type: Release

About

Maven Repository for Alloy Android SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •