appbox-push가 앱에 포함됐는지 확인합니다. 푸시 설정 메뉴의 노출 여부를 빌드 구성에 따라 갈라야 할 때 사용합니다.Push 모듈 확인 | 초기화와 모듈 확인 | Appbox Android SDK 가이드
Push 모듈 확인
Push 모듈 확인
AppBox.isPushAvailable()
Kotlin
1
if (AppBox.isPushAvailable()) showPushSettingsMenu()
1
if (AppBox.isPushAvailable()) showPushSettingsMenu();
Request 항목 정의
| Request 항목 | 필수여부 | 설명 | 기본값 |
|---|---|---|---|
| - | - | 별도 요청 항목 없음 | - |
Response 항목 정의
| Response 결과값 | |
|---|---|
Boolean | appbox-push 포함 여부. 즉시 반환됩니다 |
모듈 확인 공통 계약을 따릅니다. true는 artifact 포함 여부만 뜻합니다. 초기화 설정에 push를 넣지 않았다면 대부분의 Push 함수는 실패합니다.