iteratehq / iterate-android

Iterate Android SDK
MIT License
3 stars 1 forks source link

[Feature request] Send an event when survey loading fails #83

Open maciejsurmacz opened 2 weeks ago

maciejsurmacz commented 2 weeks ago

When the network call fails while requesting a survey through sendEvent, the client is not informed. It would be useful for the clients to be informed about the failure so that an error message can be shown to the user.

Consider a scenario:

Perhaps it could be a new value of InteractionEventTypes or a new type of event altogether (not sure if network failure really qualifies as interaction event?

msingleton commented 1 week ago

@maciejsurmacz Thanks for this! Yea, I think adding it as an InteractionEventType would make the most sense (even if the name is quite perfect for this). I've added to our internal queue

maciejsurmacz commented 1 week ago

@msingleton great, thank you, sounds good!