Git Product home page Git Product logo

Comments (13)

jsierles avatar jsierles commented on May 29, 2024 2

Same here.

from tipsi-stripe.

dmytrozavgorodniy avatar dmytrozavgorodniy commented on May 29, 2024 2

Hi @pmcguane, @jsierles, how you link tipsi-stripe module in project? TPSStripe.xcodeproj is added for your main .xcodeproj?
screen shot 2017-04-18 at 3 49 16 pm

from tipsi-stripe.

isnifer avatar isnifer commented on May 29, 2024 2

@jsierles @felipemartim Hi, guys!
This step is not included in README because this action does react-native link
I did clean install of react-native app and install tipsi-stripe. Look into gif:
react-native-link

Info about linking dependencies in README:

from tipsi-stripe.

isnifer avatar isnifer commented on May 29, 2024 2

@felipemartim @artdent Hey, guys! I've added a PR that will improve README.

from tipsi-stripe.

jsierles avatar jsierles commented on May 29, 2024 1

Sorry, I'm having this issue with Android. I have the library in my settings.gradle.

from tipsi-stripe.

jsierles avatar jsierles commented on May 29, 2024 1

In my case, the following error shows up:

screen shot on 2017-04-18 at 19-58-58

With this initialization :
https://gist.github.com/jsierles/ce07a9befbb1f0d34b5045d8483d7d13

from tipsi-stripe.

artdent avatar artdent commented on May 29, 2024 1

@jsierles Have you made sure to include StripeReactPackage in the getPackages() method of your ReactNativeHost? Otherwise, NativeModules.StripeModule won't exist.

from tipsi-stripe.

bossnass1986 avatar bossnass1986 commented on May 29, 2024

used react-native link tipsi-stripe and the file can be seen within Xcode

from tipsi-stripe.

dmytrozavgorodniy avatar dmytrozavgorodniy commented on May 29, 2024

@pmcguane could to please show, how you initialize tipsi-stripe module in your project?

from tipsi-stripe.

jsierles avatar jsierles commented on May 29, 2024

@artdent Thanks, that was the problem. Working now.

from tipsi-stripe.

felipemartim avatar felipemartim commented on May 29, 2024

@artdent Thank you very much. It seems that this step isn't included in the Installation section of the readme.

from tipsi-stripe.

felipemartim avatar felipemartim commented on May 29, 2024

@isnifer Maybe because I use React Native Navigation this step didn't work. Anyway, I think it could be added on the manual installation section.

from tipsi-stripe.

artdent avatar artdent commented on May 29, 2024

Right, react-native link might fail for a variety of reasons; for example, in my project, the android project is at the top level instead of being inside an android/ directory. (Not to mention, my ReactNativeHost is a top-level class instead of an inner class.) So the manual instructions, along with describing the modifications to build.gradle, should also include the step of modifying getPackages().

from tipsi-stripe.

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.