Skip to content

Commit fcefb5c

Browse files
committed
Merge branch 'master-holder'
2 parents 5b14dc8 + 995e19f commit fcefb5c

File tree

368 files changed

+18233
-4025
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

368 files changed

+18233
-4025
lines changed

.eslintrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["@react-native", "prettier"],
2+
"extends": ["prettier"],
33
"plugins": ["react", "jsx-a11y", "import"],
44
"parser": "@babel/eslint-parser",
55
"rules": {
@@ -11,6 +11,7 @@
1111
"global-require": "off",
1212
"no-underscore-dangle": "off",
1313
"react/jsx-one-expression-per-line": "off",
14-
"react/require-default-props": "off"
14+
"react/require-default-props": "off",
15+
"react/no-unstable-nested-components": "off"
1516
}
1617
}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ build/
1414
*.perspectivev3
1515
!default.perspectivev3
1616
xcuserdata
17+
ios/.xcode.env.local
1718
*.xccheckout
1819
*.moved-aside
1920
DerivedData
2021
*.hmap
2122
*.ipa
2223
*.xcuserstate
2324
project.xcworkspace
24-
ios/.xcode.env.local
2525

2626
# Android/IntelliJ
2727
#
@@ -34,13 +34,15 @@ local.properties
3434
.cxx/
3535
*.keystore
3636
!debug.keystore
37+
!/android/app/debug.keystore
3738

3839
# node.js
3940
#
4041
node_modules/
4142
npm-debug.log
4243
yarn-error.log
4344

45+
4446
# fastlane
4547
#
4648
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the

.prettierrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"trailingComma": "all",
33
"semi": true,
4-
"singleQuote": true,
4+
"singleQuote": false,
55
"bracketSpacing": true,
6-
"arrowParens": "avoid",
76
"bracketSameLine": false,
87
"tabWidth": 2,
98
"parser": "flow"

App.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Provider } from 'react-redux';
22
import React from 'react';
33
import { View, ActivityIndicator, StyleSheet } from 'react-native';
44
import { PersistGate } from 'redux-persist/integration/react';
5-
import { NavigationContainer } from '@react-navigation/native';
65
import { colors } from './src/styles';
6+
import { NavigationContainer } from '@react-navigation/native';
77

88
import { store, persistor } from './src/redux/store';
99

