diff --git a/sample-js-integration/RudderAndroidJS/app/build.gradle b/sample-js-integration/RudderAndroidJS/app/build.gradle index f05a244be..4e9e988e2 100644 --- a/sample-js-integration/RudderAndroidJS/app/build.gradle +++ b/sample-js-integration/RudderAndroidJS/app/build.gradle @@ -38,7 +38,4 @@ dependencies { implementation 'com.rudderstack.android.sdk:core:1+' // add the follwing line if you don't have Gson included already implementation 'com.google.code.gson:gson:2+' -} -repositories { - maven { url "https://dl.bintray.com/rudderstack/rudderstack" } } \ No newline at end of file diff --git a/sample-js-integration/RudderAndroidJS/app/src/main/java/com/example/rudderandroidjs/MainActivity.java b/sample-js-integration/RudderAndroidJS/app/src/main/java/com/example/rudderandroidjs/MainActivity.java index ff6872ad9..3f36c0ad4 100644 --- a/sample-js-integration/RudderAndroidJS/app/src/main/java/com/example/rudderandroidjs/MainActivity.java +++ b/sample-js-integration/RudderAndroidJS/app/src/main/java/com/example/rudderandroidjs/MainActivity.java @@ -77,7 +77,7 @@ public void onCreate(Bundle savedInstanceState) { mWebView.getSettings().setDatabasePath("/data/data/" + mWebView.getContext().getPackageName() + "/databases/"); } mWebView.addJavascriptInterface(new WebAppInterface(this), "Android"); - mWebView.loadUrl("https://odd-rat-19.loca.lt/Rectified.html"); + mWebView.loadUrl("https://giant-camels-taste-61-95-158-116.loca.lt/SampleJsApp.html"); mWebView.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { diff --git a/sample-js-integration/SampleJsApp.html b/sample-js-integration/SampleJsApp.html index e616d7853..3688199e9 100644 --- a/sample-js-integration/SampleJsApp.html +++ b/sample-js-integration/SampleJsApp.html @@ -39,7 +39,7 @@ }; })(method); } - rudderanalytics.load("1oYWxvjTMyn9HXZhg2JjfGfEGu7"," https://1b91e549e016.ngrok.io"); + rudderanalytics.load("2FkbgN3EKT1HXQHHVTXuJQFrqfu","https://rudderstacbvc.dataplane.rudderstack.com"); // rudderanalytics.load( // "1gNTvgL5S2IjyqlttQJfsrUVVIG", // "https://df23759fee39.ngrok.io", diff --git a/settings.gradle b/settings.gradle index 065d9945e..bbb857a61 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include ':sample-cdn', ':sample-kotlin', ':core', ':sample-segment-java', ':sample-kotlin-integration', ':dummy-impl', ':android-tv' \ No newline at end of file +include ':sample-cdn', ':sample-kotlin', ':core', ':sample-segment-java', ':sample-kotlin-integration', ':sample-js-integration:RudderAndroidJS:app', ':dummy-impl', ':android-tv' \ No newline at end of file