Skip to content

Commit 88776d4

Browse files
Merge pull request #73 from theely/patch-2
Fixed wrong parameter assignment
2 parents f1b6974 + a85d8a4 commit 88776d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/ChromeCustomTabPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private void show(String url, @ColorInt int toolbarColor, boolean showDefaultSha
130130

131131
CustomTabsIntent customTabsIntent = builder.build();
132132

133-
String packageName = CustomTabsHelper.getPackageNameToUse(cordova.getActivity(), url);
133+
String packageName = CustomTabsHelper.getPackageNameToUse(cordova.getActivity());
134134
if ( packageName != null ) {
135135
customTabsIntent.intent.setPackage(packageName);
136136
}

0 commit comments

Comments
 (0)