-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57f4d8d
commit 3da6557
Showing
14 changed files
with
352 additions
and
158 deletions.
There are no files selected for viewing
Binary file modified
BIN
-596 Bytes
(100%)
...oj/project.xcworkspace/xcuserdata/lukasboehler.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GleapDelegate { | |
|
||
Gleap.setLanguage("de") | ||
|
||
//Gleap.setApiUrl("http://localhost:9000") | ||
// Gleap.setFrameUrl("http://localhost:3001/appnew.html") | ||
Gleap.initialize(withToken: "ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV") | ||
//Gleap.setApiUrl("http://0.0.0.0:9000") | ||
//Gleap.setFrameUrl("http://0.0.0.0:3001/appnew.html") | ||
Gleap.initialize(withToken: "vcxExo94dQQv7KIXd1BnMgN2bzpwZnoj") | ||
|
||
Gleap.sharedInstance().delegate = self | ||
|
||
|
@@ -29,18 +29,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GleapDelegate { | |
|
||
Gleap.showFeedbackButton(true) | ||
|
||
let userProperty = GleapUserProperty() | ||
userProperty.name = "Franz" | ||
userProperty.email = "[email protected]" | ||
userProperty.phone = "+1 (902) 123123" | ||
userProperty.value = 199.95 | ||
userProperty.companyId = "Gleap #123" | ||
userProperty.companyName = "Gleap GmbH" | ||
userProperty.plan = "Pro plan" | ||
userProperty.customData = [ | ||
"company": "ACME inc." | ||
] | ||
Gleap.identifyUser(with: "129833", andData: userProperty) | ||
let userProp = GleapUserProperty() | ||
userProp.name = "TEST1" | ||
userProp.email = "[email protected]" | ||
userProp.customData = ["test": "asdfasdf", "asdfasdfasdf": 123] | ||
|
||
Gleap.identifyContact("testuser2", andData: userProp) | ||
|
||
// Testing file attachments. | ||
if let data = "Dies ist ein test.".data(using: String.Encoding.utf8) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.