Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SDK를 연동하면서 증가하는 APK의 용량은 다음 문서를 통해 참고 부탁드립니다. (SDK Size/wiki/spaces/DEV/pages/997688754)


Installation

Tip

다음 샘플 코드를 통해, 실제 구현에 사용된 예제를 참고할 수 있습니다: github sample code (링크)

...

Code Block
languagejava
repositories {
    maven { url "https://dl.bintraybuzzvil.com/buzzvilpublic/maven/" }
}

...

dependencies {
    // 예시에 적혀진 버전을 '연동하려는 버전'으로 교체해 주세요. 
    implementation ("com.buzzvil:buzzad-benefit:1.7.+") {
    
        // 현재 Pop 을 연동하고 있지 않다면 아래 코드를 추가해야 합니다.
        exclude group: 'com.buzzvil', module: 'buzzad-benefit-pop'
        // 현재 Notification 을 연동하고 있지 않다면 아래 코드를 추가해야 합니다.
        exclude group: 'com.buzzvil', module: 'buzzad-benefit-notification'
    }
    // 베네핏 1.6.9 버전을 연동하는 경우 아래의 코드를 추가해야 합니다.
    implementation "com.buzzvil:buzzresource:0.0.5"
}

...

  1. 아래 예시와 같이 VOC 페이지 로드를 위한 유저 진입 Icon/Tab을 디자인 합니다.

    단, Type B - Feed를 사용하시면서 Toolbar를 Customize 하지 않고 Default Toolbar를 사용하시는 경우 예시 중 2번과 같은 아이콘이 이미 디자인에 포함되어 있습니다.

  2. 1번의 Icon/Tab이 클릭될 때 Benefit.getInstance().showInquiryPage(context, unitId)을 호출합니다.

public void showInquiryPage(Context context, @Nullable final String unitId)을 사용하며, 입력한 지면(유닛) 기준으로 조회합니다. 앱 기준으로 조회할 경우 unitId 를 null 로 입력해야 합니다.

이 변경사항은 2.5 버전부터 적용되었으며, BuzzAdBenefit.getInstance().showInquiryPage(context) 에서 변경되었습니다.)