Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ Installing the HelpStack library is fairly straight-forward.
compile 'com.tenmiles:helpstack:1.2.0'
}

3. Add this to avoid *duplicate file during packaging APK*

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}

For more information on installation, such as Installing in Eclipse and common installation errors, visit this Wiki page: [Installation Instructions](https://github.com/happyfoxinc/helpstack-android/wiki/Installation-Instructions)

Expand Down Expand Up @@ -146,8 +153,18 @@ HelpStack depends on the following libraries:
'com.android.support:appcompat-v7:23.0.0'
'com.google.code.gson:gson:2.3'
'org.apache.httpcomponents:httpmime:4.2.6'
'com.mcxiaoke.volley:library:1.0.5'
'com.mcxiaoke.volley:library:1.0.19'

## Proguard (Optional)

If you have Proguard enabled, please add this snippet to your proguard rules file (eg proguard-rules.pro, proguard.cfg or others):

# helpstack
-dontwarn com.polites.**
-dontwarn com.tenmiles.helpstack.**
-dontwarn org.apache.commons.**
-keep class org.apache.http.** { *; }
-dontwarn org.apache.http.**

## Video

Expand Down
2 changes: 1 addition & 1 deletion helpstack/src/com/tenmiles/helpstack/gears/HSDeskGear.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void onResponse(JSONObject responseObject) {

int emailsArrayLength = emailsArray.length();
for (int j = 0; j < emailsArrayLength; j++) {
JSONObject emailDetails = couldBeValidUsersArray.getJSONObject(j);
JSONObject emailDetails = emailsArray.getJSONObject(j);

if (emailDetails.getString("value").equals(user.getEmail())) {
validUserDetail = couldBeValidUserDetail;
Expand Down