Skip to content

Commit

Permalink
feat:Release Version 1.9.40
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinnZou committed Nov 26, 2024
1 parent 346ffe0 commit b740b9b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@

### 🚨 Seeking Desktop Maintainer 🚨

Unfortunately, our current desktop platform maintainer, @DATL4G, cannot continue his role due to other commitments. We are now looking for a new team member who can take over the desktop side of the library, handling development, issue resolution, and feature enhancements. If you're a desktop developer ready to dive into open-source, we want you!
Unfortunately, our current desktop platform maintainer, @DATL4G, cannot continue his role due to
other commitments. We are now looking for a new team member who can take over the desktop side of
the library, handling development, issue resolution, and feature enhancements. If you're a desktop
developer ready to dive into open-source, we want you!

**Contact:** [email protected]


> **Note**
> This library is built using
>the [compose multiplatform library template](https://github.com/KevinnZou/compose-multiplatform-library-template).
>
the [compose multiplatform library template](https://github.com/KevinnZou/compose-multiplatform-library-template).
> It supports automatic package publishing, documentation, and code style checking.
This library can be considered as the Multiplatform version
Expand Down Expand Up @@ -546,7 +550,7 @@ Desktop support is coming soon.

## Handling permission requests on Android

There are 4 types of permissions that can be requested by the WebView on Android:
There are 4 types of permissions that can be requested by the WebView on Android:

- RESOURCE_PROTECTED_MEDIA_ID
- RESOURCE_MIDI_SYSEX
Expand All @@ -555,20 +559,20 @@ There are 4 types of permissions that can be requested by the WebView on Android

`RESOURCE_PROTECTED_MEDIA_ID` and `RESOURCE_MIDI_SYSEX` are special ones, because they don't have a
native Android counterpart, so it's not possible to request a permission from the user to grant
them transitively. Therefore, you configure the WebView to grant these permissions automatically,
them transitively. Therefore, you configure the WebView to grant these permissions automatically,
by setting the respective properties under `AndroidWebSettings` to true:

```kotlin
webViewState.webSettings.apply {
// ...
androidWebSettings.apply {
// Grants RESOURCE_PROTECTED_MEDIA_ID permission, default false
allowProtectedMedia = true
// Grants RESOURCE_MIDI_SYSEX permission, default false
allowMidiSysexMessages = true
}
// ...
// ...
androidWebSettings.apply {
// Grants RESOURCE_PROTECTED_MEDIA_ID permission, default false
allowProtectedMedia = true
// Grants RESOURCE_MIDI_SYSEX permission, default false
allowMidiSysexMessages = true
}
// ...
}
```

`RESOURCE_AUDIO_CAPTURE` and `RESOURCE_VIDEO_CAPTURE` are also handled internally by the WebView,
Expand Down Expand Up @@ -658,7 +662,7 @@ kotlin {
commonMain {
dependencies {
// use api since the desktop app need to access the Cef to initialize it.
api("io.github.kevinnzou:compose-webview-multiplatform:1.9.20")
api("io.github.kevinnzou:compose-webview-multiplatform:1.9.40")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ compose.version=1.7.1
coroutines.version=1.8.0
GROUP=io.github.kevinnzou
POM_ARTIFACT_ID=compose-webview-multiplatform
VERSION_NAME=1.9.40-alpha04
VERSION_NAME=1.9.40
POM_NAME=Compose WebView Multiplatform
POM_INCEPTION_YEAR=2023
POM_DESCRIPTION=WebView for JetBrains Compose Multiplatform
Expand Down

0 comments on commit b740b9b

Please sign in to comment.