Skip to content

Commit

Permalink
Added Certificate Spiining - Update Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Amuzadeh committed Jul 3, 2019
1 parent 94056dc commit 8300398
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions app/src/main/java/com/github/restclient/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ private void initRestClient() {

ArrayMap<String, String> header = new ArrayMap<>();

String clientId = "c3bdf6c5-508f-48ae-9af4-243a24072e31";
String clientId = "";

String clientSecret = "LnDbEo3yDDcswKMC3h4H";
String clientSecret = "";

String site = "https://sandbox.vaslapp.com";
String site = "";

String userName = "android-XoaM8ODAYVcKnB16ob8N";
String userName = "";

String passWord = "DOI0qOIa0KT6ViYmS1k6";
String passWord = "";

header.put("Content-Type", "application/x-www-form-urlencoded");

Expand All @@ -70,20 +70,20 @@ private void initRestClientWithCP() {

ArrayMap<String, String> header = new ArrayMap<>();

String clientId = "c3bdf6c5-508f-48ae-9af4-243a24072e31";
String clientId = "";

String clientSecret = "LnDbEo3yDDcswKMC3h4H";
String clientSecret = "";

String site = "https://sandbox.vaslapp.com";
String site = "";

String userName = "android-XoaM8ODAYVcKnB16ob8N";
String userName = "";

String passWord = "DOI0qOIa0KT6ViYmS1k6";
String passWord = "";

header.put("Content-Type", "application/x-www-form-urlencoded");

ArrayMap<String, String> CPKArray = new ArrayMap<>();
CPKArray.put("sandbox.vaslapp.com", "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=");
CPKArray.put("host name", "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=");

restClient = new RestClient
.Builder(this)
Expand Down Expand Up @@ -125,7 +125,7 @@ public void onFailure(int errorCode, String errorMsg) {

private void callCPApi() {
RequestParams params = new RequestParams(RequestBodyType.FormData);
restClient.GET("https://sandbox.vaslapp.com/cache",
restClient.GET("",
"",
new ResponseJsonHandler() {
@Override
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
extra.set("targetSdk", 28)
extra.set("buildTools", "28.0.3")
extra.set("version_code", 12)
extra.set("version_name", "1.1.2")
extra.set("version_name", "1.1.3")

repositories {
google()
Expand Down

0 comments on commit 8300398

Please sign in to comment.