Comments (5)
So I tried dragging the folders into the project, like this:
Then I added a login screen, like this:
But an empty button shows up, like this, and it doesn't do anything when clicked:
I'm clearly missing something from the installation instructions. Can you help me, and also probably update the readme, because it's not clear what I did wrong.
from react-native-fbsdk.
The instructions say "Drag the XCode projects from node_modules/react-native-sdk... into your XCode project navigator"
I'm assuming you read that in the README file on the GitHub repository after I had committed the Xcode projects to master. In other words, the text was correct for the code that was in GitHub at the time, but not for the released versions. I have just released version 0.0.4 of all three packages that contain the Xcode projects.
from react-native-fbsdk.
As for your problem with the login button, note that the Sample app sets some explicit styles on the button: https://github.com/facebook/react-native-fbsdk/blob/master/Sample/styles.js#L47-L54. In particular, width and height are important given React Native's flexbox layout (where it's difficult for native views to have a variable intrinsic size).
from react-native-fbsdk.
I'm going to close this issue. Please reopen if continue to have problems (ideally separate issues for each individual problem you encounter.) Thanks!
from react-native-fbsdk.
Alright, thanks. That was the problem. Now I'll just use the new versions with xcodeproj files.
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.