Edit sample file
Some checks failed
gitea-openium/resgen.swift/pipeline/pr-master There was a failure building this commit

This commit is contained in:
Loris Perret 2023-12-12 16:58:25 +01:00
parent f6c49bf626
commit 1d58fd5510
2 changed files with 20 additions and 8 deletions

View File

@ -169,19 +169,22 @@ class AnalyticsManager {
// MARK: - section_one
func logScreenS1DefOne() {
func logScreenS1DefOne(title: String) {
logScreen(
name: "s1 def one",
path: "s1_def_one/"
name: "s1 def one \(title)",
path: "s1_def_one/\(title)"
)
}
func logEventS1DefTwo() {
func logEventS1DefTwo(title: String, count: String) {
logEvent(
name: "s1 def two",
action: "test",
category: "test",
params: [:]
params: [
"title": title,
"count": count
]
)
}

View File

@ -3,9 +3,13 @@ categories:
- id: section_one
screens:
- id: s1_def_one
name: s1 def one
path: s1_def_one/
tags: ios
name: s1 def one _TITLE_
path: s1_def_one/_TITLE_
tags: ios,droid
parameters:
- name: title
type: String
replaceIn: name,path
events:
- id: s1_def_two
@ -13,6 +17,11 @@ categories:
action: test
category: test
tags: ios
parameters:
- name: title
type: String
- name: count
type: String
- id: section_two
screens: