NativeBase: RTCTextField is not a descendant of RTC View (Tag #68)

Hi, I’m having trouble with Input and Input group from native base. They seem to be working well with laptop keyboard (on IOS simulator/ Connect Hardware Keyboard) , but whenever I uncheck the ‘Connect Hardware Keyboard’ to try to see if it fits nicely with the IOS keyboard or when I run the app on my iphone, it crashed with the following error:

2016-08-16 09:21:03.406 [warn][tid:main][RCTEventEmitter.m:52] Sending websocketFailed with no listeners registered. 2016-08-16 09:21:03.692 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "RCTFBLogin" does not exist 2016-08-16 09:21:03.704 [info][tid:com.facebook.react.JavaScript] Running application "NextMatchReborn" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF 2016-08-16 09:21:34.221 [error][tid:com.facebook.react.ShadowQueue][RCTUIManager.m:1269] view <RCTShadowView: 0x13e1e99c0; viewName: RCTTextField; reactTag: 113; frame: {{0, 0}, {285.33333333333331, 30}}> (tag #113) is not a descendant of <RCTShadowView: 0x13e1bc240; viewName: RCTView; reactTag: 68; frame: {{0, 0}, {414, 538}}> (tag #68) 2016-08-16 09:21:34.259 [error][tid:com.facebook.react.ShadowQueue][RCTUIManager.m:1269] view <RCTShadowView: 0x13e1e99c0; viewName: RCTTextField; reactTag: 113; frame: {{0, 0}, {285.33333333333331, 30}}> (tag #113) is not a descendant of <RCTShadowView: 0x13e5249e0; viewName: RCTView; reactTag: 120; frame: {{0, 0}, {414, 99}}> (tag #120) 2016-08-16 09:23:59.690 [warn][tid:main][RCTEventEmitter.m:52] Sending websocketFailed with no listeners registered. 2016-08-16 09:23:59.941 [warn][tid:com.facebook.react.JavaScript] Warning: Native component for "RCTFBLogin" does not exist 2016-08-16 09:23:59.951 [info][tid:com.facebook.react.JavaScript] Running application "NextMatchReborn" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF 2016-08-16 09:24:15.467 [error][tid:com.facebook.react.ShadowQueue][RCTUIManager.m:1269] view <RCTShadowView: 0x13e5a0af0; viewName: RCTTextField; reactTag: 157; frame: {{0, 0}, {377, 40}}> (tag #157) is not a descendant of <RCTShadowView: 0x13e132a20; viewName: RCTView; reactTag: 68; frame: {{0, 0}, {414, 538}}> (tag #68) 2016-08-16 09:24:15.483 [error][tid:com.facebook.react.ShadowQueue][RCTUIManager.m:1269] view <RCTShadowView: 0x13e5a0af0; viewName: RCTTextField; reactTag: 157; frame: {{0, 0}, {377, 40}}> (tag #157) is not a descendant of <RCTShadowView: 0x13e508a80; viewName: RCTView; reactTag: 107; frame: {{0, 0}, {414, 402.66666666666669}}> (tag #107)

Dependencies: "native-base": "^0.5.4", "react": "15.2.1", "react-native": "0.30.0", here is one of the simple Views i created that base mostly on native-base component: Require:

var realm = require(‘…/Model/model.js’); import React, { Component } from ‘react’; import { Container, Content, InputGroup, Input , Icon, Header, Title, Button} from ‘native-base’; import {AlertIOS} from ‘react-native’;

`

                <InputGroup borderType="underline" >
                    <Icon name="ios-information-circle" style={{color:'#384850'}}/>
                    <Input placeholder="Enter your team brief description" 
                            onChangeText={(teamdescription) => this.setState({teamdescription})}
                            value={this.state.teamdescription}
                            />
                    </InputGroup>

`

Any help would be greatly appreciated!

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

Also having this issue.

Is there any version of native base and RN which does not have this issue ? Plus it crashed only on emulator ?

I’m still having this issue. I have updated the to 0.2.0 and that is reflected in my package. But NB is still using the old module. How do I update the module dependency inside NB?