Giter Club home page Giter Club logo

elm-react-native's Introduction

elm-react-native

cover

React Native GitHub issues PRs Welcome MIT

This is a high simulating eleme app (eleme website), implemented by React Native. This app can run on iOS and Android, the app has no use to any API, no data, it is a UI display App, the UI of the app has more than 95% in common with eleme app. This is a learning React Native process, it is a demo project.

Welcome issues, PR, star.

App uses these dependencies

Run app

First of all need to install run React Native related to the environment. Please use Android studio to open android folder, if you want to run in android simulator.

git clone https://github.com/stoneWeb/elm-react-native.git
cd elm-react-native && npm install
react-native link
react-native run-ios

Screenshot

home-scroll add scroll

home

comment

order

my

License

The MIT License.

elm-react-native's People

Contributors

stoneweb 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  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

elm-react-native's Issues

IOS真机上卡顿

IOS真机上,从首页点击商家,进入到商家页面时,会卡顿一下...
测试机器是iphone5, ios9.1的系统.

启动页问题

您好,我想请问下运行之后为什么卡在启动页进不去呢 我使用的是ios simulator

不能编译通过

执行react-native run-android,出现以下error

Execution failed for task ':react-native-blur:extractReleaseAnnotations'.

代码没动过,react-native-blur这个毛玻璃库引入有问题?麻烦看一下,谢谢大佬

打扰一下

你好 非常开心看到你的开源项目。我们团队最近在做一个和信息平台相关的项目(目前在北京和北美注册的公司)。我们正好缺具有react开发经验的小伙伴(可以通过多种方式加入,未必全职),如果你感兴趣加入我们,想进一步了解我们的团队。可以添加我的微信 SJHBXS

link的时候报错

module.js:328
throw err;
^

Error: Cannot find module 'invariant'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/Users/mac/Desktop/elm-react-native/node_modules/react-native/packager/react-packager/src/lib/GlobalTransformCache.js:16:19)
at Module._compile (module.js:398:26)
at loader (/Users/mac/Desktop/elm-react-native/node_modules/react-native/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/mac/Desktop/elm-react-native/node_modules/react-native/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)

react-native run-ios项目跑不起来

The following build commands failed:
CompileC /Users/niejiajun/Desktop/elm-react-native/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTJavaScriptLoader.o /Users/niejiajun/Desktop/elm-react-native/node_modules/react-native/React/Base/RCTJavaScriptLoader.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/Elm.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Elm.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
报错信息如上,求助。。。

启动时错误 FBundleIdentifier", Does Not Exist

执行 react-native run-ios后遇到以下错误:
Users/{user}/js/elm-react-native/node_modules/react-native/React/Base/RCTPlatform.m:26:10: error: use of undeclared identifier 'UIUserInterfaceIdiomCarPlay'; did you mean 'UIUserInterfaceIdiomPad'?
case UIUserInterfaceIdiomCarPlay:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
UIUserInterfaceIdiomPad
In module 'UIKit' imported from /Users/louis/js/elm-react-native/node_modules/react-native/React/Base/RCTPlatform.m:12:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:33:5: note: 'UIUserInterfaceIdiomPad' declared here
UIUserInterfaceIdiomPad NS_ENUM_AVAILABLE_IOS(3_2), // iPad style UI
^
/Users/louis/js/elm-react-native/node_modules/react-native/React/Base/RCTPlatform.m:26:10: error: duplicate case value 'UIUserInterfaceIdiomPad'
case UIUserInterfaceIdiomCarPlay:
^
/Users/louis/js/elm-react-native/node_modules/react-native/React/Base/RCTPlatform.m:22:10: note: previous case defined here
case UIUserInterfaceIdiomPad:
^
2 errors generated.

** BUILD FAILED **

The following build commands failed:

CompileC /Users/louis/js/elm-react-native/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTPlatform.o Base/RCTPlatform.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/Elm.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

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Elm.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

s

商家详情页,如果用flatList而不是scrollview可以做出整个商品模块随手势上下位移这种效果吗?现在scrollview里面的内容是用Animated位移,但是flatList不行

我run-android 报错了,怎么解决?

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
(node:5816) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

吐槽

花了3小时终于看到运行界面,说实话,实在是卡到不行。
1、布局层层嵌套。
2、数据、试图混成一团锅。

还是强烈建议各位看官移驾github-popular

请教一下

启动界面之后就弹出报错,Native module splashScreenModule tried to override SplashScreenModule ....set
canoverriedeExistingmodule =true

求教

ios,android真机上特卡,无法直视。

ios push页面的时候卡,有时候没反应。
android push页面的时候非常卡,所有push页面的点击事件都不怎么灵。

ios: iPhone 5 ios.9.3.4
android: 中兴远航4s

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.