Comments (14)
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.
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.
Anyway would be nice if we have a sample project with basic configurations.
from react-native-sdk.
@CavanSu if I remove"node_modules" I can't access "React-Native-SDK/node_modules/react-native/scripts"
from react-native-sdk.
sorry, i forget this step that you need to "nmp install" again after you remove old "React-Native-SDK/node_modules".
Whole steps:
- remove old "React-Native-SDK/node_modules"
- nmp install
- cd to "React-Native-SDK/node_modules/react-native/scripts", and run "./ios-install-third-party.sh"
- use xcode run sample app
from react-native-sdk.
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.
@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.
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.
@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.
@renanpupin if you can also try this workaround.
facebook/react-native#20774
hope this helps you fix your problem.
from react-native-sdk.
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.
@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.
@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.
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)
- Which npm package to install? HOT 19
- android build issue HOT 2
- Android build Issue HOT 10
- AgoraRtcEngineModule undefined HOT 5
- Stable sdk timeline? HOT 1
- AgoraRtcEngineModule.setClientRole got 1 aruguments, expected 2 HOT 1
- Remote View is not being rendered
- Android setupLocalVideo SurfaceView导致黑屏 本地Video无效 HOT 2
- 希望能提供一个flutter版本的插件吗 HOT 1
- Attempt to invoke interface method HOT 1
- React-Native SDK是否有滤镜与美颜功能 HOT 1
- Landscape mode back camera will autmatically zoom in HOT 1
- Local View hides after Remote view is rendered HOT 1
- peer-leave event not triggering. HOT 3
- java.lang.UnsatisfiedLinkError HOT 3
- error: cannot find symbol method setSpeakerphoneVolume(int) HOT 2
- iOS UI methods called on the main thread HOT 1
- Can't install in react-native-0.57 (Android) HOT 6
- Object prototype may only be an Object or null HOT 19
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-sdk.