0
내 Android 앱에 firebase 초대장을 추가하고 싶습니다. 내가 튜토리얼 (https://firebase.google.com/docs/invites/android)의 단계를 따라,하지만 난이 오류가REQUEST_INVITE을 (를) 확인할 수 없습니다.
내가 중포 기지 코어를 추가하고 나는 CONSOL의 동적 링크를 클릭 할 때 이미 내 응용 프로그램에 초대하고
기호 REQUEST_INVITE 확인할 수 없습니다, 그것을 아무것도 받아들이라고하지 않았다.
Gradle을 :
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:design:24.2.1'
compile 'com.google.firebase:firebase-ads:10.2.0'
compile 'com.google.firebase:firebase-invites:10.2.0'
compile 'com.google.firebase:firebase-core:10.2.0'
testCompile 'junit:junit:4.12'
}
apply plugin :'com.google.gms.google-services'
자바 파일 :
//sent Invite
private void onInviteClicked(){
Intent intent = new AppInviteInvitation.IntentBuilder(getString(R.string.invitation_title))
.setMessage(getString(R.string.invit_message))
.setCallToActionText(getString(R.string.invit_cta))
.build();
startActivityForResult(intent, REQUEST_INVITE);
}
구글 서비스 JSON :
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
또는 REQUEST_INVITE 우리가에 따라 설정해야 변수입니다 않습니다 플레이 스토에서 우리 앱의 ID? 그렇다면 ID를 시작하기 전에 ID를 알 수 있습니까?
는