Skip to content

Commit eb2b718

Browse files
- Removed URL check and lowercase conversion to avoid case-sensitive url issues.
1 parent b3f3e23 commit eb2b718

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

android/src/ti/webdialog/TitaniumWebDialogModule.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ private List<String> getCustomTabBrowsers(Context context, List<ResolveInfo> bro
6161

6262
private void openCustomTab(Context context, List<String> customTabBrowsers, KrollDict options) {
6363
String URL = options.getString(Params.URL);
64-
URL = URL.toLowerCase();
65-
66-
if (!URL.startsWith("http")) {
67-
Log.w(LCAT, "URL seems missing protocol prefix 'http' or 'https'.");
68-
}
69-
7064
CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
7165
builder.setShowTitle(Utils.getBool(options, Params.SHOW_TITLE));
7266

0 commit comments

Comments
 (0)