Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes app crashes reported on Android Version 5 #828

Merged
merged 7 commits into from
Aug 25, 2021
Merged

Conversation

junaidwarsivd
Copy link
Contributor

@junaidwarsivd junaidwarsivd commented Aug 23, 2021

added inclusion rules for serialization in proguard
added exception check in getUserInitials in utils file
added null check in setSelectedLocation
added exception handling for illegalArgument in HttpAgent

issue reported on ZEIR opensrp/opensrp-client-path-zeir#185

added inclusion rules for serialization in proguard
added exception check in getUserInitials in utils file
added null check in setSelectedLocation
@coveralls
Copy link

coveralls commented Aug 23, 2021

Coverage Status

Coverage decreased (-0.03%) to 69.271% when pulling 62444b8 on issues-fix-185 into 41c86e4 on master.

@ellykits
Copy link
Contributor

@junaidwarsivd Remember to bump up the version in gradle.properties file

updated version name in gradle.proerties
@junaidwarsivd junaidwarsivd changed the title Fixes related to 185 Fixes app crashes reported on Android Version 5 Aug 24, 2021
Comment on lines 20 to 34

-keep class * implements java.io.Serializable

-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
!static !transient <fields>;
!private <fields>;
!private <methods>;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the project using the library.

@ellykits ellykits merged commit cfff3ef into master Aug 25, 2021
@ellykits ellykits deleted the issues-fix-185 branch August 25, 2021 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants