Evva
Evva automatically generates code for triggering events based on a Google Sheets specification. It generates code for both Swift (iOS) and Kotlin (Android).
Instalation
gem install evva
Usage
- Open the terminal in app project base
- Run
evva
- That's it (given that someone already configured Evva)
Configuration
Evva's configuration comes from a evva_config.yml file that should be placed on your app root directory. The .yml file has the following structure.
type: Android|iOS
data_source:
type: google_sheet
events_url: <GOOGLE-DRIVE-EVENTS-SHEET-URL>
people_properties_url: <GOOGLE-DRIVE-PEOPLE-PROPERTIES-SHEET-URL>
enum_classes_url: <GOOGLE-DRIVE-ENUM-CLASSES-SHEET-URL>
out_path: /folder/where/analytics/classes/are
event_file_name: /file/with/tracking/functions
event_enum_file_name: /file/with/event/names
people_file_name: /file/with/people/properties
people_file_name: /file/with/people/property/names
destinations_file_name: /file/with/destinations
special_enum_file_name: /file/with/special/enum/properties/