Skip to content

Commit

Permalink
update expo sdk to v49 (#109)
Browse files Browse the repository at this point in the history
* update expo sdk to v49

fixes #102

* Update App.tsx

* Update App.tsx

* Update App.tsx
  • Loading branch information
BilligsterUser authored Jul 8, 2023
1 parent 2cbd775 commit ae786a6
Show file tree
Hide file tree
Showing 4 changed files with 1,996 additions and 3,756 deletions.
16 changes: 4 additions & 12 deletions config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ const IS_DEV = _appVariant === 'dev'
const IS_PREVIEW = _appVariant === 'preview'
const IS_PROD = _appVariant === 'prod'

const cameraPermission = 'Allow eNuts to access camera.'

const config: ExpoConfig = {
name: `eNuts${!IS_PROD ? ` (${_appVariant})` : ''}`,
slug: 'enuts',
Expand All @@ -61,18 +63,8 @@ const config: ExpoConfig = {
assetBundlePatterns: ['**/*'],
plugins: [
'expo-localization',
[
'expo-barcode-scanner',
{
cameraPermission: 'Allow eNuts to access camera.'
}
],
[
'expo-camera',
{
cameraPermission: 'Allow eNuts to access camera.'
}
],
['expo-barcode-scanner', { cameraPermission }],
['expo-camera', { cameraPermission }],
'sentry-expo'
],
ios: {
Expand Down
Loading

0 comments on commit ae786a6

Please sign in to comment.