Add Protocol constants and enable buildConfig generation
This commit is contained in:
parent
97a095e073
commit
69f39ef3a3
|
|
@ -38,6 +38,7 @@ android {
|
|||
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
buildConfig = true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
package com.inou.clawdnode.protocol
|
||||
|
||||
/**
|
||||
* Clawdbot Gateway Protocol constants.
|
||||
* Values from clawdbot/gateway/protocol/client-info.js
|
||||
*/
|
||||
object Protocol {
|
||||
// Gateway client identifier for Android app
|
||||
const val CLIENT_ID = "clawdbot-android"
|
||||
|
||||
// Client mode - "node" for ClawdNode companion apps
|
||||
const val MODE = "node"
|
||||
|
||||
// Platform identifier
|
||||
const val PLATFORM = "android"
|
||||
|
||||
// Role for node connections
|
||||
const val ROLE = "node"
|
||||
}
|
||||
Loading…
Reference in New Issue