https://github.com/peak/skanpostback
https://github.com/peak/skanpostback
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/peak/skanpostback
- Owner: peak
- License: mit
- Created: 2021-09-06T15:19:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T14:22:36.000Z (over 3 years ago)
- Last Synced: 2025-02-15T19:48:50.696Z (over 1 year ago)
- Language: Go
- Size: 342 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# SKAdNetwork Postback Verify
This library helps to verify Apple SKAdNetwork postback data.
```
import (
https://github.com/peak/skanpostback
)
err := skanpostback.Verify(postbackDataBytes)
```
NOTE: It uses [forked](https://github.com/peak/certificate-transparency-go) version of [google/certificate-transparency-go](https://github.com/google/certificate-transparency-go) to parse Apple public keys.
So you should run below command to add replace setting to your own go.mod file:
```
go mod edit -replace="github.com/google/certificate-transparency-go@v1.1.1=github.com/peak/certificate-transparency-go@v0.0.0-p192"
```