net.twisterrob.inventory
net.twisterrob.inventory copied to clipboard
Image disappears when not taking a new photo
Report from Jozef
To reproduce:
- add new item
- fill in item name: test
- click question mark and make a photo
- now that the photo is taken click the photo again (as to indicate you changed your mind and want to make a new one)
- instead of making a new photo, go back
- tap save
Expected result:
- item is saved with the current photo (the first one made)
Actual result:
- toast message appears: "Cannot save.. java FileNotFoundException.."
It looks to me that the temporary image is removed before the new photo is actually saved.
Probably caused by #129
Same as described at https://github.com/TWiStErRob/net.twisterrob.inventory/blob/a19fb0b2e02be6b84a8ec3dc2997730da9a44e36/android/base/src/main/java/net/twisterrob/inventory/android/Constants.java#L88
Related https://github.com/TWiStErRob/net.twisterrob.inventory/issues/211