Has a dependancy of mavenLocal.
- Install mavel in your machine (Google for steps)
- See https://github.com/khoslalabs/novopay-platform-thor/tree/sb_sdk_maven_local for setting up the local maven and generating the library sdk
allprojects {
repositories {
...
maven {
url "C:/Users/Admin/.m2/repository"
}
}
}
allprojects {
repositories {
...
maven {
url "https://jfrog-repository.novopay.in/artifactory/libs-release/"
credentials{
username = "shruthi.n@novopay.in" // The publisher user name
password = "N0v0WQSX678" // The publisher password
}
}
}
}
implementation "in.novopay.sbagency:app:latest-version"
import in.novopay.sbagency.SuryodaySdk;
import in.novopay.sbagency.SuryodaySdkStatus;
public class MainActivity extends AppCompatActivity {
API_KEY = "1579514199220"
NUM_HASHED_BYTES = 9
NUM_BASE64_CHAR = 11
HASH_TYPE = "SHA-256"
...
SuryodaySdk.launch(
this,
mobileNum,
BuildConfig.API_KEY,
SuryodaySdk.SuryodayaEnvironment.QA,
getAppSignatures().get(0),
"debug_app",YourLoginActivityName.class);
}