> For a complete page index, fetch https://docs.transak.com/llms.txt

# Integration Update - iOS Motion Permission for iFrame

After an update by Transak's KYC provider, ID verification during KYC now asks iOS users for **Motion & Orientation** access, together with camera access. The provider uses the device's motion sensors as an extra check against fraud.

If you embed Transak in your own iframe, add the motion sensor permissions to the iframe's `allow` attribute. Without them, iOS users can't complete ID verification.

## What Changed

|                                                     | Before                        | Now                                                                   |
| --------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------- |
| **Permissions asked during ID verification on iOS** | Camera                        | Camera, and Motion & Orientation                                      |
| **iframe `allow` attribute**                        | `camera; microphone; payment` | `camera; microphone; payment; accelerometer; gyroscope; magnetometer` |

Inside an iframe, iOS shows the Motion & Orientation prompt only when the iframe allows the motion sensors (`accelerometer`, `gyroscope` and `magnetometer`). If they are missing, iOS never shows the prompt, and the user gets stuck at the ID verification step.

## Who Is Affected

| Integration                                                    | iOS (Browser)                                                         | iOS (WebView) | Android (WebView) |
| -------------------------------------------------------------- | --------------------------------------------------------------------- | ------------- | ----------------- |
| **[iFrame](/integration/web/iframe)** (single or double embed) | Action required Add the motion sensors to `allow`.                    | No change     | No change         |
| **[JavaScript SDK](/integration/web/js-sdk)**                  | Action required Update the JavaScript SDK to version 1.0.1 or later.  | No change     | No change         |
| **[Redirection](/integration/web/website-redirection)**        | No change The browser shows the prompt.                               | No change     | No change         |
| **[React Native](/integration/mobile/react-native)**           | No change The app doesn't show the prompt.                            | No change     | No change         |
| **[Headless KYC](/features/transak-kyc-headless)**             | Action required Update the Transak UI SDK to version 0.11.1 or later. | No change     | No change         |

**JavaScript SDK and Headless KYC:** update the JavaScript SDK to version 1.0.1 or later, and the Transak UI SDK for Headless KYC to version 0.11.1 or later.

## What to Do

#### Update the iframe allow attribute

Add `accelerometer; gyroscope; magnetometer` to the `allow` attribute of the iframe that loads the Transak widget:

```html
<iframe
  src="https://global.transak.com/?apiKey=<YOUR_API_KEY>&sessionId=<YOUR_SESSION_ID>"
  allow="camera; microphone; payment; accelerometer; gyroscope; magnetometer"
  style="height: 100%; width: 100%; border: none">
</iframe>
```

See [Single Embed iFrame](/integration/web/iframe#pass-the-widget-url-to-your-page).

#### Double embed: update both iframes

If Transak loads inside an iframe that is itself inside another iframe, add the same `allow` attribute to both the outer and the inner iframe. See [Double Embed iFrame](/integration/web/iframe#pass-the-widget-url-to-your-page-1).

#### Test on an iOS device

In staging, open your integration on an iOS device in Safari or another browser, such as Chrome. Start KYC with a [test account](/guides/sandbox-credentials#kyc) and check that:

* At the ID verification step, iOS shows the **Motion & Orientation Access** prompt.
* After you tap **Allow**, ID verification completes.

## What the User Sees

At the ID verification step, iOS asks the user to allow **Motion & Orientation Access**. When the user taps **Allow**, ID verification continues as before.

**If the user denies access:** ID verification can't be completed. iOS asks only once for each website, so the user must allow Motion & Orientation Access for the website in their iOS settings, then try again.

## References

#### [iFrame Integration](/integration/web/iframe)

Embed Transak in your website with an iframe.

#### [Sandbox Credentials](/guides/sandbox-credentials#kyc)

Test KYC in staging with test accounts.

## Need Assistance?

#### [Need Help?](/getting-started/help-and-support)

Contact the team and find resources to help with your integration.