aad_b2c_webview icon indicating copy to clipboard operation
aad_b2c_webview copied to clipboard

[Feature request] Separate onErrorOrCancel into two different methods

Open tojaskivi opened this issue 10 months ago • 2 comments

Hello

I think that it would be better if onErrorOrCancel would either be split into two different methods or at least return more data other than just context.

ADB2CEmbedWebView(
    // Current
   onErrorOrCancel: (context) {...},
    // --------

    // Proposal 1
   onCancel: (context, message) {...},
   onError: (context, message) {...},

    // Proposal 2
    onErrorOrCancel: (context, isError, message) {...},
...
)

tojaskivi avatar Feb 05 '25 13:02 tojaskivi

Hello! I hope you are well.

Could you please check if you are using the latest version? I believe it is better structured and may solve the problem.

If you need anything, I am at your disposal! 😊

gabrielpatricksouza avatar Mar 31 '25 14:03 gabrielpatricksouza

@tojaskivi can you check the latest version of the package ? thanks !

mohanajuhi166 avatar Apr 23 '25 07:04 mohanajuhi166