Giter VIP home page Giter VIP logo

Comments (16)

devlesedi avatar devlesedi commented on August 19, 2024

You could follow this video. It helped me to get started. I'm on react native v0.12 and I get successful builds however, I get this warning on the console 'Warning: Native component for "RCTFBSDKLoginButton" does not exist'

from react-native-fbsdk.

devlesedi avatar devlesedi commented on August 19, 2024

Nevermind what I said about the warning. I didnt reference the libraries right and now everything is working.

from react-native-fbsdk.

lgn-lvx3 avatar lgn-lvx3 commented on August 19, 2024

I'm getting this error specifically with a Pod spec install using react-native-fbsdkcore. How did you guys resolve this issue?

from react-native-fbsdk.

yogurt-island-331 avatar yogurt-island-331 commented on August 19, 2024

Haven't found a solution yet

On Monday, October 12, 2015, Logan Hendershot [email protected]
wrote:

I'm getting this error specifically with a Pod spec install using
react-native-fbsdkcore. How did you guys resolve this issue?


Reply to this email directly or view it on GitHub
#50 (comment)
.

Kevin Zhao | LinkedIn http://www.linkedin.com/in/kevinzhaouva | Personal
Blog https://medium.com/@kevinzhao | Github
https://github.com/kevinzzz007
(434) 282-5369
Computer Science and Information Technology | University of Virginia 2016
Alpha Kappa Psi Professional Business Fraternity
http://www.akpsiatuva.org/

from react-native-fbsdk.

yogurt-island-331 avatar yogurt-island-331 commented on August 19, 2024

@devlesedi so if we use Cocoapod, there is issue...

from react-native-fbsdk.

seokgyo avatar seokgyo commented on August 19, 2024

It look like there's some conflict between FBSDKxxxKit and react-native.
The following is what if found.
If you use FBSDKxxxKit version 4.7, you should use [email protected].
If you use FBSDKxxxKit version 4.6, you should use [email protected] or 0.12.0.

from react-native-fbsdk.

seokgyo avatar seokgyo commented on August 19, 2024

BTW, you would not able to install [email protected] because of peerDependencies in react-natve-fbsdk.

from react-native-fbsdk.

MossP avatar MossP commented on August 19, 2024

Anyone managed to get this working on 0.13.0-rc yet either? The loginManager seems to be giving me issues using FDSBK v4.7.

from react-native-fbsdk.

dzhuowen avatar dzhuowen commented on August 19, 2024

@MossP Can you provide more detail on the issue? Because I can setup the React Native project(0.13.0-rc) with the SDK(v4.7) using cocoaPod. The README file is outdated and some detail on Xcode side are not pointed out. That might be the problem.

from react-native-fbsdk.

MossP avatar MossP commented on August 19, 2024

I hadn't noticed that 0.13.0 was out when I posted this. Maybe that has something to do with it. I'll get my RN updated first then come back with any errors, thanks.

from react-native-fbsdk.

MossP avatar MossP commented on August 19, 2024

oh, you got it working on 0.13.0-rc? I'll update still and get more details...

from react-native-fbsdk.

MossP avatar MossP commented on August 19, 2024

OK, I've updated and tried to do it again @dzhuowen . I'm getting a few errors..

First one is.

Can't find variable: GlobalStore

Removing this line then causes LoginManager to fall over at the next line

undefined is not an object (evaluating 'FBSDKLoginManagerInterface.loginWithReadPermissions')

logInWithReadPermissions
FBSDKLoginManager.ios.js @ 83:0

Any idea what I'm doing wrong?

from react-native-fbsdk.

MossP avatar MossP commented on August 19, 2024

Ok @dzhuowen. Got it working. It appears that linking via the XCode Projects fails but dragging the iOS folder in (like in the video link above) makes it work.

I've just got to get it to login via the native app now rather than safari which it's trying to do by default.

from react-native-fbsdk.

MossP avatar MossP commented on August 19, 2024

ps. I wasn't using CocoaPods. Sorry for any confusion. I got lost in the thread.

from react-native-fbsdk.

dzhuowen avatar dzhuowen commented on August 19, 2024

React Native SDK can be used with React Native 0.12 and 0.13 using CocoaPods.
When upgrade React Native, it's strongly recommended to remove the original .xcworkspace file and then do pod install.
Also during 'pod install', if you see warnings like:
The 'Test [Debug]' target overrides the 'OTHER_LDFLAGS' build setting defined in 'Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation     - Use the $(inherited) flag, or     - Remove the build settings from the target.
Go to xcode's target build setting section and search 'Other Linker Flags' and add '$(inherited)' to it.

from react-native-fbsdk.

yogurt-island-331 avatar yogurt-island-331 commented on August 19, 2024

@dzhuowen by chance you could help update the README for the CocoaPod part? I think that would really help newcomers :-)

from react-native-fbsdk.

Related Issues (20)

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.