feat(android): add openFile to utils (#6895)

* feat(android): add openFile to utils

* tests: move test_openFile() test to apps/ui-tests-app

Small changes to openFile() method
This commit is contained in:
Vados
2019-03-05 18:39:13 +09:00
committed by Alexander Djenkov
parent 333db62e8c
commit f8eee40e69
13 changed files with 375 additions and 161 deletions

View File

@@ -285,6 +285,12 @@ export function isDataURI(uri: string): boolean
*/
export function openUrl(url: string): boolean
/**
* Opens file.
* @param {string} filePath The file.
*/
export function openFile(filePath: string): boolean
/**
* Escapes special regex symbols (., *, ^, $ and so on) in string in order to create a valid regex from it.
* @param source The original value.