Skip to content

Commit

Permalink
update to expo 51 - v0.10.1 build 51
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBresson committed Jul 10, 2024
1 parent e63d1a2 commit 94951fe
Show file tree
Hide file tree
Showing 11 changed files with 3,779 additions and 4,201 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SENTRY_AUTH_TOKEN=
SENTRY_DSN=
SENTRY_DSN=
EXPO_PROJECT_ID=
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ For starting the app on a specific OS:
$ yarn ios | yarn android
```

Copy the 2 files that contain secrets and replace them with yours

```bash
$ cp .env.example .env
```

<br />

### 👩🏾‍💻 Development
Expand Down
10 changes: 7 additions & 3 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//TODO: check if this import is needed, since secrets are in eas, it might not be the case
import "dotenv/config";

const buildNumber = 50;
const buildNumber = 51;

module.exports = () => {
return {
Expand All @@ -11,7 +11,7 @@ module.exports = () => {
slug: "not-my-fault-earth",
privacy: "public",
platforms: ["ios", "android"],
version: "0.10.0",
version: "0.10.1",
orientation: "portrait",
splash: {
image: "./assets/images/splash.png",
Expand Down Expand Up @@ -40,10 +40,14 @@ module.exports = () => {
config: {
organization: "nmf",
project: "nmf-earth",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
},
],
},
extra: {
eas: {
projectId: "9e1873d6-966a-49a3-83bc-10254ac6fb27"
}
}
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports[`ActScreen renders correctly 1`] = `
onScrollEndDrag={[Function]}
removeClippedSubviews={false}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={[]}
style={
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ exports[`AddEmissionScreen renders correctly 1`] = `
title="Name this emission "
value=""
/>
<Modal
animationType="none"
hardwareAccelerated={false}
isVisible={false}
onHide={[Function]}
transparent={true}
visible={false}
/>
<View
style={
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ exports[`EmissionsScreen renders correctly 1`] = `
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={
[
0,
Expand Down Expand Up @@ -237,7 +237,7 @@ exports[`EmissionsScreen renders correctly if no emissions 1`] = `
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={
[
0,
Expand Down Expand Up @@ -344,7 +344,7 @@ exports[`EmissionsScreen renders correctly if only normal emissions 1`] = `
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={
[
0,
Expand Down Expand Up @@ -484,7 +484,7 @@ exports[`EmissionsScreen renders correctly if only recurring emissions 1`] = `
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={
[
0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,116 @@ exports[`MonthlyBudgetScreen renders correctly 1`] = `
Slide to set your budget
</Text.Primary>
</View>
<RNCSlider
disabled={false}
inverted={false}
lowerLimit={-9007199254740991}
maximumTrackTintColor="#F9F9F9"
maximumValue={1000}
minimumTrackTintColor="#0F853B"
minimumValue={10}
onChange={null}
onRNCSliderAccessibilityAction={null}
onRNCSliderSlidingComplete={[Function]}
onRNCSliderSlidingStart={null}
onRNCSliderValueChange={null}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
step={0}
<View
onLayout={[Function]}
style={
[
{
"marginTop": 14,
"defaultIndicatorIdle": {
"backgroundColor": "#C0C0C0",
"height": 10,
"width": 2,
},
"defaultIndicatorMarked": {
"backgroundColor": "#CCCCCC",
"height": 20,
"width": 5,
},
"defaultSlider": {},
"defaultSlideriOS": {
"height": 40,
},
"sliderMainContainer": {
"width": "100%",
"zIndex": 1,
},
"stepIndicatorElement": {
"alignContent": "center",
"alignItems": "center",
},
"stepNumber": {
"alignItems": "center",
"marginTop": 20,
"position": "absolute",
},
"stepsIndicator": {
"flex": 1,
"flexDirection": "row",
"justifyContent": "space-between",
"top": 10,
"zIndex": 2,
},
"thumbImage": {
"alignContent": "center",
"alignItems": "center",
"position": "absolute",
},
"thumbImageContainer": {
"alignContent": "center",
"alignItems": "center",
"justifyContent": "center",
"position": "absolute",
"zIndex": 3,
},
"trackMarkContainer": {
"alignContent": "center",
"alignItems": "center",
"alignSelf": "center",
"justifyContent": "center",
"position": "absolute",
"zIndex": 3,
},
},
[
{
"marginTop": 14,
},
{
"height": 40,
},
],
{
"height": 40,
"justifyContent": "center",
},
]
}
tapToSeek={false}
thumbTintColor="#0F853B"
upperLimit={9007199254740991}
value={0}
/>
>
<RNCSlider
disabled={false}
inverted={false}
lowerLimit={-9007199254740991}
maximumTrackTintColor="#F9F9F9"
maximumValue={1000}
minimumTrackTintColor="#0F853B"
minimumValue={10}
onChange={[Function]}
onRNCSliderAccessibilityAction={null}
onRNCSliderSlidingComplete={[Function]}
onRNCSliderSlidingStart={null}
onRNCSliderValueChange={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
step={0}
style={
[
{
"width": 0,
"zIndex": 1,
},
{
"height": 40,
},
{
"alignContent": "center",
"alignItems": "center",
},
]
}
tapToSeek={false}
thumbTintColor="#0F853B"
upperLimit={9007199254740991}
/>
</View>
<Text.Primary
lightGray={true}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ exports[`<MonthlyEmissions /> render 1`] = `
onScrollEndDrag={[Function]}
removeClippedSubviews={false}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={[]}
style={
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exports[`<RecurringEmissionsScreen /> render 1`] = `
onScrollEndDrag={[Function]}
removeClippedSubviews={false}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={[]}
style={
{
Expand Down
73 changes: 37 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,54 +26,54 @@
"globalSetup": "./global-setup.js"
},
"dependencies": {
"@expo/vector-icons": "14.0.0",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/datetimepicker": "7.2.0",
"@react-native-community/slider": "4.4.2",
"@react-native-masked-view/masked-view": "0.2.9",
"@expo/vector-icons": "14.0.2",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.0.1",
"@react-native-community/slider": "4.5.2",
"@react-native-masked-view/masked-view": "0.3.1",
"@react-navigation/bottom-tabs": "6.4.0",
"@react-navigation/material-top-tabs": "6.3.0",
"@react-navigation/native": "6.0.13",
"@react-navigation/stack": "6.3.3",
"@reduxjs/toolkit": "1.8.6",
"carbon-footprint": "1.6.0",
"expo": "49.0.0",
"expo-application": "5.3.0",
"expo-asset": "8.10.1",
"expo-barcode-scanner": "12.5.3",
"expo-constants": "14.4.2",
"expo-device": "5.4.0",
"expo-document-picker": "11.5.4",
"expo-file-system": "15.4.4",
"expo-font": "11.4.0",
"expo-linking": "5.0.2",
"expo-localization": "14.3.0",
"expo-notifications": "0.20.1",
"expo-sharing": "11.5.0",
"expo-status-bar": "1.6.0",
"expo-store-review": "6.4.0",
"expo-updates": "0.18.17",
"expo-web-browser": "12.3.2",
"expo": "51.0.17",
"expo-application": "5.9.1",
"expo-asset": "10.0.10",
"expo-barcode-scanner": "13.0.1",
"expo-constants": "16.0.2",
"expo-device": "6.0.2",
"expo-document-picker": "12.0.2",
"expo-file-system": "17.0.1",
"expo-font": "12.0.7",
"expo-linking": "6.3.1",
"expo-localization": "15.0.3",
"expo-notifications": "0.28.9",
"expo-sharing": "12.0.1",
"expo-status-bar": "1.12.1",
"expo-store-review": "7.0.2",
"expo-updates": "0.25.18",
"expo-web-browser": "13.0.3",
"i18n-js": "3.5.1",
"lodash.throttle": "4.1.1",
"moment": "2.24.0",
"ramda": "0.27.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "11.4.0",
"react-native": "0.72.6",
"react-native": "0.74.3",
"react-native-collapsible": "1.5.2",
"react-native-gesture-handler": "2.12.0",
"react-native-gesture-handler": "2.16.1",
"react-native-globalize": "4.5.1",
"react-native-keyboard-aware-scroll-view": "0.9.5",
"react-native-modal-datetime-picker": "14.0.1",
"react-native-pager-view": "6.2.0",
"react-native-pager-view": "6.3.0",
"react-native-progress": "5.0.1",
"react-native-reanimated": "3.3.0",
"react-native-reanimated": "3.10.1",
"react-native-render-html": "5.1.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "3.22.0",
"react-native-svg": "13.9.0",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-tab-view": "3.3.0",
"react-redux": "8.0.4",
"redux": "4.2.0",
Expand All @@ -83,21 +83,22 @@
"uuid": "3.4.0"
},
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/core": "7.24.0",
"@types/i18n-js": "3.0.2",
"@types/jest": "29.2.0",
"@types/node": "18.11.7",
"@types/ramda": "0.26.39",
"@types/react": "18.2.14",
"@types/react-dom": "18.0.10",
"@types/react": "18.2.79",
"@types/react-dom": "18.2.25",
"@types/react-native-vector-icons": "6.4.6",
"@types/react-redux": "7.1.24",
"@types/react-test-renderer": "18.0.0",
"@types/uuid": "3.4.6",
"@types/webpack-env": "1.18.0",
"@typescript-eslint/eslint-plugin": "5.59.7",
"@typescript-eslint/parser": "5.59.7",
"babel-preset-expo": "9.5.0",
"babel-plugin-module-resolver": "5.0.2",
"babel-preset-expo": "11.0.0",
"dotenv": "16.0.3",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
Expand All @@ -110,13 +111,13 @@
"front-matter": "3.1.0",
"glob": "7.1.6",
"husky": "4.2.5",
"jest": "29.2.1",
"jest-expo": "49.0.0",
"jest": "29.4.0",
"jest-expo": "51.0.3",
"markdown-it": "10.0.0",
"mockdate": "3.0.5",
"prettier": "2.1.2",
"prompt-sync": "4.2.0",
"typescript": "5.1.3"
"typescript": "5.3.3"
},
"husky": {
"hooks": {
Expand Down
Loading

0 comments on commit 94951fe

Please sign in to comment.