-
Notifications
You must be signed in to change notification settings - Fork 0
chore: removed old not used config #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { getEnvironmentInfo } from 'app.config' | ||
import easJson from 'eas.json' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i did try to build it through eas and try in testflight and it seemed to work fine. |
||
import { Platform } from 'react-native' | ||
|
||
import { config } from '~/config' | ||
|
||
const applicationIdProd = config.applicationIdProd | ||
const appleIdProd = config.appleIdProd | ||
const applicationIdProd = getEnvironmentInfo('production').appIdentifier | ||
const appleIdProd = easJson.submit.production.ios.ascAppId | ||
|
||
type StoreLink = { | ||
storeURI: string | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a good practice to import anything from the app config? Is the app config actually bundled with the app? Shouldn't we rather use expo constants for this?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it is bundled yes. It should just be a file like any other. I don't think importing from it should create any issues.