Nika0000 / cloudflare_turnstile

A free CAPTCHAs alternative to enhance security and protect against bots.
https://pub.dev/packages/cloudflare_turnstile
MIT License
11 stars 7 forks source link

The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set. #17

Open NelfDesign opened 4 days ago

NelfDesign commented 4 days ago

HI, I implemente your package in my app and it's work fine to get Captcha token. But when we click on confidentiality or conditions I have the error mentionned in the title.

How can I solve that please?

I put the widget only in a Center. Center( child: CloudflareTurnstile( siteKey: siteKeyTurnstyle, baseUrl: url, options: options, onTokenReceived: (String token) { onTokenReceivedFunction.call(receivedToken: token); }, ), )

Nika0000 commented 4 days ago

HI, I implemente your package in my app and it's work fine to get Captcha token. But when we click on confidentiality or conditions I have the error mentionned in the title.

How can I solve that please?

I put the widget only in a Center. Center( child: CloudflareTurnstile( siteKey: siteKeyTurnstyle, baseUrl: url, options: options, onTokenReceived: (String token) { onTokenReceivedFunction.call(receivedToken: token); }, ), )

Let's clarify a few things.

NelfDesign commented 3 days ago

Hi, I use the last version 3.2.0 and yes the problem is for both platform.