> ## Documentation Index
> Fetch the complete documentation index at: https://help.airbridge.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 트러블 슈팅 - 엑스포 SDK (Deprecated)

<AccordionGroup>
  <Accordion title="expo-route">
    기존에 expo-route 를 사용중인 경우 SDK 설치 후 expo-route 기능이 동작 하지 않습니다.

    Airbridge tracking link 를 통해서 app 진입 시 진입한 링크를 airbridge 를 통해서 scheme deeplink 로 변환 처리 후 route 처리가 되어야 합니다. 그러나 expo-router 로 인해 route 처리가 중복, 잘못된 이동 등과 같은 옳지 않은 방향으로 처리 될 수 있습니다.

    그리하여 Airbridge Expo SDK 에서 Deeplink 를 route 처리되도록 설계 되었습니다.

    아래 코드와 같이 `airbridge.deeplink.setDeeplinkListener` 내에서 route 되도록 처리 해주세요.

    ```dart lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
    import * as Router from 'expo-router';

    const router = Router.useRouter();

    airbridge.deeplink.setDeeplinkListener((_deeplink) => {
      // route deeplink
      router.push(...);
    });
    ```
  </Accordion>

  <Accordion title="Webcredentials">
    App 에서 [Autofill](https://developer.apple.com/documentation/security/password-autofill) 기능을 사용해 비밀번호를 저장하는 경우 `webcredentials:...` 설정이 되어 있지 않으면 비밀번호가 `applinks:YOUR_APP_NAME.airbridge.io` 또는 `applinks:YOUR_APP_NAME.abr.ge` 의 도메인에 저장됩니다.

    비밀번호가 저장되는 도메인을 변경하고 싶다면, `example.com` 을 `설정할 도메인` 으로 변경해서 아래와 같이 설정해주세요.

    1. `https://example.com/.well-known/apple-app-site-association`주소에서 아래 내용을 호스팅 합니다.

    ```json lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
    {
        "webcredentials": {
            "apps": ["TEAM_ID.APP_BUNDLE_ID"]
        }
    }
    ```

    예) 9JA89QQLNQ.com.apple.wwdc

    2. `app.json` 에 `webcredentials:example.com`을 추가해주세요.

    ```json lines theme={"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}}
    {
      "expo": {
        "ios": {
          "associatedDomains": [
            "webcredentials:example.com"
          ]
        }
      }
    }
    ```
  </Accordion>
</AccordionGroup>