@@ -15,7 +15,6 @@ export default function App() {
1515
<NavigationContainer>
1616
<PersistGate
1717
loading={
18-
// eslint-disable-next-line react/jsx-wrap-multilines
1918
<View style={styles.container}>
2019
<ActivityIndicator color={colors.red} />
2120
</View>

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
source 'https://rubygems.org'
2-
32
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
43
ruby ">= 2.6.10"
5-
64
gem 'cocoapods', '~> 1.13'
75
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'

README.md

Lines changed: 6 additions & 11 deletions

android/app/build.gradle

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ react {
4747
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
4848
// hermesFlags = ["-O", "-output-source-map"]
4949
}
50+
5051
/**
5152
* Set this to true to Run Proguard on Release builds to minify the Java bytecode.
5253
*/
5354
def enableProguardInReleaseBuilds = false
54-
5555
/**
56-
* The preferred build flavor of JavaScriptCore (JSC)
56+
* The preferred build flavor of JavaScriptCore (JSC)
5757
*
5858
* For example, to use the international variant, you can use:
5959
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
@@ -69,45 +69,47 @@ android {
6969
ndkVersion rootProject.ext.ndkVersion
7070
buildToolsVersion rootProject.ext.buildToolsVersion
7171
compileSdk rootProject.ext.compileSdkVersion
72-
namespace "com.reactnativestarter"
72+
namespace "com.reactnativestarter.upd"
73+
7374
// compileOptions {
7475
// sourceCompatibility JavaVersion.VERSION_1_8
7576
// targetCompatibility JavaVersion.VERSION_1_8
7677
// }
77-
78-
defaultConfig {
79-
applicationId "com.reactnativestarter"
80-
minSdkVersion rootProject.ext.minSdkVersion
81-
targetSdkVersion rootProject.ext.targetSdkVersion
82-
versionCode 1
83-
versionName "1.0"
84-
multiDexEnabled true
85-
}
86-
// dexOptions {
87-
// javaMaxHeapSize "4g"
88-
// }
8978
signingConfigs {
9079
debug {
9180
storeFile file('debug.keystore')
9281
storePassword 'android'
9382
keyAlias 'androiddebugkey'
9483
keyPassword 'android'
9584
}
85+
release {
86+
storeFile file('my-upload-key.keystore')
87+
storePassword 'vlad_keystore321'
88+
keyAlias 'my-key-alias'
89+
keyPassword 'vlad_keystore321'
90+
}
91+
}
92+
defaultConfig {
93+
applicationId "com.reactnativestarter.upd"
94+
minSdkVersion rootProject.ext.minSdkVersion
95+
targetSdkVersion rootProject.ext.targetSdkVersion
96+
versionCode 6
97+
versionName "4.0.1"
9698
}
99+
97100
buildTypes {
98101
debug {
99102
signingConfig signingConfigs.debug
100103
}
101104
release {
102105
// Caution! In production, you need to generate your own keystore file.
103106
// see https://facebook.github.io/react-native/docs/signed-apk-android.
104-
signingConfig signingConfigs.debug
107+
signingConfig signingConfigs.release
105108
minifyEnabled enableProguardInReleaseBuilds
106109
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
107110
}
108111
}
109112
}
110-
111113
dependencies {
112114
// The version of react-native is set by the React Native Gradle Plugin
113115
implementation("com.facebook.react:react-android")
@@ -121,3 +123,4 @@ dependencies {
121123
}
122124

123125
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
126+
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

android/app/proguard-rules.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
# http://developer.android.com/guide/developing/tools/proguard.html
99

1010
# Add any project specific keep options here:
11+
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools">
3+
xmlns:tools="http://schemas.android.com/tools">
44

5-
<application
6-
android:usesCleartextTraffic="true"
7-
tools:targetApi="28"
8-
tools:ignore="GoogleAppIndexingWarning"/>
5+
<application
6+
android:usesCleartextTraffic="true"
7+
tools:targetApi="28"
8+
tools:ignore="GoogleAppIndexingWarning"/>
99
</manifest>

android/app/src/main/AndroidManifest.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
<uses-permission android:name="android.permission.INTERNET" />
44

55
<application
6-
android:name=".MainApplication"
7-
android:label="@string/app_name"
8-
android:icon="@mipmap/ic_launcher"
9-
android:roundIcon="@mipmap/ic_launcher_round"
10-
android:allowBackup="false"
11-
android:theme="@style/AppTheme">
12-
<activity
13-
android:name=".MainActivity"
14-
android:label="@string/app_name"
15-
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
16-
android:windowSoftInputMode="adjustResize"
17-
android:exported="true">
18-
<intent-filter>
19-
<action android:name="android.intent.action.MAIN" />
20-
<category android:name="android.intent.category.LAUNCHER" />
21-
</intent-filter>
22-
</activity>
6+
android:name=".MainApplication"
7+
android:label="@string/app_name"
8+
android:icon="@mipmap/ic_launcher"
9+
android:roundIcon="@mipmap/ic_launcher_round"
10+
android:allowBackup="false"
11+
android:theme="@style/AppTheme">
12+
<activity
13+
android:name=".MainActivity"
14+
android:label="@string/app_name"
15+
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
16+
android:windowSoftInputMode="adjustResize"
17+
android:exported="true">
18+
<intent-filter>
19+
<action android:name="android.intent.action.MAIN" />
20+
<category android:name="android.intent.category.LAUNCHER" />
21+
</intent-filter>
22+
</activity>
2323
</application>
2424
</manifest>

0 commit comments

Comments
 (0)