Comments (16)
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.
Nevermind what I said about the warning. I didnt reference the libraries right and now everything is working.
from react-native-fbsdk.
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.
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.
@devlesedi so if we use Cocoapod, there is issue...
from react-native-fbsdk.
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.
BTW, you would not able to install [email protected] because of peerDependencies in react-natve-fbsdk.
from react-native-fbsdk.
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.
@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.
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.
oh, you got it working on 0.13.0-rc? I'll update still and get more details...
from react-native-fbsdk.
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.
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.
ps. I wasn't using CocoaPods. Sorry for any confusion. I got lost in the thread.
from react-native-fbsdk.
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.
@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)
- Cannot complete login on iOS 13 HOT 5
- CONTRIBUTING.md file: CLA broken link
- Submit permission for Live mode
- Remove deprecated unarchiveObjectWithData methods HOT 1
- SERVER_ERROR: [code] 1349195 [message]: The key hash does not match any stored key hashes. in Real Device (Android) HOT 5
- ShareDialog sharing doesn't work on some Android phones (Huawei p30 pro, Xiaomi redmi 9) HOT 1
- Not able to login with facebook app only in iOS HOT 3
- Expo-facebook does not send Android installation events to the platform, only IOS
- Any plan on upgrading to FB SDK v9 for iOS? HOT 38
- Android cannot compile under 3.0.0 (cannot find symbol FacebookSdk.setDataProcessingOptions) HOT 1
- Sdk update to v9.0 HOT 2
- Subscribe event not fired on Android
- Is there a way to get the download source?
- setAdvertiserTrackingEnabled not found HOT 4
- autoInitEnabled is removed from iOS, should wrap the initialize function
- Some input files use or override a deprecated API
- Missing important data in FB Analytics HOT 1
- Regarding deep link handling
- Yarn no good for the scripts
- Issues with app privacy on the App Store HOT 4
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 react-native-fbsdk.