Introduction
Welcome to the VGP iOS SDK documentation. This guide walks you through setup, configuration, and integration for native iOS projects.
- Current version: 6.0.1
- Minimum iOS: 13.0
- Xcode: 16+
- Maintainer: VGP Tech Team
Installation
Install via CocoaPods — the framework and resource bundle are included automatically:
pod 'VGPSDK', '~> 6.0.1'
No manual framework or bundle copying is required since v5.1.2+. See Development Environment for the full Podfile setup.
Required files to copy from the sample project into your app:
| File | Purpose |
|---|---|
GoogleService-Info.plist | Firebase configuration |
vgp_config.json | VGP platform configuration |
What you can do
- Authentication — VGP native account, Apple Sign-In, Google Sign-In, Facebook Login, Guest (Quick Play)
- In-app purchases — StoreKit 1 with server-side verification
- Analytics events — character creation, tutorial complete, level up, VIP level up, purchase (Firebase, Facebook, Adjust, TikTok)
- Push notifications — Firebase Cloud Messaging registration & attribution
- Privacy manifest — App Store required reason APIs (UserDefaults, SystemBootTime, DiskSpace)
If you are using SceneDelegate (iOS 13+), the SDK provides convenience hooks — see SDK Integration.