Skip to content

Commit

Permalink
Merge branch 'prepare'
Browse files Browse the repository at this point in the history
  • Loading branch information
spin-nhn committed Aug 23, 2024
2 parents e717d44 + 812b96c commit 0ceacde
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 8 deletions.
23 changes: 21 additions & 2 deletions docs/WebView/README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Provides a WebView used in various ways in the game.
| Position, Size API | SetPosition, GetX, GetY |
| | SetSize, GetWidth, GetHeight |
| | SetMargins |
| Show SafeBrowsing | |
| | Callback |
| SafeBrowsing | Show |
| | Close</br>(iOS only) |
| Other | IsActive |
| | Screen orientation |
| | Add JavaScript |
Expand Down Expand Up @@ -593,6 +593,25 @@ public void OpenSafeBrowsing()
}
```

### CloseSafeBrowsing

You can close SafeBrowsing using the following API.

**API**

```cs
public static void CloseSafeBrowsing()
```

**Example**

```cs
public void CloseSafeBrowsing()
{
GpmWebViewSafeBrowsing.CloseSafeBrowsing();
}
```

### ExecuteJavaScript

Execute the specified JavaScript string.
Expand Down
23 changes: 21 additions & 2 deletions docs/WebView/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
| Position, Size API | SetPosition, GetX, GetY |
| | SetSize, GetWidth, GetHeight |
| | SetMargins |
| Show SafeBrowsing | |
| | Callback |
| SafeBrowsing | Show |
| | Close</br>(iOS only) |
| Other | IsActive |
| | Screen orientation |
| | Add JavaScript |
Expand Down Expand Up @@ -593,6 +593,25 @@ public void OpenSafeBrowsing()
}
```

### CloseSafeBrowsing

다음 API를 이용하여 SafeBrowsing을 닫을 수 있습니다.

**API**

```cs
public static void CloseSafeBrowsing()
```

**Example**

```cs
public void CloseSafeBrowsing()
{
GpmWebViewSafeBrowsing.CloseSafeBrowsing();
}
```

### ExecuteJavaScript

지정된 JavaScript 문자열을 실행합니다.
Expand Down
17 changes: 16 additions & 1 deletion docs/WebView/ReleaseNotes.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@

🌏 [한국어](ReleaseNotes.md)

## 2.0.5
## 2.1.0

### Date

* 2024.08.23

### Added

* (iOS) Add CloseSafeBrowsing API [(396)](https://github.com/nhn/gpm.unity/issues/396) [(522)](https://github.com/nhn/gpm.unity/issues/522)

### Fixed

* (iOS) Improved the issue where the page could not be closed due to the absence of a close button when the page loading was slow [(434)](https://github.com/nhn/gpm.unity/issues/434)
* (Android) ShowSafeBrowsing API: Improved an issue where it would open with the default browser set on the device [(520)](https://github.com/nhn/gpm.unity/issues/520)
* (Android) Fixed an issue where error codes were passed as strings, causing JSON parsing errors in Unity [(454)](https://github.com/nhn/gpm.unity/issues/454)
* Improved internal logic.

### Date

Expand Down
17 changes: 17 additions & 0 deletions docs/WebView/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

🌏 [English](ReleaseNotes.en.md)

## 2.1.0

### Date

* 2024.08.23

### Added

* (iOS) CloseSafeBrowsing API 추가 [(396)](https://github.com/nhn/gpm.unity/issues/396) [(522)](https://github.com/nhn/gpm.unity/issues/522)

### Fixed

* (iOS) 페이지 로딩이 느리면 닫기 버튼이 없어서 페이지를 닫지 못하는 이슈 개선 [(434)](https://github.com/nhn/gpm.unity/issues/434)
* (Android) ShowSafeBrowsing API: 디바이스에 설정된 기본 브라우저로 열리는 이슈 개선 [(520)](https://github.com/nhn/gpm.unity/issues/520)
* (Android) 오류 코드가 string으로 전달되어, Unity에서 JSON 파싱 오류가 발생하는 이슈 수정 [(454)](https://github.com/nhn/gpm.unity/issues/454)
* 내부 로직 개선

## 2.0.5

### Date
Expand Down
Binary file added release/WebView/gpm_webview_v2.1.0.unitypackage
Binary file not shown.
13 changes: 11 additions & 2 deletions release/WebView/service.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<info version="33">
<info version="34">
<title>WebView</title>
<status>publish</status>
<description>$DESCRIPTION</description>
<version>2.0.5</version>
<version>2.1.0</version>
<dependencies>
<unity>
<version>2019.4.0+</version>
Expand All @@ -18,6 +18,15 @@
</Communicator>
</dependencies>
<packageList>
<package>
<version>2.1.0</version>
<installList>
<install>
<name>gpm_webview_v2.1.0.unitypackage</name>
<path>GPM/WebView</path>
</install>
</installList>
</package>
<package>
<version>2.0.5</version>
<installList>
Expand Down
2 changes: 1 addition & 1 deletion release/servicelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</service>
<service>
<name>WebView</name>
<version>2.0.5</version>
<version>2.1.0</version>
</service>
<service>
<name>AssetManagement</name>
Expand Down

0 comments on commit 0ceacde

Please sign in to comment.