Flutter 스플래시 광고
스플래시 광고는 앱이 최초 실행될 때, 앱의 로고와 함께 화면 하단에 1초 내외의 짧은 시간동안 보여지는 광고를 말합니다. 앱 기동 시 Adrop SDK의 스플래시 광고 스크린이 가장 먼저 표시되도록 구현하여 자연스럽게 광고를 노출한 후 앱의 메인 화면으로 넘어갑니다.

디바이스별 자세한 사항은 아래 링크를 참고해주세요.
Android 스플래시 규격 확인하기 / iOS 스플래시 규격 확인하기
0 단계: 콘솔에서 광고 유닛 등록하기
Adrop 콘솔에서 팝업 광고 유닛을 생성합니다.

광고 유닛 리스트에서 생성된 유닛 아이디를 복사합니다.

1 단계 : 스플래시 광고 노출하기
Splash
PUBLIC_TEST_UNIT_ID_SPLASH
Step 1. Add resources
Replace your init activity, unit id
- values/theme.xml
replace parent to your application theme
- values-v31/theme.xml
Add your logo image (288x288) to
drawableand replacewindowSplashScreenAnimatedIconReplace
windowSplashScreenBackgroundto your splash background color
Step 2. Update Androidmanifest.xml
Androidmanifest.xmlStep 3. Add layout/activity_adrop_splash_ad.xml
layout/activity_adrop_splash_ad.xmlReplace your logo path and background color.
Do not remove
adrop_splash_ad_imageImageView for splash ad
Step 1. Change LaunchScreen.storyboard
LaunchScreen.storyboardAdd your logo image
Step 2. Update AppDelegate.swift
AppDelegate.swiftReplace your logo name, unit id. Customize background color, timeout if you want.
적용 확인하기
console에서 발급받은 unitId가 한 번이라도 request 가 들어가면 성공적으로 연결됩니다.
Last updated