Commit 371293e
authored
Fix OAuth redirect opening production app in dev builds (#5405)
## Summary
- Change default URL scheme in `Info.plist` from `omi-computer`
(production) to `omi-computer-dev`
- Add explicit `omi-computer` URL scheme override in `build.sh` and
`codemagic.yaml` for release builds
- Prevents dev/test builds from accidentally registering the production
OAuth redirect scheme
**Before:** Any manually created test bundle would steal the
`omi-computer://` scheme from the production app, causing OAuth login to
redirect to the wrong app.
**After:** Test bundles default to `omi-computer-dev://`, which doesn't
conflict with production. Release builds explicitly set
`omi-computer://`.
## Test plan
- [ ] `./run.sh` dev build uses `omi-computer-dev` scheme (already did
before, no change)
- [ ] `./build.sh` release build uses `omi-computer` scheme (new
explicit override)
- [ ] Manual test bundles (copying Info.plist) default to
`omi-computer-dev` (safe)
🤖 Generated with [Claude Code](https://claude.com/claude-code)3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2136 | 2136 | | |
2137 | 2137 | | |
2138 | 2138 | | |
| 2139 | + | |
2139 | 2140 | | |
2140 | 2141 | | |
2141 | 2142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments