I have carried canned foods in my vehicle emergency stash for years. Just rotate them out of that duty after a year or so and consume them normally. I prefer items that can be eaten with little or no preparation - canned fruits are great, since they also give you quite a bit of water. I keep my freeze dried items for trips where weight is critical (e.g.,backpacking)
With extremes of heat,the biggest problem is growth inside the bottles. Refresh them regularly and keep them out of sunlight, if at all possible.
Vehicle interiors are a tough area in which to store foodstuffs - solar cookers in the summer and iceboxes in the winter
_________________________
Geezer in Chief