File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1615,13 +1615,15 @@ setQualtricsProperties: ({
16151615
16161616### isQualtricsInterceptAvailableForUser
16171617
1618- <kbd>App version >=24.12 (iOS only)</kbd>
1618+ <kbd>App version >=24.12 (iOS only)</kbd> <kbd>App version >=25.10:
1619+ surveyUrl</kbd>
16191620
16201621Check if a Qualtrics intercept is available for the user, performing its
1621- evaluation.
1622+ evaluation. When available, a ` surveyUrl` with the generated survey url is
1623+ returned (only in App version >=25.10).
16221624
16231625` ` ` ts
1624- isQualtricsInterceptAvailableForUser : ({interceptId: string}) => Promise < {isAvailable: boolean}> ;
1626+ isQualtricsInterceptAvailableForUser : ({interceptId: string}) => Promise < {isAvailable: boolean; surveyUrl ?: string | null }> ;
16251627` ` `
16261628
16271629#### Error cases
Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ export type ResponsesFromNativeApp = {
445445 IS_QUALTRICS_INTERCEPT_AVAILABLE_FOR_USER : {
446446 type : 'IS_QUALTRICS_INTERCEPT_AVAILABLE_FOR_USER' ;
447447 id : string ;
448- payload : { isAvailable : boolean } ;
448+ payload : { isAvailable : boolean ; surveyUrl ?: string | null } ;
449449 } ;
450450 REFRESH_NAV_BAR : {
451451 type : 'REFRESH_NAV_BAR' ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const isQualtricsInterceptAvailableForUser = ({
2828 interceptId,
2929} : {
3030 interceptId : string ;
31- } ) : Promise < { isAvailable : boolean } > =>
31+ } ) : Promise < { isAvailable : boolean ; surveyUrl ?: string | null } > =>
3232 postMessageToNativeApp ( {
3333 type : 'IS_QUALTRICS_INTERCEPT_AVAILABLE_FOR_USER' ,
3434 payload : { interceptId} ,
You can’t perform that action at this time.
0 commit comments