Closed Saad-Bashar closed 2 years ago
@Saad-Bashar , Can you share more details about this along with the code and output with us?. So it will be easier for us to check it out and get back to you!
Here is the snippet which is working fine for iOS but on android nothing loads, I mean the survey does not show up.
@Saad-Bashar do you get any error in metro when loading in android ?
@Saad-Bashar can you add style props to the SurveySparrow component with the height and width that you want that will fix this issue for example :
<SurveySparrow
styles={{
width: '100%',
height: 500,
}}
config={{
domain: 'socarmy.surveysparrow.com',
token: 'tt-446ec5',
surveyType: 'classic',
}}
onSurveyComplete={data => {
console.log('survey response from embed survey is', data);
}}
/>
No error :( I tried to set the styling as well but still the same.
Hey I just tried again with styles and its working! Thanks!
Embedded SurveySparrow component comes fine in iOS but on android, it is just plain white, and nothing loads.