Skip to content

Commit

Permalink
add proguard rule to fix bug when login
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirtyDegreesRay committed Oct 14, 2017
1 parent 6ed2825 commit 3a67aed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
-dontwarn javax.annotation.**
-dontwarn javax.inject.**

-keep class com.thirtydegreesray.openhub.http.model.** { *; }
-keep class com.thirtydegreesray.openhub.mvp.model.** { *; }

# DataAutoAccess
-keep class com.thirtydegreesray.dataautoaccess.** { *; }
-keep class **$$DataAccessor { *; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* Master of DAO (schema version 1): knows all DAOs.
*/
public class DaoMaster extends AbstractDaoMaster {
public static final int SCHEMA_VERSION = 1;
public static final int SCHEMA_VERSION = 2;

/** Creates underlying database table using DAOs. */
public static void createAllTables(Database db, boolean ifNotExists) {
Expand Down

0 comments on commit 3a67aed

Please sign in to comment.