Cross-app messaging allows communication between a browser window (Requester) and a native application (Provider). For example, a web page may wish to read bluetooth data from the users smartphone.
- A native data provider app is installed on the phone, and registered to a unique protocol handler. For example, "bthack:---".
- Requester generates a secure random key (or loads the existing key cookie).
- Requester sends a one-way "access requested" message to Provider via the protocol handler