Skip to content

Commit

Permalink
[C-3510] Move mobile env from system config to ts env
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson committed Dec 14, 2023
1 parent 354a5b6 commit 9825bfd
Show file tree
Hide file tree
Showing 33 changed files with 394 additions and 349 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/api/topArtists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const topArtistsApi = createApi({
async fetch(_, context) {
const { env, fetch } = context

const response = await fetch(env.SUGGESTED_FOLLOW_HANDLES)
const response = await fetch(env.SUGGESTED_FOLLOW_HANDLES!)
const featuredArtists: ID[] = await response.json()
return await userApiFetch.getUsersByIds(
{ ids: featuredArtists },
Expand Down
8 changes: 4 additions & 4 deletions packages/common/src/messages/sign-on/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const finishProfilePageMessages = {
}

export const selectGenresPageMessages = {
header: 'Select Your Genres',
description: 'Start by picking some of your favorite genres.',
continue: 'Continue'
}
header: 'Select Your Genres',
description: 'Start by picking some of your favorite genres.',
continue: 'Continue'
}
73 changes: 70 additions & 3 deletions packages/common/src/services/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,79 @@ export type Environment = 'development' | 'staging' | 'production'

export type Env = {
AAO_ENDPOINT?: string
ADROLL_AVD_ID?: string
ADROLL_PIX_ID?: string
AMPLITUDE_API_KEY?: string
AMPLITUDE_PROXY?: string
AMPLITUDE_WRITE_KEY?: string
AUDIUS_URL?: string
BITSKI_CALLBACK_URL?: string
BITSKI_CLIENT_ID?: string
CACHE_PRUNE_MIN?: string
CLAIM_DISTRIBUTION_CONTRACT_ADDRESS?: string
CLAIMABLE_TOKEN_PDA?: string
CLAIMABLE_TOKEN_PROGRAM_ADDRESS?: string
COINFLOW_MERCHANT_ID?: string
EAGER_DISCOVERY_NODES?: string
ENTITY_MANAGER_ADDRESS?: string
ENVIRONMENT?: string
ETH_BRIDGE_ADDRESS?: string
ETH_NETWORK_ID?: string
ETH_OWNER_WALLET?: string
ETH_PROVIDER_URL?: string
ETH_REGISTRY_ADDRESS?: string
ETH_TOKEN_ADDRESS?: string
ETH_TOKEN_BRIDGE_ADDRESS?: string
EXPLORE_CONTENT_URL?: string
ENVIRONMENT?: Environment
ORACLE_ETH_ADDRESSES?: string
SUGGESTED_FOLLOW_HANDLES: string
FCM_PUSH_PUBLIC_KEY?: string
FINGERPRINT_ENDPOINT?: string
FINGERPRINT_PUBLIC_API_KEY?: string
GA_HOSTNAME?: string
GA_MEASUREMENT_ID?: string
GENERAL_ADMISSION?: string
GENERATE_SOURCEMAP?: string
HCAPTCHA_BASE_URL?: string
HCAPTCHA_SITE_KEY?: string
IDENTITY_SERVICE?: string
INSTAGRAM_APP_ID?: string
INSTAGRAM_REDIRECT_URL?: string
IS_PRODUCTION?: string
METADATA_PROGRAM_ID?: string
NOTIFICATION_URL?: string
OLD_WEB_APP_STATIC_SERVER_PORT?: string
OPENSEA_API_URL?: string
OPTIMIZELY_KEY?: string
ORACLE_ETH_ADDRESSES?: string
PAYMENT_ROUTER_PROGRAM_ID?: string
PUBLIC_HOSTNAME?: string
PUBLIC_PROTOCOL?: string
REACHABILITY_URL?: string
REACT_APP_STRIPE_CLIENT_PUBLISHABLE_KEY?: string
RECAPTCHA_SITE_KEY?: string
REGISTRY_ADDRESS?: string
REWARDS_MANAGER_PROGRAM_ID?: string
REWARDS_MANAGER_PROGRAM_PDA?: string
REWARDS_MANAGER_TOKEN_PDA?: string
SAFARI_WEB_PUSH_ID?: string
SCHEME?: string
SEGMENT_ELECTRON?: string
SEGMENT_MOBILE?: string
SEGMENT_WEB?: string
SENTRY_DSN?: string
SOL_BRIDGE_ADDRESS?: string
SOL_TOKEN_BRIDGE_ADDRESS?: string
SOLANA_CLUSTER_ENDPOINT?: string
SOLANA_FEE_PAYER_ADDRESS?: string
SOLANA_TOKEN_PROGRAM_ADDRESS?: string
SOLANA_WEB3_CLUSTER?: string
SUGGESTED_FOLLOW_HANDLES?: string
TIKTOK_APP_ID?: string
USDC_MINT_ADDRESS?: string
USER_METADATA_NODE?: string
USER_NODE?: string
WAUDIO_MINT_ADDRESS?: string
WEB3_NETWORK_ID?: string
WEB3_PROVIDER_URL?: string
WORMHOLE_ADDRESS?: string
WORMHOLE_RPC_HOSTS?: string
}
55 changes: 0 additions & 55 deletions packages/mobile/.env.dev
Original file line number Diff line number Diff line change
@@ -1,56 +1 @@
ENVIRONMENT=development
IS_PRODUCTION=true
USER_METADATA_NODE=http://audius-protocol-creator-node-1
AUDIUS_URL=https://staging.audius.co
USER_NODE=http://audius-protocol-creator-node-1
IDENTITY_SERVICE=http://audius-protocol-identity-service-1
HCAPTCHA_SITE_KEY=2abe61f1-af6e-4707-be19-a9a4146a9bea
HCAPTCHA_BASE_URL=https://staging.audius.co
AMPLITUDE_WRITE_KEY=abc
OPTIMIZELY_KEY=MX4fYBgANQetvmBXGpuxzF

REGISTRY_ADDRESS=0xCfEB869F69431e42cdB54A4F4f105C19C080A601
ENTITY_MANAGER_ADDRESS=0x254dffcd3277C0b1660F6d42EFbB754edaBAbC2B
WEB3_PROVIDER_URL=http://audius-protocol-poa-ganache-1

ETH_REGISTRY_ADDRESS=0xABbfF712977dB51f9f212B85e8A4904c818C2b63
ETH_PROVIDER_URL=http://audius-protocol-eth-ganache-1
ETH_TOKEN_ADDRESS=0xdcB2fC9469808630DD0744b0adf97C0003fC29B2
ETH_OWNER_WALLET=0x855FA758c77D68a04990E992aA4dcdeF899F654A

SOLANA_WEB3_CLUSTER=devnet
SOLANA_CLUSTER_ENDPOINT=http://audius-protocol-solana-test-validator-1
WAUDIO_MINT_ADDRESS=37RCjhgV1qGV2Q54EHFScdxZ22ydRMdKMtVgod47fDP3
USDC_MINT_ADDRESS=26Q7gP8UfkDzi7GMFEQxTJaNJ8D2ybCUjex58M5MLu8y
SOLANA_TOKEN_PROGRAM_ADDRESS=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
SOLANA_FEE_PAYER_ADDRESS=E3CfijtAJwBSHfwFEViAUd3xp7c8TBxwC1eXn1Fgxp8h
CLAIMABLE_TOKEN_PROGRAM_ADDRESS=testHKV1B56fbvop4w6f2cTGEub9dRQ2Euta5VmqdX9
REWARDS_MANAGER_PROGRAM_ID=testLsJKtyABc9UXJF8JWFKf1YH4LmqCWBC42c6akPb
REWARDS_MANAGER_PROGRAM_PDA=FRk4j95RG2kSk3BHXBPVgKszFc2rLQ8K6RS83k3dmzvQ
REWARDS_MANAGER_TOKEN_PDA=FRk4j95RG2kSk3BHXBPVgKszFc2rLQ8K6RS83k3dmzvQ
PAYMENT_ROUTER_PROGRAM_ID=apaySbqV1XAmuiGszeN4NyWrXkkMrnuJVoNhzmS1AMa

METADATA_PROGRAM_ID=metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s

CACHE_PRUNE_MIN=250

PUBLIC_PROTOCOL=https:
PUBLIC_HOSTNAME=staging.audius.co
GA_HOSTNAME=staging.audius.co
REACHABILITY_URL=https://staging.audius.co/204

SCHEME=audius-staging

EXPLORE_CONTENT_URL=https://download.staging.audius.co/static-resources/explore-content.json
SUGGESTED_FOLLOW_HANDLES=https://download.staging.audius.co/static-resources/signup-follows.json
EAGER_DISCOVERY_NODES=https://discoveryprovider.staging.audius.co,https://discoveryprovider2.staging.audius.co,https://discoveryprovider3.staging.audius.co

SENTRY_DSN=https://4b15a7a2f2e2459997408b39a0c4942c@s.audius.co/1851611
RECAPTCHA_SITE_KEY=6LfVR-0ZAAAAADFcqNM1P1IafKwQwN0E_l-gxQ9q
HCAPTCHA_SITE_KEY=2abe61f1-af6e-4707-be19-a9a4146a9bea

OPENSEA_API_URL=https://rinkeby-api.opensea.io/api/v1

REACT_APP_STRIPE_CLIENT_PUBLISHABLE_KEY=

COINFLOW_MERCHANT_ID=audius
97 changes: 0 additions & 97 deletions packages/mobile/.env.prod
Original file line number Diff line number Diff line change
@@ -1,98 +1 @@
ENVIRONMENT=production
IS_PRODUCTION=true
USER_METADATA_NODE=https://usermetadata.audius.co
AUDIUS_URL=https://audius.co
USER_NODE=https://usermetadata.audius.co
IDENTITY_SERVICE=https://identityservice.audius.co
HCAPTCHA_SITE_KEY=b250803e-dcba-428c-bc87-8acf559aacb9
HCAPTCHA_BASE_URL=https://audius.co
AMPLITUDE_WRITE_KEY=abc
OPTIMIZELY_KEY=DAJbGEJBC21dzFRPv8snxs

GENERAL_ADMISSION=https://general-admission.audius.co

REGISTRY_ADDRESS=0xC611C82150b56E6e4Ec5973AcAbA8835Dd0d75A2
ENTITY_MANAGER_ADDRESS=0x1Cd8a543596D499B9b6E7a6eC15ECd2B7857Fd64
WEB3_PROVIDER_URL=https://poa-gateway.audius.co
WEB3_NETWORK_ID=99

ETH_REGISTRY_ADDRESS=0xd976d3b4f4e22a238c1A736b6612D22f17b6f64C
ETH_PROVIDER_URL=https://eth.audius.co
ETH_NETWORK_ID=1
ETH_TOKEN_ADDRESS=0x18aAA7115705e8be94bfFEBDE57Af9BFc265B998
ETH_OWNER_WALLET=0xC7310a03e930DD659E15305ed7e1F5Df0F0426C5
WORMHOLE_ADDRESS=0x6E7a1F7339bbB62b23D44797b63e4258d283E095
CLAIM_DISTRIBUTION_CONTRACT_ADDRESS=0x683c19E621A0F107a291fdAB38f80179809d61B5

SOLANA_WEB3_CLUSTER=mainnet-beta
SOLANA_CLUSTER_ENDPOINT=https://audius-fe.rpcpool.com
WAUDIO_MINT_ADDRESS=9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM
USDC_MINT_ADDRESS=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
SOLANA_TOKEN_PROGRAM_ADDRESS=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
CLAIMABLE_TOKEN_PDA=5ZiE3vAkrdXBgyFL7KqG3RoEGBws4CjRcXVbABDLZTgx
SOLANA_FEE_PAYER_ADDRESS=pqx3fvvh6b2eZBfLhTtQ5KxzU3CginmgGTmDCjk8TPP
CLAIMABLE_TOKEN_PROGRAM_ADDRESS=Ewkv3JahEFRKkcJmpoKB7pXbnUHwjAyXiwEo4ZY2rezQ
REWARDS_MANAGER_PROGRAM_ID=DDZDcYdQFEMwcu2Mwo75yGFjJ1mUQyyXLWzhZLEVFcei
REWARDS_MANAGER_PROGRAM_PDA=71hWFVYokLaN1PNYzTAWi13EfJ7Xt9VbSWUKsXUT8mxE
REWARDS_MANAGER_TOKEN_PDA=3V9opXNpHmPPymKeq7CYD8wWMH8wzFXmqEkNdzfsZhYq
PAYMENT_ROUTER_PROGRAM_ID=paytYpX3LPN98TAeen6bFFeraGSuWnomZmCXjAsoqPa

WORMHOLE_RPC_HOSTS=https://wormhole-v2-mainnet-api.certus.one,https://wormhole.inotel.ro,https://wormhole-v2-mainnet-api.mcf.rocks,https://wormhole-v2-mainnet-api.chainlayer.network,https://wormhole-v2-mainnet-api.staking.fund,https://wormhole-v2-mainnet-api.chainlayer.network
ETH_BRIDGE_ADDRESS=0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B
ETH_TOKEN_BRIDGE_ADDRESS=0x3ee18B2214AFF97000D974cf647E7C347E8fa585
SOL_BRIDGE_ADDRESS=worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth
SOL_TOKEN_BRIDGE_ADDRESS=wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb

METADATA_PROGRAM_ID=metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s

CACHE_PRUNE_MIN=250

GA_MEASUREMENT_ID=UA-120325397-2

PUBLIC_PROTOCOL=https:
PUBLIC_HOSTNAME=audius.co
GA_HOSTNAME=audius.co
REACHABILITY_URL=https://audius.co/204
NOTIFICATION_URL=https://download.audius.co/whatsnew

SCHEME=audius

EXPLORE_CONTENT_URL=https://download.audius.co/static-resources/explore-content.json
SUGGESTED_FOLLOW_HANDLES=https://download.audius.co/static-resources/signup-follows.json
EAGER_DISCOVERY_NODES=https://discoveryprovider.audius.co,https://discoveryprovider2.audius.co,https://discoveryprovider3.audius.co

SENTRY_DSN=https://e26d2b01488f4b538ea235de6466c40a@s.audius.co/1457231

SEGMENT_WEB=mGyaUaZz6IZwAM6taytNhubjCX4RPR0x
SEGMENT_MOBILE=AbVxGDZBuVRCAVuhRaoF3cNsOB3vUCos
SEGMENT_ELECTRON=eMGe35ghRLWsEWX9EpzblQInDH1CmzAa
AMPLITUDE_API_KEY=86760558b8bb1b3aae61656efd4ddacb
AMPLITUDE_PROXY=https://gain.audius.co
ADROLL_AVD_ID=SDJ23TS7DBFPLMXRDF6JQY
ADROLL_PIX_ID=JZSZK5GWHBFL3FQ3NRFPNY
FCM_PUSH_PUBLIC_KEY=BDBRR9S_UczQBflfaFPQf1JuCIZhMk90G_QnRI9wWuoObt7Ck6sRCxPDJfB_mJY3p55WdAO4C4xVJTAMoiv6JJQ
SAFARI_WEB_PUSH_ID=web.co.audius

OPTIMIZELY_KEY=DAJbGEJBC21dzFRPv8snxs
INSTAGRAM_APP_ID=189700309435573
INSTAGRAM_REDIRECT_URL=https://audius.co/
TIKTOK_APP_ID=awa9re2w7ec3xrn6

GENERATE_SOURCEMAP=false

RECAPTCHA_SITE_KEY=6LfVR-0ZAAAAADFcqNM1P1IafKwQwN0E_l-gxQ9q
HCAPTCHA_SITE_KEY=b250803e-dcba-428c-bc87-8acf559aacb9

BITSKI_CLIENT_ID=661ce11a-3e0f-4659-b365-795ad2111f42
BITSKI_CALLBACK_URL=https://audius.co/bitski-callback.html

OPENSEA_API_URL=https://collectibles.audius.co/api/v1

FINGERPRINT_PUBLIC_API_KEY=MNtDQ4NCsNSP7YOkOiQT
FINGERPRINT_ENDPOINT=https://fp.audius.co

OLD_WEB_APP_STATIC_SERVER_PORT=3100

REACT_APP_STRIPE_CLIENT_PUBLISHABLE_KEY=pk_live_51LPsGuCJOWtpH6AEKshlCs3L8QhAfevNvhev8K9a0u92O5ku83KRjLIqCdxgf3NhitdtmMGlw0Wjf33NjZJjZUBz006A3IoSiQ

COINFLOW_MERCHANT_ID=tikilabs
82 changes: 0 additions & 82 deletions packages/mobile/.env.stage
Original file line number Diff line number Diff line change
@@ -1,83 +1 @@
ENVIRONMENT=staging
IS_PRODUCTION=true
USER_METADATA_NODE=https://usermetadata.audius.co
AUDIUS_URL=https://staging.audius.co
USER_NODE=https://usermetadata.staging.audius.co
IDENTITY_SERVICE=https://identityservice.staging.audius.co
HCAPTCHA_SITE_KEY=2abe61f1-af6e-4707-be19-a9a4146a9bea
HCAPTCHA_BASE_URL=https://staging.audius.co
AMPLITUDE_WRITE_KEY=abc
OPTIMIZELY_KEY=MX4fYBgANQetvmBXGpuxzF

GENERAL_ADMISSION=https://general-admission.staging.audius.co

REGISTRY_ADDRESS=0x793373aBF96583d5eb71a15d86fFE732CD04D452
ENTITY_MANAGER_ADDRESS=0x1Cd8a543596D499B9b6E7a6eC15ECd2B7857Fd64
WEB3_PROVIDER_URL=https://poa-gateway.staging.audius.co
WEB3_NETWORK_ID=77
ETH_REGISTRY_ADDRESS=0xF27A9c44d7d5DDdA29bC1eeaD94718EeAC1775e3
ETH_PROVIDER_URL=https://eth.staging.audius.co
ETH_NETWORK_ID=5
ETH_TOKEN_ADDRESS=0x5375BE4c52fA29b26077B0F15ee5254D779676A6
ETH_OWNER_WALLET=
WORMHOLE_ADDRESS=0xf6f45e4d836da1d4ecd43bb1074620bfb0b7e0d7
CLAIM_DISTRIBUTION_CONTRACT_ADDRESS=0x74b89B916c97d50557E8F944F32662fE52Ce378d

SOLANA_WEB3_CLUSTER=mainnet-beta
SOLANA_CLUSTER_ENDPOINT=https://audius-fe.rpcpool.com
WAUDIO_MINT_ADDRESS=BELGiMZQ34SDE6x2FUaML2UHDAgBLS64xvhXjX5tBBZo
USDC_MINT_ADDRESS=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
SOLANA_TOKEN_PROGRAM_ADDRESS=TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
CLAIMABLE_TOKEN_PDA=Aw5AjygeMf9Nvg61BXvFSAzkqxcLqL8koepb14kvfc3W
SOLANA_FEE_PAYER_ADDRESS=E3CfijtAJwBSHfwFEViAUd3xp7c8TBxwC1eXn1Fgxp8h
CLAIMABLE_TOKEN_PROGRAM_ADDRESS=2sjQNmUfkV6yKKi4dPR8gWRgtyma5aiymE3aXL2RAZww
REWARDS_MANAGER_PROGRAM_ID=CDpzvz7DfgbF95jSSCHLX3ERkugyfgn9Fw8ypNZ1hfXp
REWARDS_MANAGER_PROGRAM_PDA=GaiG9LDYHfZGqeNaoGRzFEnLiwUT7WiC6sA6FDJX9ZPq
REWARDS_MANAGER_TOKEN_PDA=HJQj8P47BdA7ugjQEn45LaESYrxhiZDygmukt8iumFZJ
PAYMENT_ROUTER_PROGRAM_ID=sp38CXGL9FoWPp9Avo4fevewEX4UqNkTSTFUPpQFRry

METADATA_PROGRAM_ID=metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s

CACHE_PRUNE_MIN=250
NOTIFICATION_URL=https://download.staging.audius.co/notifications

PUBLIC_PROTOCOL=https:
PUBLIC_HOSTNAME=staging.audius.co
GA_HOSTNAME=staging.audius.co
REACHABILITY_URL=https://staging.audius.co/204

SCHEME=audius-staging

EXPLORE_CONTENT_URL=https://download.staging.audius.co/static-resources/explore-content.json
SUGGESTED_FOLLOW_HANDLES=https://download.staging.audius.co/static-resources/signup-follows.json
EAGER_DISCOVERY_NODES=https://discoveryprovider.staging.audius.co,https://discoveryprovider2.staging.audius.co,https://discoveryprovider3.staging.audius.co

SENTRY_DSN=https://4b15a7a2f2e2459997408b39a0c4942c@s.audius.co/1851611

SEGMENT_WEB=gDCBr11kRsaR4owd6WutXDQ2GjICZogl
SEGMENT_MOBILE=2foKN924MI4ZkzIuBzGVExkpBjZ3NpE6
SEGMENT_ELECTRON=v5lPmEQXo91XfB4fdqW8x6GCJQ9ZMnrq
AMPLITUDE_API_KEY=72a58ce4ad1f9bafcba0b92bedb6c33d
AMPLITUDE_PROXY=https://gain.audius.co
FCM_PUSH_PUBLIC_KEY=BIQQAP1Cb5LvBTkUknmRxCiQ-lHD1GjjsLFX4fo7c70FGHTSpN4iTNePCck7fCk9XBGIfwTxoDbNQO1vRiYSUFA
SAFARI_WEB_PUSH_ID=web.co.audius.staging
INSTAGRAM_APP_ID=2875320099414320
INSTAGRAM_REDIRECT_URL=https://staging.audius.co/
TIKTOK_APP_ID=awlrj83t4nx6qc5a

RECAPTCHA_SITE_KEY=6LfVR-0ZAAAAADFcqNM1P1IafKwQwN0E_l-gxQ9q
HCAPTCHA_SITE_KEY=2abe61f1-af6e-4707-be19-a9a4146a9bea

BITSKI_CLIENT_ID=7a543ec2-b55f-45d6-a5d4-0448c5a23485
BITSKI_CALLBACK_URL=https://staging.audius.co/bitski-callback.html

OPENSEA_API_URL=https://rinkeby-api.opensea.io/api/v1

FINGERPRINT_PUBLIC_API_KEY=Rz2A3Y5YGSg9K80VgKPi
FINGERPRINT_ENDPOINT=https://fp.staging.audius.co

OLD_WEB_APP_STATIC_SERVER_PORT=3101

REACT_APP_STRIPE_CLIENT_PUBLISHABLE_KEY=pk_test_51LPsGuCJOWtpH6AEZT3Wf2U2xmLZQrEV56yha7HEVTEyhYYVrWCdknml3t4gkSe9Nagd1o9Royy8zL3XEAmRzeHS00xAKTfgpi

COINFLOW_MERCHANT_ID=audius
5 changes: 2 additions & 3 deletions packages/mobile/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { AudiusQueryContext } from '@audius/common'
import { PortalProvider, PortalHost } from '@gorhom/portal'
import * as Sentry from '@sentry/react-native'
import { Platform, UIManager } from 'react-native'
import Config from 'react-native-config'
import {
SafeAreaProvider,
initialWindowMetrics
Expand All @@ -19,13 +18,13 @@ import { NotificationReminder } from 'app/components/notification-reminder/Notif
import OAuth from 'app/components/oauth/OAuth'
import { RateCtaReminder } from 'app/components/rate-cta-drawer/RateCtaReminder'
import { Toasts } from 'app/components/toasts'
import { env } from 'app/env'
import { useEnterForeground } from 'app/hooks/useAppState'
import { incrementSessionCount } from 'app/hooks/useSessionCount'
import { RootScreen } from 'app/screens/root-screen'
import { WalletConnectProvider } from 'app/screens/wallet-connect'
import { apiClient } from 'app/services/audius-api-client'
import { audiusBackendInstance } from 'app/services/audius-backend-instance'
import { env } from 'app/services/env'
import { setLibs } from 'app/services/libs'
import { remoteConfigInstance } from 'app/services/remote-config'
import { audiusSdk } from 'app/services/sdk/audius-sdk'
Expand All @@ -43,7 +42,7 @@ import { ThemeProvider } from './ThemeProvider'
import { AudiusTrpcProvider } from './TrpcProvider'

Sentry.init({
dsn: Config.SENTRY_DSN
dsn: env.SENTRY_DSN
})

const Airplay = Platform.select({
Expand Down
Loading

0 comments on commit 9825bfd

Please sign in to comment.