iOS_Swift Getting Started - adxcorp/ADXLibrary_Integration GitHub Wiki

Getting started with ADXLibrary

κ°€μž…μ„ μ›ν•˜μ‹œλ©΄ [email protected]둜 연락 뢀탁 λ“œλ¦½λ‹ˆλ‹€.

0) Latest ADXLibrary

Version : 1.4.4

Release Date : 2018/05/23

1) Using Cocoapods

Podfile

pod 'ADXLibrary', :git => 'https://please:[email protected]/adxcorp/ADXLibrary_iOS.git', :tag => '1.4.4'

Install git-lfs

1) git-lfs install
brew install git-lfs

2) please put this command at your project folder
git lfs install

2) Project Setting

Info.plist

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

Build Settings

Enable Bitcode = NO

Pods ADXLibrary Target Build Settings

Other Linker Flags = add -ObjC 

Framework 포함

Link Binary With Libraries μ˜΅μ…˜μ— ADXLibrary λ°‘μ˜ Frameworks 쀑, FBAudienceNetwork.framework을 μ œμ™Έν•œ λ‚˜λ¨Έμ§€ λΌμ΄λΈŒλŸ¬λ¦¬λ“€μ„ μΆ”κ°€ν•©λ‹ˆλ‹€.

3) Rewarded Video 연동 선택

MoPub/AdMob 연동 μ½”λ“œλ₯Ό ν•¨κ»˜ μ‚¬μš©ν•˜μ‹œλ©΄ μ •μƒμ μœΌλ‘œ delegate method 호좜이 λ˜μ§€ μ•Šμ„ 수 μžˆμœΌλ―€λ‘œ, λ°˜λ“œμ‹œ ν•˜λ‚˜μ˜ 연동 μ½”λ“œλ§Œ μ‚¬μš©ν•΄μ£Όμ…”μ•Ό ν•©λ‹ˆλ‹€.

4) Add test device

AdMob Rewarded Videoλ₯Ό μ‚¬μš©ν•˜μ‹ λ‹€λ©΄ κ°œλ°œμ€‘μ—λŠ” λ°˜λ“œμ‹œ μ•„λž˜ λ‚΄μš©μ„ 따라 ν…ŒμŠ€νŠΈ λ””λ°”μ΄μŠ€λ₯Ό λ“±λ‘ν•˜μ—¬ μ§„ν–‰ν•΄μ£Όμ‹œκΈ° λ°”λžλ‹ˆλ‹€.

AdMob Rewarded Video μ½”λ“œκ°€ ν¬ν•¨λœ Application을 μ‹€ν–‰ν•˜λ©΄ μ•„λž˜μ™€ 같은 λ‘œκ·Έκ°€ 좜λ ₯λ©λ‹ˆλ‹€.

- iOS

 <Google> To get test ads on this device, call:
 request.testDevices = @[ "2077ef9a63d2b398840261c8221a0c9b" ];

이 device IDλ₯Ό λ³΅μ‚¬ν•˜μ—¬ ν…ŒμŠ€νŠΈ λ””λ°”μ΄μŠ€λ‘œ λ“±λ‘ν•΄μ£Όμ‹œλ©΄ λ©λ‹ˆλ‹€.

let request = GADRequest()
request.testDevices = ["2077ef9a63d2b398840261c8221a0c9b"]
⚠️ **GitHub.com Fallback** ⚠️