GithubHelp home page GithubHelp logo

Comments (5)

pickhardt avatar pickhardt commented on May 28, 2024

So I tried dragging the folders into the project, like this:

1-dragged-folders

Then I added a login screen, like this:

2-added-screen

But an empty button shows up, like this, and it doesn't do anything when clicked:

3-button

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.

philikon avatar philikon commented on May 28, 2024

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.

philikon avatar philikon commented on May 28, 2024

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.

philikon avatar philikon commented on May 28, 2024

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.

pickhardt avatar pickhardt commented on May 28, 2024

Alright, thanks. That was the problem. Now I'll just use the new versions with xcodeproj files.

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.