wiredash-sdk
wiredash-sdk copied to clipboard
Email metadata isn't loaded properly the first time
Describe the bug Steps to reproduce:
- Open app (first open or restart, not hot reload)
- Send feedback
- On the email step, the email is missing
- Submit the feedback or discard it (doesn't matter, as long as you trigger the
collectMetadata
callback, for example by clicking "show details") - Send another feedback
- Email field now contains the correct email
Stacktrace N/A
Wiredash SDK Info 1.1.0
Flutter SDK 7.0.4
Screenshots N/A
Are you providing the email with collectMetadata
?
Yes. In the steps above, at no point do you have to manually enter an email, so collectMetadata provides that data once asked. It just seems like it's asked too late in the process.
Additionally, custom metadata is always passed. However, if we skip the email step, then even though custom data is passed (ie we can be sure that Wiredash has called collectMetadata and knows about the email), the email isn't passed to us. This seems like a bug but it might be intentional.
Either way, we'd like to skip the email step to reduce friction, but still get their email via collectMetadata. It works with their user id already, just not with the email. We can obviously get their email by looking up the uid but that's annoying and if this is a wontfix then I'd definitely have to build the semi-planned slack bot to look up user data based on uid to simplify support requests
I am facing this exact issue with the latest SDK version. Any updates @passsy?
I'm encountering the same issue as well!
This issue has been resolved in wiredash 1.7