Skip to content

Commit

Permalink
fix: babel config, getBundleId, remove ios flipper, bump dependencies (
Browse files Browse the repository at this point in the history
  • Loading branch information
bpouzet authored Feb 22, 2024
1 parent c0552ef commit cb7c60e
Show file tree
Hide file tree
Showing 6 changed files with 500 additions and 445 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export default ({ config }: ConfigContext): MyExpoConfig => ({
//newArchEnabled: true,
},
ios: {
flipper: true,
//newArchEnabled: true,
},
},
Expand Down
6 changes: 1 addition & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ module.exports = function(api) {
api.cache(true) ;

return {
env: {
production: {
plugins: [ 'react-native-paper/babel' ],
},
},
plugins: [
[ 'react-native-paper/babel' ],
[
'module:react-native-dotenv', {
'envName': 'APP_ENV',
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,30 @@
"@react-navigation/native": "^6.1.4",
"@react-navigation/native-stack": "^6.9.18",
"@react-navigation/material-bottom-tabs": "^6.2.20",
"@sentry/react-native": "5.17.0",
"@sentry/react-native": "5.19.0",
"@shopify/flash-list": "1.6.3",
"@tanstack/query-async-storage-persister": "^5.18.1",
"@tanstack/react-query": "^5.18.1",
"@tanstack/react-query-persist-client": "^5.18.1",
"@tanstack/query-async-storage-persister": "^5.22.2",
"@tanstack/react-query": "^5.22.2",
"@tanstack/react-query-persist-client": "^5.22.2",
"babel-plugin-module-resolver": "^4.1.0",
"expo": "~50.0.6",
"expo": "~50.0.7",
"expo-application": "~5.8.3",
"expo-build-properties": "~0.11.1",
"expo-calendar": "~12.2.1",
"expo-community-add-event-to-calendar": "^0.10.0",
"expo-constants": "~15.4.5",
"expo-dev-client": "~3.3.8",
"expo-device": "~5.9.3",
"expo-font": "~11.10.2",
"expo-font": "~11.10.3",
"expo-image": "~1.10.6",
"expo-linear-gradient": "~12.7.1",
"expo-linear-gradient": "~12.7.2",
"expo-linking": "~6.2.2",
"expo-localization": "~14.8.3",
"expo-navigation-bar": "~2.8.1",
"expo-router": "~3.4.7",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo-updates": "~0.24.10",
"expo-updates": "~0.24.11",
"i18next": "^23.8.2",
"luxon": "^3.4.4",
"postinstall-postinstall": "^2.1.0",
Expand Down
5 changes: 3 additions & 2 deletions react-native-device-info.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Constants from 'expo-constants'

export const getVersion = () => {
return Constants.expoConfig?.version
module.exports = {
getBundleId: () => Constants.expoConfig?.ios?.bundleIdentifier,
getVersion: () => Constants.expoConfig?.version,
}
Loading

0 comments on commit cb7c60e

Please sign in to comment.