What to test on
The SDK’s supported range, and what Almedia tests against:
iOS and Android do differ, in one place that matters. iOS needs a non-empty
NSUserTrackingUsageDescription, and the advertising identifier is only read once the player
grants tracking. Android needs minSdkVersion 23 or higher in the Gradle template. Cover both
platforms rather than assuming a pass on one carries.
Which build talks to what
Pointing a development build at the testing backend keeps your test sessions out of production,
where they cannot be removed. It needs SDK 1.3.2 or newer, and the backend is set in code
under
DEVELOPMENT_BUILD so release builds are unaffected:
Initialize rather than quietly falling back to production, and a release build that still
contains the testing URL does not compile.
TODO(copy) — the testing backend host and console URL.The testing backend is not public yet, so the code above cannot be completed and the
device-testing route is unavailable to partners. The editor mock below is the working
alternative in the meantime.
Driving the states without waiting
Most of a Link integration can be tested inside the Unity editor, with no device build and no backend. Play Mode falls back to a mock that drives the SDK, andAlmediaEditorMock puts it
into any state in one line:
NotAvailable, Blocked, Disabled, every error code, empty or oversized notification
batches) needs an explicit call. The first call switches the mock to manual mode for the rest
of the session, so a state set right after Initialize cannot be overwritten by the canned
sequence.
This is the fastest way to answer “what does the player see when it goes wrong”, which is the
half of QA that device testing tends to skip. The
integration guide lists every method.
Re-testing on the same device
There is no unlink in the SDK. Once a test account has linked, that device will not show the linking flow again, which makes a second run awkward. Two ways round it:- Delete the Freecash user, from Profile → Settings inside the Freecash flow. This is the cleaner option.
- Reset the app and the advertising ID. This works, but every run leaves behind an orphaned player record on Almedia’s side, so it is worth avoiding where you can.
A first-class testing environment is being built and will replace both of these. Until it
ships, deleting the Freecash user is the recommended route.
Next: the test checklist
What to exercise once the build is ready.
Unfamiliar with a term on this page? The glossary explains the vocabulary used across this site.