vickness / react-native-vk-httpdns Goto Github PK
View Code? Open in Web Editor NEWAliyun httpDns component for react-native
License: Apache License 2.0
Aliyun httpDns component for react-native
License: Apache License 2.0
感谢提供的组件~
我们是RN项目, 使用了https 协议.
rn 自带的 XMLHttpRequest 不允许修改host头信息,
请问当我的rn拿到我指定域名的ip之后, 我该怎么使用这个ip才能获取到数据呢? 后端都是使用了https+域名的方式,
postman里 , 使用 https://IP/PATH , 再设置一个 host 头信息是可以获取到的,但是在 rn里, 使用 axios 或者是 XMLHttpRequest 都会出现https签名问题.
请问这个问题有什么办法吗?
再次感谢!!!
Build file 'react-native-vk-httpdns-master/android/app/build.gradle' line: 79
A problem occurred evaluating project ':app'.
Could not read script 'react-native-vk-httpdns-master/node_modules/react-native/react.gradle' as it does not exist.
Task :react-native-vk-httpdns:verifyReleaseResources FAILED
ExceptionsManager.js:74 The callback getIpByHostAsyncInURLFormat() exists in module RNHttpDns, but only one callback may be registered to a function in a native module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.