Comments (4)
Add this in your info.plist of iOS Runner
<key>io.flutter.embedded_views_preview</key>
<true/>
from flutter_recaptcha_v2.
LOKESH:~ LOKESH$ touch /.bash_profile
LOKESH: LOKESH$ open -e /.bash_profile
LOKESH: LOKESH$ source $HOME/.bash_profile
LOKESH:~ LOKESH$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/Users/apple/Desktop/flutter V1.5.4/flutter/bin:/Users/apple/Desktop/flutter V1.5.4/bin
LOKESH:~ LOKESH$
from flutter_recaptcha_v2.
I have same problem in Android
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following assertion was thrown during performResize():
RenderAndroidView object was given an infinite size during layout.
This probably means that it is a render object that tries to be as big as possible, but it was put inside another render object that allows its children to pick their own size.
The nearest ancestor providing an unbounded height constraint is: _RenderSingleChildViewport#8cc53 relayoutBoundary=up15 NEEDS-LAYOUT NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=381.4, 0.0<=h<=603.4)
... layer: OffsetLayer#c65cd
... offset: Offset(0.0, 0.0)
... size: Size(381.4, 603.4)
The constraints that applied to the RenderAndroidView were: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
The exact size it was given was: Size(341.4, Infinity)
See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.
User-created ancestor of the error-causing widget was:
RecaptchaV2 file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:116:9
When the exception was thrown, this was the stack:
#0 RenderBox.debugAssertDoesMeetConstraints. (package:flutter/src/rendering/box.dart:1953:9)
#1 RenderBox.debugAssertDoesMeetConstraints (package:flutter/src/rendering/box.dart:2021:6)
#2 RenderBox.size=. (package:flutter/src/rendering/box.dart:1738:7)
#3 RenderBox.size= (package:flutter/src/rendering/box.dart:1740:6)
#4 RenderAndroidView.performResize (package:flutter/src/rendering/platform_view.dart:154:5)
...
The following RenderObject was being processed when the exception was fired: RenderAndroidView#f1d5a NEEDS-LAYOUT NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
... semantic boundary
... size: Size(341.4, Infinity)
RenderObject: RenderAndroidView#f1d5a NEEDS-LAYOUT NEEDS-PAINT
needs compositing
parentData: (can use size)
constraints: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
semantic boundary
size: Size(341.4, Infinity)
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (2) Exception caught by rendering library ═════════════════════════════════════════════════
RenderAndroidView object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
RecaptchaV2 file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:116:9
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (3) Exception caught by rendering library ═════════════════════════════════════════════════
RenderPointerListener object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
RecaptchaV2 file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:116:9
The following RenderObject was being processed when the exception was fired: RenderPointerListener#0676f relayoutBoundary=up23 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
constraints: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
size: Size(341.4, Infinity)
behavior: deferToChild
listeners: down
child: RenderAndroidView#f1d5a NEEDS-PAINT
needs compositing
parentData: (can use size)
constraints: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
semantic boundary
size: Size(341.4, Infinity)
RenderObject: RenderPointerListener#0676f relayoutBoundary=up23 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
constraints: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
size: Size(341.4, Infinity)
behavior: deferToChild
listeners: down
child: RenderAndroidView#f1d5a NEEDS-PAINT
needs compositing
parentData: (can use size)
constraints: BoxConstraints(0.0<=w<=341.4, 0.0<=h<=Infinity)
semantic boundary
size: Size(341.4, Infinity)
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (4) Exception caught by rendering library ═════════════════════════════════════════════════
RenderStack object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
RecaptchaV2 file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:116:9
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (5) Exception caught by rendering library ═════════════════════════════════════════════════
RenderFlex object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
Container file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:78:29
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (6) Exception caught by rendering library ═════════════════════════════════════════════════
RenderPadding object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
Container file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:78:29
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (7) Exception caught by rendering library ═════════════════════════════════════════════════
RenderDecoratedBox object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
Container file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:78:29
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (8) Exception caught by rendering library ═════════════════════════════════════════════════
RenderFlex object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
Container file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:72:23
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (9) Exception caught by rendering library ═════════════════════════════════════════════════
RenderFlex object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
ConstrainedBox file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:64:24
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (10) Exception caught by rendering library ════════════════════════════════════════════════
RenderConstrainedBox object was given an infinite size during layout.
User-created ancestor of the error-causing widget was:
SingleChildScrollView file:///home/denid/Development/projects/customorrow/lib/src/screens/auth/registration_screen.dart:63:22
════════════════════════════════════════════════════════════════════════════════════════════════════
from flutter_recaptcha_v2.
Sorry for making you disapointed but I no longer maintain this plugin, it's using a very old version of Flutter, you have to find another one.
from flutter_recaptcha_v2.
Related Issues (14)
- error for site owner: invalid domain for site key HOT 3
- Update Flutter Pub flutter_recaptcha_v2 0.1.0
- Migrate package to Null-Safety
- Please Update the last fork of Package in Pub.dev.
- Still maintained ?? HOT 2
- Please Update Package to Null Safety HOT 3
- Flutter web support HOT 3
- Retrieving token from documented use. HOT 4
- [VERBOSE-2:platform_view_layer.cc(22)] Trying to embed a platform view but the PrerollContext does not support embedding HOT 1
- How to replace "https://recaptcha-flutter-plugin.firebaseapp.com/" with own server HOT 1
- Recaptcha Flutter Web Support HOT 3
- Is it for flutter mobile android & iOS app? HOT 2
- A RecaptchaV2Controller was used after being disposed. Once you called dispose() on a RecaptchaV2Controller, it can no longer be used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_recaptcha_v2.