We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4603fef commit eedc500Copy full SHA for eedc500
recaptcha.html
@@ -0,0 +1,20 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+ <title>reCAPTCHA v3 Triggered by Native</title>
5
+ <script src="https://www.google.com/recaptcha/api.js?render=6Lf0Vh8rAAAAAHe2eKBCN1RtGXTIJn3SEuPdleGJ"></script>
6
+ <script>
7
+ function runRecaptcha() {
8
+ grecaptcha.ready(function () {
9
+ grecaptcha.execute('6Lf0Vh8rAAAAAHe2eKBCN1RtGXTIJn3SEuPdleGJ', { action: 'from_native_button' }).then(function (token) {
10
+ Android.onTokenReceived(token); // Send token to Android
11
+ });
12
13
+ }
14
+ </script>
15
+</head>
16
+<body>
17
+<p>Waiting for native trigger...</p>
18
+</body>
19
+</html>
20
+
0 commit comments