hawk
hawk copied to clipboard
Map with Date as key fails Hawk.get
Map<Date,Integer> map;
map.put(new Date(), 1);
Hawk.put("map", map);//true
Hawk.get("map");//null
Please try to fill all questions below before submitting an issue.
- [ ] On which android versions do you have this issue? :6.0.1
- [ ] On which phones do you have this issue? :Nexus5
- [ ] Which hawk version are you using? :2.0.1
- [ ] Does this issue happen always or is it flaky? :always
- [ ] Can you write failing test? I wrote a project to reproduce this issue, but I'm not sure what does "test" mean here, sorry.
- [ ] If it is Hawk.put and Hawk.get issue, can you write down which data you were trying to save and get it back? data of class Map<Date,Integer>
- [ ] Is the data you are trying to save it huge or small? small
👍 Let me check this one and thanks for detailed issue. Amazing.