-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from adzerk/version-bump
Update gradle and build plugins
- Loading branch information
Showing
21 changed files
with
585 additions
and
437 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Mon Mar 15 17:34:55 WET 2021 | ||
#Wed Oct 02 15:31:01 WEST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip |
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
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ import com.velocidi.Velocidi | |
import org.json.JSONObject | ||
|
||
class MainActivity : AppCompatActivity() { | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
setContentView(R.layout.activity_main) | ||
|
@@ -33,34 +32,48 @@ class MainActivity : AppCompatActivity() { | |
""".trimIndent() | ||
|
||
Velocidi.getInstance().track( | ||
UserId("user_email_hash", "email_sha256"), | ||
eventJsonString | ||
// [email protected] | ||
UserId( | ||
"388c735eec8225c4ad7a507944dd0a975296baea383198aa87177f29af2c6f69", | ||
"email_sha256", | ||
), | ||
eventJsonString, | ||
) | ||
|
||
val eventJsonObj = mapOf( | ||
"clientId" to "velocidi", | ||
"siteId" to "velocidi.com", | ||
"type" to "appView", | ||
"title" to "Welcome Screen", | ||
"customFields" to mapOf( | ||
"debug" to true, | ||
"role" to "superuser" | ||
val eventJsonObj = | ||
mapOf( | ||
"clientId" to "velocidi", | ||
"siteId" to "velocidi.com", | ||
"type" to "appView", | ||
"title" to "Welcome Screen", | ||
"customFields" to | ||
mapOf( | ||
"debug" to true, | ||
"role" to "superuser", | ||
), | ||
) | ||
) | ||
|
||
Velocidi.getInstance().track( | ||
UserId("user_email_hash", "email_sha256"), | ||
JSONObject(eventJsonObj) | ||
// [email protected] | ||
UserId( | ||
"388c735eec8225c4ad7a507944dd0a975296baea383198aa87177f29af2c6f69", | ||
"email_sha256", | ||
), | ||
JSONObject(eventJsonObj), | ||
) | ||
} | ||
|
||
matchButton.setOnClickListener { | ||
Velocidi.getInstance().match( | ||
"someProvider", | ||
"web", | ||
listOf( | ||
UserId("user_email_hash", "email_sha256"), | ||
UserId("user_advertising_id", "gaid") | ||
) | ||
// [email protected] | ||
UserId( | ||
"388c735eec8225c4ad7a507944dd0a975296baea383198aa87177f29af2c6f69", | ||
"email_sha256", | ||
), | ||
UserId("user_advertising_id", "gaid"), | ||
), | ||
) | ||
} | ||
} | ||
|
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.velocidi"/> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" /> |
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.