diff --git a/.idea/misc.xml b/.idea/misc.xml index 085136f8d..7319f0219 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -53,7 +53,7 @@ - + diff --git a/.travis.yml b/.travis.yml index e3e269ffa..7db65ac9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,11 +20,7 @@ before_install: after_success: - chmod +x ./generate-apk-release.sh - "./generate-apk-release.sh" -deploy: - provider: script - script: "./gradlew app:publishApkRelease" - on: - branch: master +- "./gradlew app:publishApkRelease" script: - cd $TRAVIS_BUILD_DIR/ - "./gradlew assembleReleaseTest" diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt index 3def6d253..4d03afe49 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt @@ -34,6 +34,15 @@ class FrostChromeClient(webCore: FrostWebViewCore) : WebChromeClient() { } override fun onShowFileChooser(webView: WebView, filePathCallback: ValueCallback>?, fileChooserParams: FileChooserParams?): Boolean { + L.d("On show file chooser") + fileChooserParams?.apply { + L.d(filenameHint) + L.d("$mode") + L.d(acceptTypes.contentToString()) + } + return super.onShowFileChooser(webView, filePathCallback, fileChooserParams) } + + } \ No newline at end of file