Giter Site home page Giter Site logo

Comments (14)

CavanSu avatar CavanSu commented on May 20, 2024

I have same problem after I update xcode 10. But this issue can workaround. First remove old "React-Native-SDK/node_modules" . after you can cd to "React-Native-SDK/node_modules/react-native/scripts", and run "./ios-install-third-party.sh" to replace "npm install". Finally, use xcode run sample app.

from react-native-sdk.

renanpupin avatar renanpupin commented on May 20, 2024

It seems to be not the right solution, but a workaround.
I would like to ask if Agora.io team have plans to support react-native in the right way, because our team is using another third-party library to make videocalls but we pretend to migrate to Agora.io library.
Also I can suggest the right way to provide native libraries to react-native described by the React-native core team at this link.
https://facebook.github.io/react-native/docs/native-modules-setup
https://facebook.github.io/react-native/docs/linking-libraries-ios

Thanks.

from react-native-sdk.

renanpupin avatar renanpupin commented on May 20, 2024

Anyway would be nice if we have a sample project with basic configurations.

from react-native-sdk.

renanpupin avatar renanpupin commented on May 20, 2024

@CavanSu if I remove"node_modules" I can't access "React-Native-SDK/node_modules/react-native/scripts"

from react-native-sdk.

CavanSu avatar CavanSu commented on May 20, 2024

sorry, i forget this step that you need to "nmp install" again after you remove old "React-Native-SDK/node_modules".

Whole steps:

  1. remove old "React-Native-SDK/node_modules"
  2. nmp install
  3. cd to "React-Native-SDK/node_modules/react-native/scripts", and run "./ios-install-third-party.sh"
  4. use xcode run sample app

from react-native-sdk.

renanpupin avatar renanpupin commented on May 20, 2024

Still not working. :(
@CavanSu could you please create an example with the integrated SDK that I can clone and just test?
Thanks.

from react-native-sdk.

plutoless avatar plutoless commented on May 20, 2024

@renanpupin thanks for the post. upgrade react-native lib version to 0.56.0 makes it work for me. if you want to keep current version, you may read the top rated post in this post https://stackoverflow.com/questions/50836558/react-native-config-h-not-found to manually make install the config.h file.

from react-native-sdk.

renanpupin avatar renanpupin commented on May 20, 2024

Can't make this work on 0.56.

Again, I suggest the right way to provide native libraries to react-native described by the React-native core team at this links.

https://facebook.github.io/react-native/docs/native-modules-setup
https://facebook.github.io/react-native/docs/linking-libraries-ios

Can we have a sample app with everything configurated and the binaries provided as a RN library?

from react-native-sdk.

plutoless avatar plutoless commented on May 20, 2024

@renanpupin I'm sorry but there's no recent plans to make big changes to this repo.
if you would like to do similar things like react-native link xxx, you may take a look at this repo. https://github.com/syanbo/react-native-agora i believe they are already doing things in the native way as you described.

from react-native-sdk.

plutoless avatar plutoless commented on May 20, 2024

@renanpupin if you can also try this workaround.
facebook/react-native#20774
hope this helps you fix your problem.

from react-native-sdk.

daino3 avatar daino3 commented on May 20, 2024

Can you at least update the documentation to reflect the actual steps involved to use this SDK with an iOS project? Otherwise, I would dumpster fire this repo.

from react-native-sdk.

plutoless avatar plutoless commented on May 20, 2024

@daino3 i'm sorry for the inconvenience caused. we are preparing a new version of our RN sdk already. Together we will take in your advice and provide how to integrate with existing project guide. This should be available within this week.

from react-native-sdk.

daino3 avatar daino3 commented on May 20, 2024

@plutoless - sorry, my response was a little dramatic. I would just love some better documentation on integrating the SDK within a project.

from react-native-sdk.

plutoless avatar plutoless commented on May 20, 2024

hi @daino3 , we have published the new version to npm
https://www.npmjs.com/package/react-native-agora
And we have this quickstart guide designed for this npm version.
https://github.com/AgoraIO-Community/Agora-RN-Quickstart

Note the sample run guideline still refers to setting up a new project. But integrating within existing project is most likely the same, 1. npm install 2. react-native link 3. run pod install and react-native run-xx.
We are still arranging the docs to integrate from existing project, and we will publish it as soon as it's done.

from react-native-sdk.

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.