All Projects → xuwening → react-native-debug-server-host

xuwening / react-native-debug-server-host

Licence: MIT license
React Native Debug server host for iOS

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to react-native-debug-server-host

react-native-firebase-phone-auth
React native firebase Phone number Authentication working example :)
Stars: ✭ 50 (+11.11%)
Mutual labels:  reactnative
laravel-ray
Debug with Ray to fix problems faster in Laravel apps
Stars: ✭ 225 (+400%)
Mutual labels:  debug
react-native-debug-console
A network and console debug component and modal for react native purely in JavaScript
Stars: ✭ 17 (-62.22%)
Mutual labels:  debug
SQLite.viewer
An elegant library for debugging sqlite databases in iOS applications
Stars: ✭ 73 (+62.22%)
Mutual labels:  debug
robotframework-debuglibrary
A debug library for RobotFramework, which can be used as an interactive shell(REPL) also.
Stars: ✭ 96 (+113.33%)
Mutual labels:  debug
sendbird-javascript-samples
A guide of the installation and functions of Sendbird Chat, UIKit, and SyncManager for JavaScript samples.
Stars: ✭ 315 (+600%)
Mutual labels:  reactnative
backend debug
Debug support in TYPO3 backend
Stars: ✭ 20 (-55.56%)
Mutual labels:  debug
ts-transform-react-jsx-source
TypeScript AST Transformer that adds source file and line number to JSX elements
Stars: ✭ 12 (-73.33%)
Mutual labels:  debug
android-sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 39 (-13.33%)
Mutual labels:  debug
rntpl
a simple react native demo with redux
Stars: ✭ 25 (-44.44%)
Mutual labels:  reactnative
pdbfetch
Fetch PDB symbols directly from Microsoft's symbol servers
Stars: ✭ 33 (-26.67%)
Mutual labels:  debug
debug
A small debugging library for C++
Stars: ✭ 30 (-33.33%)
Mutual labels:  debug
CodeBaseManager
Multi-langage CLI tool to manage your code base
Stars: ✭ 11 (-75.56%)
Mutual labels:  debug
soar-php
SQL optimizer and rewriter. - SQL 优化、重写器(辅助 SQL 调优)。
Stars: ✭ 140 (+211.11%)
Mutual labels:  debug
dora
🌟Dora is an open-source framework focused on usability and flexibility.It is widely used to collect crash information and print variable values.It is very powerful and useful to debug android program. It is customizable and extensible in the simpleton-like ways. Dora是一个专注于易用性和灵活性的开源框架,它被广泛用于收集崩溃信息和打印变量值,对调试Android程序非常强大和有用,傻瓜式的自定义和扩展。
Stars: ✭ 15 (-66.67%)
Mutual labels:  debug
UnitySettings
Runtime debugging menu (like setting on Android) for Unity.
Stars: ✭ 26 (-42.22%)
Mutual labels:  debug
dd
This package will add the dd and dump helpers to your Phalcon application.
Stars: ✭ 17 (-62.22%)
Mutual labels:  debug
gitsearch
A searchbar for querying Github users and repositories. Written in React Native and React Native Web. GraphQL and Apollo Client to query Github GraphQL API.
Stars: ✭ 15 (-66.67%)
Mutual labels:  reactnative
React-Native-UI
A Collection of React Native UI inspired from dribbble and other sites.
Stars: ✭ 18 (-60%)
Mutual labels:  reactnative
nytimes-bestseller
NY Times best sellers list explorer
Stars: ✭ 35 (-22.22%)
Mutual labels:  reactnative

Debug Server Host For iOS

更新(2017.10.12)

增加pod集成方式

解决根rootViewController不是navigation时,无法显示debugHost界面的bug

更新 (2017.6.20)

半年没关注 RN 发现变化还真不少,由于调试函数发生变化,这个库也需要更新下否则不起作用(最新RN版本0.45)。

如需兼容多版本,RN 版本判断下,然后设置RCTSwapInstanceMethods([RCTDevMenu class], @selector(_menuItemsToPresent), @selector(newMenuItems));中的@selector即可。

更新(2016.11.28)

增加了rnpm install react-native-DebugServerHost的支持。

更新(2016.11.15)

由于react native更换的URL的使用方式(增加了RCTBundleURLProvider类处理URL),所以旧的方式不再适应,进行新版本的改造,不再适配v0.29以下版本。新方式下只需输入IP地址,比较好输入,因此去掉了二维码扫描方式。

React Native服务器地址更换

运行时更换服务器地址,不用为更换调试服务器地址而频繁打包。android调试状态有更换服务器地址功能,而iOS不具备此功能,本库就是为iOS提供此功能。

集成

自动集成

npm install react-native-DebugServerHost --save

react-native link

pod集成

npm install react-native-DebugServerHost --save

podFile文件添加:

pod 'DebugServerHost', :path => '../node_modules/react-native-DebugServerHost'

pod install

手动集成:

直接将DebugServerHost文件夹添加到项目中即可,无需任何设置。

使用

模拟器使用Command+D,真实设备使用摇一摇即可唤出调试菜单,选择最后一项Debug server host就可以修改服务器地址了。

注意:修改完地址需要重新启动APP才能生效。

由于RN在debug模式下,会自动在安装包中添加ip.txt文件,保存开发机IP地址,并将main.jsbundle集成到APP中。首先通过IP地址去访问远程js脚本,如果没有找到,则使用安装目录中的main.jsbundle。但是目前在0.37版本中,第一步如果IP地址不正确,经常造成闪退。如果是这种情况,可以先把手机网络全关,打开APP加载本地main.jsbundle后再更换正确的服务器地址,或者更简单的方式删除app重新安装

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].