Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eactNative into chore.update-xcode-image
  • Loading branch information
djorkaeffalexandre committed Nov 30, 2019
2 parents 3ce32af + cbd812c commit 2b032a6
Show file tree
Hide file tree
Showing 236 changed files with 17,269 additions and 15,360 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ jobs:
- run:
name: Update Fastlane
command: |
sudo bundle install
echo "ruby-2.4" > ~/.ruby-version
bundle install
working_directory: ios

- run:
Expand Down Expand Up @@ -334,7 +335,8 @@ jobs:
- run:
name: Update Fastlane
command: |
sudo bundle install
echo "ruby-2.4" > ~/.ruby-version
bundle install
working_directory: ios

- run:
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ios.js", ".android.js"]
"extensions": [".js", ".ios.js", ".android.js", ".native.js"]
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion __mocks__/react-native-device-info.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
getModel: () => '',
getReadableVersion: () => '',
getBundleId: () => ''
getBundleId: () => '',
isTablet: () => false
};
132 changes: 65 additions & 67 deletions __tests__/__snapshots__/Storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6012,13 +6012,7 @@ exports[`Storyshots Message list 1`] = `
"fontWeight": "400",
},
Array [
Object {
"backgroundColor": "transparent",
"color": "#2F343D",
"fontFamily": "System",
"fontSize": 30,
"fontWeight": "400",
},
Object {},
Object {
"alignItems": "flex-start",
"flexDirection": "row",
Expand All @@ -6040,8 +6034,8 @@ exports[`Storyshots Message list 1`] = `
"overflow": "hidden",
},
Object {
"height": 30,
"width": 30,
"height": 20,
"width": 20,
},
]
}
Expand Down Expand Up @@ -6077,13 +6071,7 @@ exports[`Storyshots Message list 1`] = `
"fontWeight": "400",
},
Array [
Object {
"backgroundColor": "transparent",
"color": "#2F343D",
"fontFamily": "System",
"fontSize": 30,
"fontWeight": "400",
},
Object {},
Object {
"alignItems": "flex-start",
"flexDirection": "row",
Expand Down Expand Up @@ -9953,7 +9941,6 @@ exports[`Storyshots Message list 1`] = `
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"maxWidth": 400,
"minHeight": 200,
"width": "100%",
},
Expand Down Expand Up @@ -10211,7 +10198,6 @@ exports[`Storyshots Message list 1`] = `
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"maxWidth": 400,
"minHeight": 200,
"width": "100%",
},
Expand Down Expand Up @@ -11009,17 +10995,20 @@ exports[`Storyshots Message list 1`] = `
<View />
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
}
Array [
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
},
undefined,
]
}
>
View
Expand Down Expand Up @@ -11334,17 +11323,20 @@ exports[`Storyshots Message list 1`] = `
<View />
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
}
Array [
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
},
undefined,
]
}
>
View
Expand Down Expand Up @@ -11540,17 +11532,20 @@ exports[`Storyshots Message list 1`] = `
<View />
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
}
Array [
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
},
undefined,
]
}
>
View
Expand Down Expand Up @@ -11718,17 +11713,20 @@ exports[`Storyshots Message list 1`] = `
<View />
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
}
Array [
Object {
"alignItems": "center",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"height": 56,
"marginBottom": 6,
},
undefined,
]
}
>
View
Expand Down Expand Up @@ -12130,7 +12128,7 @@ exports[`Storyshots Message list 1`] = `
style={
Object {
"alignItems": "center",
"alignSelf": "flex-end",
"alignSelf": "flex-start",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
Expand Down Expand Up @@ -12493,7 +12491,7 @@ exports[`Storyshots Message list 1`] = `
style={
Object {
"alignItems": "center",
"alignSelf": "flex-end",
"alignSelf": "flex-start",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
Expand Down Expand Up @@ -19491,7 +19489,7 @@ exports[`Storyshots Message list 1`] = `
style={
Object {
"alignItems": "center",
"alignSelf": "flex-end",
"alignSelf": "flex-start",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
Expand Down Expand Up @@ -20028,7 +20026,7 @@ exports[`Storyshots Message list 1`] = `
style={
Object {
"alignItems": "center",
"alignSelf": "flex-end",
"alignSelf": "flex-start",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
Expand Down Expand Up @@ -20222,7 +20220,7 @@ exports[`Storyshots Message list 1`] = `
style={
Object {
"alignItems": "center",
"alignSelf": "flex-end",
"alignSelf": "flex-start",
"backgroundColor": "#f3f4f5",
"borderColor": "#e1e5e8",
"borderRadius": 4,
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode VERSIONCODE as Integer
versionName "1.20.2"
versionName "1.25.0"
vectorDrawables.useSupportLibrary = true
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
}
Expand Down
11 changes: 9 additions & 2 deletions android/app/src/main/res/layout/launch_screen.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:orientation="vertical"
android:background="@color/splashBackground"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/launch_screen" android:scaleType="centerCrop" />
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/launch_screen"
android:scaleType="fitCenter"
/>
</RelativeLayout>
5 changes: 3 additions & 2 deletions app/actions/login.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import * as types from './actionsTypes';

export function loginRequest(credentials) {
export function loginRequest(credentials, logoutOnError) {
return {
type: types.LOGIN.REQUEST,
credentials
credentials,
logoutOnError
};
}

Expand Down
Loading

0 comments on commit 2b032a6

Please sign in to comment.