Amplitude analytics SDK for WatchOS.
dependencies: [ .package(url: "https://github.com/mohammad-rahchamani/Watchlitude.git", .upToNextMajor(from: "0.0.1")) ]
pod 'Watchlitude', '~> 0.0.1'
add
#import Watchlitude
at the top of you ExtensionDelegate.swift
inside applicationDidFinishLaunching
call Watchlitude.shared.initializeApiKey
with your amplitude API key and set device Id by calling Watchlitude.shared.setDeviceId
call Watchlitude.shared.logEvent