Skip to content

Commit

Permalink
- Removed URL check and lowercase conversion to avoid case-sensitive …
Browse files Browse the repository at this point in the history
…url issues.
  • Loading branch information
prashantsaini1 committed May 28, 2018
1 parent b3f3e23 commit eb2b718
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions android/src/ti/webdialog/TitaniumWebDialogModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ private List<String> getCustomTabBrowsers(Context context, List<ResolveInfo> bro

private void openCustomTab(Context context, List<String> customTabBrowsers, KrollDict options) {
String URL = options.getString(Params.URL);
URL = URL.toLowerCase();

if (!URL.startsWith("http")) {
Log.w(LCAT, "URL seems missing protocol prefix 'http' or 'https'.");
}

CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
builder.setShowTitle(Utils.getBool(options, Params.SHOW_TITLE));

Expand Down

0 comments on commit eb2b718

Please sign in to comment.