Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
While sharing an Event consisting of any EventTriggers for which we do not have a file we get a toast "Couldn't attach file". For multiple such triggers in one event the toast persists for a long time. This may result in very disturbing user experience. This PR aims to solve that.
This will also close #181 since that crash was caused by NPE while attempting to create a File from a null string.
While sharing an
Event
consisting of anyEventTrigger
s for which we do not have a file we get a toast "Couldn't attach file". For multiple such triggers in one event the toast persists for a long time. This may result in very disturbing user experience. This PR aims to solve that.This will also close #181 since that crash was caused by NPE while attempting to create a
File
from a null string.