React Native Properties | XM Community
Skip to main content

Hi, I have been using Qualtrics to evaluate different surveys that I want to present to the user. On the portal side, we have several surveys set up under one intercept, and to display the different surveys, there are properties with text values that are expected for a certain survey to show. 
For example, to show survey1, the property “survey1” must be true, and so forth. 

In the code, there is a “setString” method with sets the property with the key and value, and when I pass in the expected property, it displays the survey as expected. 

The problem however, is that when I try to evaluate survey2 with its specific properties, survey1 continues to show up. It seems as if there is a caching issue where it shows the first evaluated survey and does not reset, even if I pass the new properties. 

I can’t seem to find best practices for evaluating surveys, so I was wondering if anyone had any tips on how I can solve this particular problem. 

Here is a link to the method that sets the property: api.qualtrics.com/c6f1eb01a9ad5-app-feedback-react-native-api-reference#setstringpropertykey-propertystring

 

Thank you

 

EDIT: 
I seem to have fixed my issue by setting those properties to false after I evaluate them, but I’m not sure if thats the best solution. Any help on best practices would be appreciated

Be the first to reply!

Leave a Reply