2
我試圖將Firebase動態鏈接集成到我的應用程序(目前不使用其他Firebase組件)。我在文檔中提供的所有步驟去了,但我不能使用Firebase動態鏈接打開應用程序,但創建了未調用的偵聽活動(Android)
AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, autoLaunchDeepLink);
更多了,我試圖登錄,並在活動的onCreate顯示舉杯接收深層鏈接意圖過濾器被附加到,但看起來即使是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.
我在做什麼錯?
確保在API控制檯上啓用** AppInvite.API **。 – pRaNaY
您的網址可能有問題。從Firebase控制檯獲取長版本並進行調查。如果您沒有看到任何問題,請在此處將其添加到您的問題中。 – diidu
這是一個與我下載的google-services.json文件有問題的包名稱錯誤。對不起,浪費你寶貴的時間。 –