Skip to content

Commit

Permalink
Remove external URLs from the example app
Browse files Browse the repository at this point in the history
  • Loading branch information
JD557 committed Oct 3, 2024
1 parent 32e582d commit cd93336
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ public class JavaActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

Channel trackEndpoint = new Channel(Uri.parse("http://tr.cdp.velocidi.com/events"), true);
Channel matchEndpoint = new Channel(Uri.parse("http://match.cdp.velocidi.com/match"), true);
// Example: https://tr.cdp.example.audience.kevel.com/events
Channel trackEndpoint = new Channel(Uri.parse("http://localhost"), true);
// Example: https://match.cdp.example.audience.kevel.com/events
Channel matchEndpoint = new Channel(Uri.parse("http://localhost"), true);
Config config = new Config(trackEndpoint, matchEndpoint);

Velocidi.init(config, this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ class SampleApplication : Application() {
override fun onCreate() {
super.onCreate()

val trackEndpoint = Channel(Uri.parse("http://tr.cdp.velocidi.com/events"), true)
val matchEndpoint = Channel(Uri.parse("http://match.cdp.velocidi.com/match"), true)
// Example: https://tr.cdp.example.audience.kevel.com/events
val trackEndpoint = Channel(Uri.parse("http://localhost"), true)
// Example: https://match.cdp.example.audience.kevel.com/events
val matchEndpoint = Channel(Uri.parse("http://localhost"), true)
val config = Config(trackEndpoint, matchEndpoint)

// OR
Expand Down

0 comments on commit cd93336

Please sign in to comment.