Skip to content

Commit 59540f5

Browse files
Merge pull request #6 from hogangnono/feature/HGNN-6038
[HGNN-6038][HGNN-6040] qa 이슈 수정
2 parents 53c10ce + 288d8dd commit 59540f5

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-inappbrowser",
3-
"version": "5.0.13-hogangnono",
3+
"version": "5.0.15-hogangnono",
44
"description": "Cordova InAppBrowser Plugin",
55
"types": "./types/index.d.ts",
66
"cordova": {

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2222
id="cordova-plugin-inappbrowser"
23-
version="5.0.13-hogangnono">
23+
version="5.0.15-hogangnono">
2424

2525
<name>InAppBrowser</name>
2626
<description>Cordova InAppBrowser Plugin</description>

src/android/InAppBrowser.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,6 @@ public void onClick(View v) {
10051005
Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
10061006
sharingIntent.setType("text/plain");
10071007
String shareBody = inAppWebView.getUrl();
1008-
sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, inAppWebView.getUrl());
10091008
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
10101009

10111010
cordova.getActivity().startActivity(Intent.createChooser(sharingIntent, "URL 공유"));
@@ -1539,6 +1538,10 @@ public void onPageStarted(WebView view, String url, Bitmap favicon) {
15391538
public void onPageFinished(WebView view, String url) {
15401539
super.onPageFinished(view, url);
15411540

1541+
if (view.getTitle().equals("")) {
1542+
view.reload();
1543+
}
1544+
15421545
// Set the namespace for postMessage()
15431546
injectDeferredObject("window.webkit={messageHandlers:{cordova_iab:cordova_iab}}", null);
15441547

0 commit comments

Comments
 (0)