To use Trikot.analytics/Firebase
with iOS, you must export analytics
and analytics-iosarm64
module in your exported framework. See Trikot.patron build.gradle file for a sample use case.
ENV['TRIKOT_FRAMEWORK_NAME']='ReplaceMeByTheFrameworkNameImportedByCocoaPods'
pod 'Trikot/analytics.Firebase', :git => 'https://github.com/mirego/trikot.git', :tag => properties['trikot_version']
Then, run pod install
.
Configure firebase like usual with ``
import Trikot_analytics
import Firebase
// in application didFinishLaunchingWithOptions
FirebaseApp.configure()
AnalyticsConfiguration().analyticsManager = FirebaseAnalyticsService()