getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
325 stars 1.43k forks source link

what to do with the post publish hook in app.config.js when migrating to expo 50? #10200

Open bj97301 opened 3 months ago

bj97301 commented 3 months ago

Core or SDK?

Core Sentry product

Which part? Which one?

https://docs.sentry.io/platforms/react-native/migration/sentry-expo/

Description

https://docs.sentry.io/platforms/react-native/migration/sentry-expo/

docs dont say what to do with this:


export default () => ({
  expo: {
    name: 'xxx',
    slug: 'xxxx',
    owner: 'xxxx',
    version: 'xxx',
    jsEngine: 'hermes',
    icon: './assets/icon.png',
    userInterfaceStyle: 'dark',
    hooks: {
// what do i do with this in the app.config.js
      postPublish: [
        {
          file: 'sentry-expo/upload-sourcemaps',
          config: {
            organization: 'xxx',
            project: 'xxx',
          },
        },
      ],
    },

Suggested Solution

dunno what to do

getsantry[bot] commented 3 months ago

Assigning to @getsentry/support for routing ⏲️