プロジェクト
GitHubで見る
singular-labs/Singular-SKAdNetwork-App
singular-labs/Singular-SKAdNetwork-App has 81 GitHub stars and 19 forks. GitHot measured 0 in 7 days and 0 in 15 days. Last checked 2026-11-18 11:42 UTC. Last push 2023-05-01.
計測したスター増加
- 24時間
- 更新が遅れています
- 7日間
- 0
- 15日間
- 0
- 1か月
- 更新が遅れています
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
Sample apps demonstrating the logic needed to implement SKAdNetwork as an ad network, publisher and advertiser.
データREADME.md
オリジナルSingular-SKAdNetwork-App
Sample apps demonstrating the logic needed to implement SKAdNetwork as an ad network, publisher and advertiser.
This repo contains:
- Advertiser sample app
- Publisher sample app
- A server that simulates an ad network API (including ad signing)
Note: to use SKAN 4 run the sample apps using XCode 14
How to Use the Advertiser Sample App
- Open
SingularAdvertiserSampleApp.xcodeproj - Run the app and follow the on-screen instructions
How to Use the Publisher Sample App
- Open
SingularPublisherSampleApp.xcodeproj - Make sure that the
skadnetwork_server.pyis running (instructions below) - Modify the consts placeholders in
ViewController.mto set your own parameters - Follow the steps in
ViewController.mstarting inshowAdClick - Run the app and follow the on-screen instructions
How to Run skadnetwork_server.py
- Place your private key (see below on how to generate it) in the same directory as the server in a file called
key.pem cd skadnetwork-serverpip install -r requirements.txt(make sure you are using python3)python skadnetwork_server.py
Now you should have a server listening on port 8000 that serves ad network responses to the publisher sample app.
How to generate your public-private key pair
- SKAdNetwork uses an ECDSA keypair with the
prime256v1curve, generate it by using:openssl ecparam -name prime256v1 -genkey -noout -out companyname_skadnetwork_private_key.pem - For more details see Apple's instructions Here
To learn more about Singular visit: https://www.singular.net