GithubHelp home page GithubHelp logo

wangdicoder / react-native-gank Goto Github PK

View Code? Open in Web Editor NEW
552.0 552.0 97.0 30.05 MB

A cross platform App which shows the contents from gank.io

JavaScript 93.02% Python 0.96% Java 2.92% Objective-C 3.10%
react-native

react-native-gank's People

Contributors

wangdicoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-gank's Issues

run-android error

image
while I execute
react-native run-android, occur it.
So I solved it by adding

@OverRide
public boolean canOverrideExistingModule(){
return true;
}

in source code : react-native-Gank\node_modules\react-native-vector-icons\android\src\main\java\com\oblador\vectoricons\VectorIconsModule.java.

Hope someone can get answer about the problem.

react-native run-ios error

Installing build/Build/Products/Debug-iphonesimulator/GankIO.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

react-native run-ios error

Unable to resolve module react-native/Libraries/vendor/emitter/EventEmitter from /Volumes/BOOTCAMP/react-native/react-native-Gank/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js: Module does not exist in the module map or in these directories:
/Volumes/BOOTCAMP/react-native/react-native-Gank/node_modules/react-native/Libraries/vendor/emitter

请问es6语法中同名函数是什么意思

我在您的项目里看到
dao.fetchLocalData(date).then((localData) => {
//Toast.show('local', {position: px2dp(-80)});
dispatch(receiveData(localData, date));
}, (localData) => {
//Toast.show('local', {position: px2dp(-80)});
dispatch(onlyFetchLocalData(getYesterdayFromDate(date)));
});
其中 (localData)有2个,这在代码中怎么执行的,谢谢。

Unknown named module

运行成功之后,进入app 出现了
Unknown named module:'react-native/Libraries/vendor/emitter/EventEmitter'
请问怎么解决?

已解决运行报错问题

  1. 修改react-native-root-siblings/lib/AppRegistryInjection.js文件:
    // import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
    import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter';
  2. 修改react-native-root-toast/lib/ToastContaner.js文件:
    将‘ViewPropTypes’改为'View.propTypes'

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.