Documentation
    Preparing search index...

    Interface ActionConfiguration

    interface ActionConfiguration {
        modals?: ("error" | "before" | "success")[] | "all";
        notifications?: ("error" | "before" | "success")[] | "all";
        returnStrategy?: ReturnStrategy;
        skipRedirectToWallet?: "ios" | "always" | "never";
        twaReturnUrl?: `${string}://${string}`;
    }
    Index

    Properties

    modals?: ("error" | "before" | "success")[] | "all"

    Configure action modals behavior.

    ['before']
    
    notifications?: ("error" | "before" | "success")[] | "all"

    Configure action notifications behavior.

    'all'
    
    returnStrategy?: ReturnStrategy

    Specifies return strategy for the deeplink when user signs/declines the request.

    'back'
    
    skipRedirectToWallet?: "ios" | "always" | "never"

    Shouldn't be used anymore, SDK will automatically detect return strategy for TWA-TWA connections. Specifies whether the method should redirect user to the connected wallet

    'ios'
    
    twaReturnUrl?: `${string}://${string}`

    Specifies return url for TWA-TWA connections. This will be applied as a return strategy if dApp is opened as a TWA and user selects TWA wallet (overrides returnStrategy if).