우리는 Android SDK에 지사 SDK를 통합했습니다. 다음은 매니페스트 세부 정보입니다. 작동하지 않는 시나리오는 다음Branch.io 링크가 앱에서 작동하지 않습니다.
Branch branch = Branch.getInstance();
branch.initSession(new Branch.BranchReferralInitListener() {
@Override
public void onInitFinished(JSONObject referringParams, BranchError error) {
if (error == null) {
// params are the deep linked params associated with the link that the user clicked before showing up
Log.i("BranchConfigTest", "deep link data: " + referringParams.toString());
}, this.getIntent().getData(), this);
을 다음과 같이
<intent-filter>
<data
android:host="open"
android:scheme="example" />
<data
android:host="bnc.lt"
android:scheme="https" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
초기화 코드 조각입니다.
1. 앱에서 분기 링크를 클릭하면 위 코드 조각의 referralParams가 비어 있습니다. 링크가 앱 외부에있는 경우 referralParams의 JSON String을 올바른 방식으로 수신 할 수 있습니다.
문제를 파악할 수 없습니다.
안녕하세요. 알렉스, 해결 방법을 제안 하시겠습니까? Google은 일반적으로 콘텐츠를 직접 볼 수 있도록 앱 내에서 콘텐츠에 대한 지원 링크를 사용자에게 보냅니다. – karan
내가 알고있는 것은 아니지만 새로운 개발이 있는지 Android 엔지니어링 팀에 확인해 보겠습니다. –