totorototo / strava Goto Github PK
View Code? Open in Web Editor NEW"Lybitos-Strava" is a React Native application consuming Strava RESTFul web services.
License: MIT License
"Lybitos-Strava" is a React Native application consuming Strava RESTFul web services.
License: MIT License
merge request should build the merge not the branch we want to merge
Strava requires that you set an Authorization Callback when creating a Strava App. This is not mentioned in the README documentation for setting up the app. I believe this is causing issues with my ability to successfully authenticate on the initial launch.
Athletes data for a given club could not be retrieved anymore.
Club saga, service and helper has to be updated.
ListClubMember service (normalizr) has to be modified.
ClubMembersCard has to be updated aswell.
https://github.com/Intellicode/eslint-plugin-react-native/blob/master/docs/rules/no-unused-styles.md
i think this rule is not activated
we should do something to be able to automate testing on devices
We should consider how we should do releases in our CI may be use something like that
https://github-tools.github.io/github-release-notes/examples
https://skywinder.github.io/github-changelog-generator/
it seems to be related to to react navigation.
Still under investigation.
chose and set up CI
there is something fishy in the chain saga, service, helper.
services are in charge of:
helpers are generally based promise,
this is exactly the same for services.
the problem is:
PS:
Be aware of what is the return value of .then(): resolve or failure.
Considering the returned value of .then() in both case, we have done something wrong here!
πΏπ²
Installation failed on Lollipop.
Todo: check android project setup (sdk, ...).
should we use 'Flow'? @guipasmoi
Define what should be a node, a edge.
What are those made of? what is the link between those?
...
This has to be monitored and qualified?
considering switch from watch database children to read data once ?
add support for svg
https://github.com/react-native-community/react-native-svg
revision number should be set foreach artifact.
ps: scripts already created,
ps2: build pipeline has to be modified (bitrise).
we have have to remove react router flux. We can use
Due to CI modification (travis) Android build configuration files has been modified.
(sign - packaging).
This implies that you have to add ***.keystore file in Android project directory to build debug version.
This is the not way it should be.
FIX Android debug build (sign - pack) + update readme.
Evaluate and choose animation libraries:
may be we could use this instead it will allow us to wait for null propagation
https://facebook.github.io/react-native/blog/2017/03/13/idx-the-existential-function.html
see link below:
https://groups.google.com/forum/#!topic/strava-api/P-SnkWvffpg
ClubFeed features affected!
Issue while testing the release build of the application.
Got the same behavior on physical device.
Here is the stack trace:
10-26 21:52:25.764 8656 8678 E AndroidRuntime: Process: com.lybitos, PID: 8656
10-26 21:52:25.764 8656 8678 E AndroidRuntime: com.facebook.react.common.JavascriptException: undefined is not an object (evaluating 'u.View.propTypes.style'), stack:
10-26 21:52:25.764 8656 8678 E AndroidRuntime: @687:1062
10-26 21:52:25.764 8656 8678 E AndroidRuntime: i@2:565
10-26 21:52:25.764 8656 8678 E AndroidRuntime: n@2:348
10-26 21:52:25.764 8656 8678 E AndroidRuntime: t@2:210
10-26 21:52:25.764 8656 8678 E AndroidRuntime: @686:251
10-26 21:52:25.764 8656 8678 E AndroidRuntime: i@2:565
10-26 21:52:25.764 8656 8678 E AndroidRuntime: n@2:348
10-26 21:52:25.764 8656 8678 E AndroidRuntime: t@2:210
10-26 21:52:25.764 8656 8678 E AndroidRuntime: @408:292
10-26 21:52:25.764 8656 8678 E AndroidRuntime: i@2:565
10-26 21:52:25.764 8656 8678 E AndroidRuntime: n@2:348
10-26 21:52:25.764 8656 8678 E AndroidRuntime: t@2:210
10-26 21:52:25.764 8656 8678 E AndroidRuntime: @344:253
10-26 21:52:25.764 8656 8678 E AndroidRuntime: i@2:565
10-26 21:52:25.764 8656 8678 E AndroidRuntime: n@2:348
10-26 21:52:25.764 8656 8678 E AndroidRuntime: t@2:210
10-26 21:52:25.764 8656 8678 E AndroidRuntime: @303:143
10-26 21:52:25.764 8656 8678 E AndroidRuntime: i@2:565
10-26 21:52:25.764 8656 8678 E AndroidRuntime: n@2:348
10-26 21:52:25.764 8656 8678 E AndroidRuntime: t@2:210
10-26 21:52:25.764 8656 8678 E AndroidRuntime: @12:38
10-26 21:52:25.764 8656 8678 E AndroidRuntime: i@2:565
10-26 21:52:25.764 8656 8678 E AndroidRuntime: n@2:278
10-26 21:52:25.764 8656 8678 E AndroidRuntime: t@2:210
10-26 21:52:25.764 8656 8678 E AndroidRuntime: global code@1013:9
10-26 21:52:25.764 8656 8678 E AndroidRuntime:
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:56)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:40)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:363)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:162)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
10-26 21:52:25.764 8656 8678 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
10-26 21:52:25.845 1671 2158 W ActivityManager: Force finishing activity com.lybitos/.MainActivity
10-26 21:52:25.858 1304 1304 W SurfaceFlinger: couldn't log to binary event log: overflow.
10-26 21:52:25.881 8656 8673 D EGL_emulation: eglMakeCurrent: 0xa07469a0: ver 2 0 (tinfo 0xa077d8d0)
10-26 21:52:25.975 1671 1877 W InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@11db04d (uid=10091 pid=8656)
10-26 21:52:25.982 1671 5510 I OpenGLRenderer: Initialized EGL, version 1.4
10-26 21:52:25.982 1671 5510 D OpenGLRenderer: Swap behavior 1
10-26 21:52:25.983 1671 5510 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
10-26 21:52:25.983 1671 5510 D OpenGLRenderer: Swap behavior 0
10-26 21:52:25.987 1671 1684 I WindowManager: Failed to capture screenshot of Token{a568e ActivityRecord{e9e2689 u0 com.lybitos/.MainActivity t24 f}} appWin=Window{96e92ec u0 com.lybitos/com.lybitos.MainActivity} drawState=4
After having looking for the root cause for few minutes, it seems the issue comes from:
Card.propTypes = {
children: PropTypes.any,
flexDirection: PropTypes.string,
containerStyle: ViewPropTypes.style,
wrapperStyle: ViewPropTypes.style,
overlayStyle: ViewPropTypes.style,
title: PropTypes.string,
titleStyle: NativeText.propTypes.style,
featuredTitle: PropTypes.string,
featuredTitleStyle: Text.propTypes.style,
featuredSubtitle: PropTypes.string,
featuredSubtitleStyle: Text.propTypes.style,
dividerStyle: ViewPropTypes.style,
image: Image.propTypes.source,
imageStyle: ViewPropTypes.style,
imageWrapperStyle: ViewPropTypes.style,
fontFamily: PropTypes.string,
};
import { View, ViewPropTypes as RNViewPropTypes } from 'react-native';
const ViewPropTypes = RNViewPropTypes || View.propTypes;
export default ViewPropTypes;
https://github.com/prettier/prettier-eslint
https://www.npmjs.com/package/eslint-config-prettier
Use the best of both world!!!
@guijesuis, what do you think?
may be we should consider lfs
https://github.com/blog/1986-announcing-git-large-file-storage-lfs
we have to change in the uri strava for libytometer (may be get it from package.json)
so we need to change redirect uri in
app\routes\screens\login\Login.js
client_id=${Config.CLIENT_ID}&response_type=code&redirect_uri=strava://localhost&scope=public`;
then we will be able to remove app/store/deeplink.js and set deeplinking correctly with react navigation
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.