Defense-grade mobile integrity SDK and supporting tooling.
This monorepo contains:
android-sdk/– Android SDK (library + sample app)tools/ft-cert-hash/– CLI helper to derive signing certificate SHA-256 hashes
FortressTower is distributed through JitPack.
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}dependencies {
implementation("com.github.BugraDemiral:FortressTower:v0.1.5")
}class MyApp : Application() {
override fun onCreate() {
super.onCreate()
FortressTower.init(
context = this,
config = FortressConfig(
licenseKey = "FT-DEV-KEY",
environment = FortressEnvironment.Debug,
expectedSignatureSha256 = null
)
)
}
}val trust = FortressTower.currentTrustScore()
if (trust.level == TrustLevel.BLOCK) {
// Block or restrict the operation
}