Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from Arjun-sna/bug_fixes
Browse files Browse the repository at this point in the history
update all dependencies/ fix config bugs
  • Loading branch information
Arjun committed Mar 9, 2019
2 parents ea1a028 + d1958d3 commit e995e36
Show file tree
Hide file tree
Showing 63 changed files with 3,803 additions and 3,140 deletions.
20 changes: 2 additions & 18 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
{
"presets": [
"babel-preset-react-native-stage-0/decorator-support"
],
"plugins": [["babel-plugin-root-import",[{
"rootPathPrefix": "~",
"rootPathSuffix": "src"
}]]],
"env": {
"development": {
"plugins": [
"transform-react-jsx-source",
"functional-hmr",
["babel-plugin-root-import",{
"rootPathPrefix": "~",
"rootPathSuffix": "src"
}]
]
}
}
"module:metro-react-native-babel-preset"
]
}
3 changes: 2 additions & 1 deletion .env.sampleconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLIENT_ID=
CLIENT_SECRET=
CODEPUSH_ANDROID_KEY=
CODEPUSH_IOS_KEY=
CODEPUSH_IOS_KEY=
REDIRECT_URI=
310 changes: 155 additions & 155 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,161 +1,161 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"plugins": [
"jsx-a11y",
"import",
"react",
"react-native",
"flowtype"
],
"globals": {
"__DEV__": true
},
"rules": {
"global-require": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"arrow-body-style": "off",
"arrow-parens": [
"error",
"as-needed"
],
"comma-dangle": [
"error",
"always-multiline"
],
"indent": [2, "tab"],
"no-tabs": 0,
"newline-after-var": [
"error",
"always"
],
"newline-before-return": "error",
"newline-per-chained-call": "off",
"no-confusing-arrow": "off",
"no-mixed-operators": [
"error",
{
"groups": [
[
"&",
"|",
"^",
"~",
"<<",
">>",
">>>"
],
[
"==",
"!=",
"===",
"!==",
">",
">=",
"<",
"<="
],
[
"&&",
"||"
],
[
"in",
"instanceof"
]
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"plugins": [
"jsx-a11y",
"import",
"react",
"react-native",
"flowtype"
],
"globals": {
"__DEV__": true
},
"rules": {
"global-require": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"arrow-body-style": "off",
"arrow-parens": [
"error",
"as-needed"
],
"comma-dangle": [
"error",
"always-multiline"
],
"indent": ["error", 2],
"no-tabs": 0,
"newline-after-var": [
"error",
"always"
],
"newline-before-return": "error",
"newline-per-chained-call": "off",
"no-confusing-arrow": "off",
"no-mixed-operators": [
"error",
{
"groups": [
[
"&",
"|",
"^",
"~",
"<<",
">>",
">>>"
],
"allowSamePrecedence": true
}
],
"no-underscore-dangle": "off",
"max-len": "off",
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"space-before-function-paren": [
"error",
"never"
],
"wrap-iife": [
"error",
"inside",
{
"functionPrototypeMethods": false
}
],
"react/jsx-wrap-multilines": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-curly-spacing": [
"error",
"never",
{
"allowMultiline": true
}
],
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-no-bind": "error",
"react/no-multi-comp": "off",
"react/prefer-stateless-function": "off",
"react/sort-comp": [
"error",
{
"order": [
"static-methods",
"lifecycle",
"/^on.+$/",
"/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
"everything-else",
"/^render.+$/",
"render"
[
"==",
"!=",
"===",
"!==",
">",
">=",
"<",
"<="
],
[
"&&",
"||"
],
"groups": {
"lifecycle": [
"displayName",
"props",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"defaultProps",
"state",
"constructor",
"getDefaultProps",
"getInitialState",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount"
]
}
[
"in",
"instanceof"
]
],
"allowSamePrecedence": true
}
],
"no-underscore-dangle": "off",
"max-len": "off",
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"space-before-function-paren": [
"error",
"never"
],
"wrap-iife": [
"error",
"inside",
{
"functionPrototypeMethods": false
}
],
"react/jsx-wrap-multilines": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-curly-spacing": [
"error",
"never",
{
"allowMultiline": true
}
],
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-no-bind": "error",
"react/no-multi-comp": "off",
"react/prefer-stateless-function": "off",
"react/sort-comp": [
"error",
{
"order": [
"static-methods",
"lifecycle",
"/^on.+$/",
"/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
"everything-else",
"/^render.+$/",
"render"
],
"groups": {
"lifecycle": [
"displayName",
"props",
"propTypes",
"contextTypes",
"childContextTypes",
"mixins",
"statics",
"defaultProps",
"state",
"constructor",
"getDefaultProps",
"getInitialState",
"getChildContext",
"componentWillMount",
"componentDidMount",
"componentWillReceiveProps",
"shouldComponentUpdate",
"componentWillUpdate",
"componentDidUpdate",
"componentWillUnmount"
]
}
]
}
}
]
}

}
4 changes: 2 additions & 2 deletions App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import renderer from 'react-test-renderer';
import App from './App';

it('renders without crashing', () => {
const rendered = renderer.create(<App />).toJSON();
const rendered = renderer.create(<App />).toJSON();

expect(rendered).toBeTruthy();
expect(rendered).toBeTruthy();
});
8 changes: 3 additions & 5 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 28
buildToolsVersion "27.0.3"

defaultConfig {
applicationId "com.githubgist"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionCode 2
versionName "0.1"
ndk {
abiFilters "armeabi-v7a", "x86"
Expand Down Expand Up @@ -157,8 +157,6 @@ dependencies {
compile project(':react-native-code-push')
compile project(':react-native-config')
compile project(':react-native-vector-icons')
compile project(':react-native-cardview')
compile project(':react-native-cookies')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
Expand Down
Binary file removed android/app/src/main/assets/fonts/Entypo.ttf
Binary file not shown.
Binary file removed android/app/src/main/assets/fonts/EvilIcons.ttf
Binary file not shown.
Binary file removed android/app/src/main/assets/fonts/Feather.ttf
Binary file not shown.
Binary file removed android/app/src/main/assets/fonts/Foundation.ttf
Binary file not shown.
Binary file removed android/app/src/main/assets/fonts/Ionicons.ttf
Binary file not shown.
Binary file not shown.
Binary file removed android/app/src/main/assets/fonts/MaterialIcons.ttf
Binary file not shown.
Binary file modified android/app/src/main/assets/fonts/Octicons.ttf
Binary file not shown.
Binary file not shown.
Binary file removed android/app/src/main/assets/fonts/Zocial.ttf
Binary file not shown.
Loading

0 comments on commit e995e36

Please sign in to comment.