Questions tagged as 'react-native'

1
answer

Problem with react-native run-android on Linux

--- Atmosphere -------------- S.O: Linux deepin 15.5 Node: 8.11.4 npm: 5.6.0 react-native-cli: 2.0 react-native: 0.56.0 emulator: Genymotion Describing the problem: I try to run an android application with the react-n...
asked by 17.08.2018 / 21:37
1
answer

Update npm in fedora

How can I update nmp in fedora 28. I get this error: Thanks for the help     
asked by 15.08.2018 / 16:31
0
answers

I can not share image with native react with share

I have a question, I want to share an image with react native and I have the following: the function getUri I get an image that is a code, I get it to base 64 and my function to share is the share Invitation, what happens is what next, I can not...
asked by 30.07.2018 / 20:47
1
answer

componentDidMount leaves me out the scope of a variable

I have a class Database : class Database { make(){ return 'ok'; } } export default new Database(); In my App component I import it in the following way: import db from 'path/to/Database'; export default cl...
asked by 27.07.2018 / 20:51
1
answer

React-native release build error on iOS: ld: library not found for -lReact

I'm doing a build with react-native in Xcode with the Release schema and it gives me the following error:    ld: warning: directory not found for option   '-L / Users / username / Library / Developer / Xcode / DerivedData / ProjectName-...
asked by 31.07.2018 / 13:45
0
answers

Get orientation of a device for native react

I am currently integrating a VR application into native react using webgl and threejs. Everything works fine except for the function getOrientationController, of the library threejs.js, which is optimized to be used with the input parameters of...
asked by 20.07.2018 / 18:25
1
answer

Error when implementing unit tests in React Native with Reactnavigation

I'm having the following problem:    Invariant Violation: Native module can not be null. at invariant (node_modules/fbjs/lib/invariant.js:42:15) at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmit...
asked by 17.07.2018 / 21:38
1
answer

What ports does Firebase Realtime Database use to send data?

I'm using Firebase Realtime database to develop an Android and iOS app using React Native. When I send data from my development computer (which is connected to network A) everything works fine. Create release versions for beta testing and...
asked by 04.07.2018 / 14:15
0
answers

Xcode with react native

help with this xcode error, I'm using native react:    duplicate symbol _OBJC_IVAR _ $ _ GTMSessionUploadFetcher._uploadFileURL       in:       /Users/luzpadilla/Library/Developer/Xcode/DerivedData/wokemobile-gkcdzkgpkllaaccsqyfotbcuyaml/Bui...
asked by 25.06.2018 / 23:29
1
answer

Error in Post Method in JavaScript using Fetch

I'm trying to make a Post to send a Push Notification through Expo, this is for an application developed in React native, I'm doing it from Javascript and it sends me this error Failed to load link : Response to preflight request does not pa...
asked by 19.06.2018 / 17:58