Skip to content

Commit a62b048

Browse files
Merge remote-tracking branch 'origin/feat/twebview-take-photo-video-gallery' into feat/RMET-4466/webview-take-photo-video-gallery
2 parents ddbfa34 + 8ba9fd8 commit a62b048

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>io.ionic.libs</groupId>
88
<artifactId>ioninappbrowser-android</artifactId>
9-
<version>1.5.0</version>
9+
<version>1.6.0</version>
1010
</project>

src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
android:excludeFromRecents="true"
3030
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
3131

32+
<!-- Used for when taking photos/videos when uploading files through WebChromeClient.onShowFileChooser -->
3233
<provider
3334
android:name="com.outsystems.plugins.inappbrowser.osinappbrowserlib.FileProvider"
3435
android:authorities="${applicationId}.fileprovider"

src/main/java/com.outsystems.plugins.inappbrowser/osinappbrowserlib/views/OSIABWebViewActivity.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,9 +585,7 @@ class OSIABWebViewActivity : AppCompatActivity() {
585585
filePathCallback: ValueCallback<Array<Uri>>,
586586
fileChooserParams: FileChooserParams
587587
): Boolean {
588-
589588
this@OSIABWebViewActivity.filePathCallback = filePathCallback
590-
591589
val acceptTypes = fileChooserParams.acceptTypes.joinToString()
592590
val captureEnabled = fileChooserParams.isCaptureEnabled
593591
pendingAcceptTypes = acceptTypes

0 commit comments

Comments
 (0)