simolus3 / f_grecaptcha Goto Github PK
View Code? Open in Web Editor NEWFlutter plugin exposing the SafetyNet reCAPTCHA API for Android to flutter apps.
License: MIT License
Flutter plugin exposing the SafetyNet reCAPTCHA API for Android to flutter apps.
License: MIT License
There is no problem with the internet, but still getting same issue
W/System.err(16290): com.google.android.gms.common.api.ApiException: 12013: Invalid Package Name for App
W/System.err(16290): at com.google.android.gms.common.internal.zzb.zzy(Unknown Source:14)
W/System.err(16290): at com.google.android.gms.common.internal.zzbk.zzz(Unknown Source:0)
W/System.err(16290): at com.google.android.gms.common.internal.zzbl.zzr(Unknown Source:32)
W/System.err(16290): at com.google.android.gms.common.api.internal.BasePendingResult.zzc(Unknown Source:81)
W/System.err(16290): at com.google.android.gms.common.api.internal.BasePendingResult.setResult(Unknown Source:41)
W/System.err(16290): at com.google.android.gms.internal.zzcwk.zza(Unknown Source:7)
W/System.err(16290): at com.google.android.gms.internal.zzcvw.onTransact(Unknown Source:101)
W/System.err(16290): at android.os.Binder.execTransact(Binder.java:697)
I/flutter (16290): Could not verify:
�[38;5;244mI/flutter (16290): PlatformException(f_grecaptcha, Verification using reCaptcha has failed, null) at #0 StandardMethodCodec.decodeEnvelope�[39;49m
�[38;5;244mI/flutter (16290): #1 MethodChannel._invokeMethod�[39;49m
I/flutter (16290):
�[38;5;244mI/flutter (16290): #2 MethodChannel.invokeMethod�[39;49m
�[38;5;248mI/flutter (16290): #3 FGrecaptcha.verifyWithRecaptcha�[39;49m
I/flutter (16290):
�[38;5;248mI/flutter (16290): #4 _MyAppState._startVerification�[39;49m
�[38;5;244mI/flutter (16290): #5 _InkResponseState._handleTap�[39;49m
�[38;5;244mI/flutter (16290): #6 _InkResponseState.build.�[39;49m
�[38;5;244mI/flutter (16290): #7 GestureRecognizer.invokeCallback�[39;49m
�[38;5;244mI/flutter (16290): #8 TapGestureRecognizer.handleTapUp�[39;49m
I/flutter (16290): #9 BaseTapGestureRecognizer
flutter: Could not verify:
Instance of 'ReCaptchaNotAvailableException' at #0 FGrecaptcha.verifyWithRecaptcha (package:f_grecaptcha/f_grecaptcha.dart:32:13)
#1 new LoginUIState. (package:betdip/src/ui/login_ui.dart:131:47)
#2 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:511:14)
#3 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:566:30)
#4 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:166:24)
#5 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:240:9)
#6 TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:177:9)
#7 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:436:9)
#8 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73:12)
#9 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:11)
#10 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:221:19)
#11 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:199:22)
#12 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
#13 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
#14 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
#15 _rootRunUnary (dart:async/zone.dart:1136:13)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#18 _invoke1 (dart:ui/hooks.dart:233:10)
#19 _dispatchPointerDataPacket (dart:ui/hooks.dart:154:5)
Dart 2.0 is out, and the library's SDK constraints don't support it yet...
I would like to port this library to iOS (using web tokens) using this library: https://github.com/fjcaetano/ReCaptcha
This library accomplish this with WebViews so the user will need to apply for two keys, one for Android and one for iOS (actually, web).
If I would to submit a PR, will you merge it or is it not a goal for this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.