satismeter / satismeter-ios

SatisMeter iOS SDK
https://satismeter.com
MIT License
7 stars 6 forks source link

SatisMeter is already shown #17

Open pykaso opened 5 years ago

pykaso commented 5 years ago

Hi, I'm getting "SatisMeter is already shown" from our app when I trying to force show a Survey after a user closed it sometime in the past.

I can't find any SatisMeter related views in views hierarchy. So I assume it's really closed.

Of course, this happens only when application stays in memory. After the new app start it's ok.

jsedlacek commented 5 years ago

@pykaso thanks for the bug report. Let us have a look why this happens.

Just for the context: What are you trying to achieve with the forceSurvey flag? Is that for testing purposes, or are you trying to implement the survey in certain scenarios?

pykaso commented 5 years ago

Yes, now it's for testing purposes during integrating SatisMeter into our app. I want to be sure, that this issue doesn't prevent opening Satismeter in production.

jsedlacek commented 5 years ago

@pykaso Thanks. It should not matter in production, as it's unlikely that you'd like to show the survey multiple times within one application session.

We will address this in future releases.

pykaso commented 5 years ago

The same issue also occurs without a forceSurvey tag. When the user of the application (same device) has changed. It means calling the identifyUser with another userID value.

jsedlacek commented 5 years ago

Thanks for an update on this. This is obviously a bug, although very rare case.

I will keep the issue open until we get to resolve it.