Giter Club home page Giter Club logo

Comments (4)

riclava avatar riclava commented on July 20, 2024 1

Add this in your info.plist of iOS Runner

	<key>io.flutter.embedded_views_preview</key>
	<true/>

from flutter_recaptcha_v2.

BRLOKESH avatar BRLOKESH commented on July 20, 2024

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.

denid88 avatar denid88 commented on July 20, 2024

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.

mrgoonie avatar mrgoonie commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.