1. Install FID SDK
Setup gradle maven
Open build.grade file and add maven line like below
allprojects {
repositories {
google()
mavenCentral()
//start add fid sdk maven
maven {
url 'https://gitlab.com/api/v4/projects/40140113/packages/maven'
allowInsecureProtocol true
credentials(HttpHeaderCredentials) {
name = "Private-Token"
value = "{SDK_PRIVATE_KEY}"
}
authentication {
header(HttpHeaderAuthentication)
}
}
//end fid sdk maven
}
}Open setting.gradle file and add maven line like below
Open file app/build.grade then add sdk:
Open file build/grade then add google services
Then go app/build.grade apply google service
Create firebase project then put google-services.json into app folder
Initialize file network-security-config.xml in folder resource xml:
network-security-config.xml in folder resource xml:Open Manifest.xml and call file network-security-config.xml and add LICENSE_KEY
network-security-config.xml and add LICENSE_KEYOpen Manifest.xml and add scheme for onelink with GAME_HOST, like below
scheme for onelink with GAME_HOST, like belowInitialize FID in file Application
ApplicationLast updated