Changed saveEventsData to only happen on app close and after data uploaded Created enterForeground and enterBackground methods, removed other observers enterForeground is now called in initializeWithApiKey sessionStart and sessionEnd now tied to enterForeground and enterBackground
Changed saveEventsData to only happen on app close and after data uploaded
Created enterForeground and enterBackground methods, removed other observers
enterForeground is now called in initializeWithApiKey
sessionStart and sessionEnd now tied to enterForeground and enterBackground

amplitude/Amplitude-iOS,pollarm/Amplitude-iOS,amplitude/Amplitude-iOS,amplitude/Amplitude-iOS,pollarm/Amplitude-iOS,amplitude/Amplitude-iOS,lopper/Amplitude-iOS,lopper/Amplitude-iOS