Bridge Test

Fan Meal Campaign

Checks that the McDonald's app bridge returns the logged-in user.

Result

Bridge object foundwindow.mcd Checking
Bridge messaging availablemcd.bridge.message Checking
User request{ getuser: true } Waiting

Bridge response

—

How to test

  1. Open this page inside the McDonald's app while logged in. In a normal browser, mcd does not exist and the first check will fail.
  2. Wait for the three checks above to finish (up to about 15 seconds).
  3. Tap Copy result and send us the text, or send a screenshot.

If the first check fails inside the app, the bridge may need to be loaded separately. Please let us know how other bridge apps load it.

What this page runs

The same call as fetchBridgeUser() in the bridge interface docs:

const userMsg = mcd.bridge.message("user");
userMsg.send({ getuser: true });
userMsg.on("data", (data) => { /* shown above */ });
userMsg.on("error", (err) => { /* shown above */ });
Environment details