()
| 22 | * |
| 23 | */ |
| 24 | export function getDefaultRelease(): string | undefined { |
| 25 | if (notWeb()) { |
| 26 | // Mobile platforms use native release from the Release integration. |
| 27 | return undefined; |
| 28 | } |
| 29 | |
| 30 | // Web platforms (Expo Web) use the global release constants. |
| 31 | // Release set in the options is need for Session and Replay integrations. |
| 32 | return createReleaseFromGlobalReleaseConstants(); |
| 33 | } |
no test coverage detected