2

Firebase 동적 링크를 내 앱에 통합하려고합니다 (현재 다른 firebase 구성 요소를 사용하지 않습니다). 나는 문서에 주어진 모든 단계를 가서하지만, 내가 로그인 한 활동에서 onCreate에 축배를 표시하기 위해 노력하고있어Firebase 동적 링크는 앱을 엽니 다. 그러나 듣기 작업이 호출되지 않은 경우 onCreate (Android)

AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, autoLaunchDeepLink); 

더 이상 사용하여 딥 링크를 수신 할 수 없습니다 오전 의도 필터가 첨부되어 있지만 oncreate가 호출되지 않는 것처럼 보입니다. 인 텐트 필터를 제거하면 동적 링크가 내 런처 활동을 대신 엽니 다. 이 내가 잘못하고있는 중이 야 무슨 의도 필터

<activity android:name=".receiver.DynamicLinkReceiver"> 
     <intent-filter> 
      <action android:name="android.intent.action.VIEW"/> 
      <category android:name="android.intent.category.DEFAULT"/> 
      <category android:name="android.intent.category.BROWSABLE"/> 
      <data android:host="licsuperagent.com" android:scheme="http"/> 
      <data android:host="licsuperagent.com" android:scheme="https"/> 
     </intent-filter> 
</activity> 

통해 제공되는 유일한 로그 메시지,

com.xx.xx D/FirebaseApp: Notifying background state change listeners. 

을 추가 한 방법이다?

+0

** API 콘솔에서 ** AppInvite.API **를 사용하도록 설정해야합니다. – pRaNaY

+0

URL에 문제가있을 수 있습니다. Firebase 콘솔에서 긴 버전을 가져 와서 조사하십시오. 문제가 보이지 않으면 여기에 질문을 추가하십시오. – diidu

+0

다운로드 한 google-services.json 파일에 문제가있어서 패키지 이름에 오류가 있습니다. 귀중한 시간을 낭비해서 죄송합니다. –

답변

0

문제는 릴리스 빌드 패키지 용으로 생성 된 google-services.json 파일을 사용했기 때문에 내 dev 빌드에서 동일한 파일을 사용하고있었습니다. 도움을 주신 모든 분들께 감사드립니다.

누구나 동일한 문제가 발생하면 개발자 빌드 패키지의 Firebase에서 다른 google-services.json 파일을 만들어야합니다.