Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 862 Bytes

File metadata and controls

27 lines (18 loc) · 862 Bytes

Trikot.analytics swift extensions

Installation

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.

Setup Pod dependency
  ENV['TRIKOT_FRAMEWORK_NAME']='ReplaceMeByTheFrameworkNameImportedByCocoaPods'
  pod 'Trikot/analytics.Firebase', :git => 'https://github.com/mirego/trikot.git', :tag => properties['trikot_version']

Then, run pod install.

Usage

Configure firebase like usual with ``

    import Trikot_analytics
    import Firebase

    // in application didFinishLaunchingWithOptions
    FirebaseApp.configure()
    AnalyticsConfiguration().analyticsManager = FirebaseAnalyticsService()