In debug build this code executes fine
Art art = new Art(randomStore, nPrice, pictureCount,null, productId, posterId, posterPhone,posterWhatsApp,state,region,advertTitle,category, type, size,artTitle, description);
// Create Post in Art Cloud DB
Backendless.Data.of(Art.class).save(art, new AsyncCallback<Art>() {
@RequiresApi(api = Build.VERSION_CODES.O)
@Override
public void handleResponse(Art object) {
//object saved
}
@Override
public void handleFault(BackendlessFault fault) {
Log.e(getClass().getName(), "Save Fault:" + fault.toString()+fault.getMessage());
}
});
But when i enable proguard in release build i get this error
Fault:BackendlessFault{ code: ‘8001’, message: ‘Duplicate property: description’
I’ve checked my Table fields, they are all in order.Description field doesnt have any duplicate.
I already have this rule in my proguard file
#backendless
-dontwarn com.backendless.** -dontwarn weborb.** -keep class weborb.** {;}
-keep class com.backendless.** {;}
Is there another rule i should be aware of?