Commit f2b2afd
[SDK-115] Wire ci=true instrumentation arg + setAllowedProtocols(\"tester\")
Two small infra pieces that every BCIT test needs:
- run-e2e.sh now passes `ci=true` as an instrumentation argument so
tests can detect CI mode via InstrumentationRegistry.getArguments().
Env vars don't reach the test JVM through `am instrument`, so the
arg is the only reliable channel.
- BaseIntegrationTest.initializeIterableSDK now adds `tester` to
IterableConfig.allowedProtocols. BCIT campaigns use `tester://` deep
links; without this the SDK silently drops the URL before invoking
the URL handler. Matches iOS's
`config.allowedProtocols = ["tester", "https", "http"]`.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5a1db59 commit f2b2afd
2 files changed
Lines changed: 3 additions & 0 deletions
File tree
- .github/scripts
- integration-tests/src/androidTest/java/com/iterable/integration/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
0 commit comments