Collect stats for Q42 internal usage, shared accross multiple iOS projects.
Q42Stats
into your iOS projectQ42Stats(options: .all)
.collect(window: window, completion: Q42Stats.submit(configuration: .myApp))
Note: Make sure you have the correct consent from the user before you call .collect()
.
Add to your Podfile
the following line:
pod 'Q42Stats', git: 'https://github.com/Q42/Q42Stats.git'
Also make sure you require iOS 11 or higher as the minimum target using: platform :ios, '11.0'
Add this repo as a dependency through Xcode: https://github.com/Q42/Q42Stats.git
extension Q42Stats.Configuration {
static let myApp = Q42Stats.Configuration(
apiKey: "secret",
firestoreCollection: "somecollection",
minimumSubmitInterval: 60*60*24*7.5
)
}
link |
Stars: 1 |
Last commit: 23 hours ago |
Accessibility pipeline
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics