Hi!
Got some troubles with share()
Currently I`m trying to share .jpg and .txt located in CacheLocation
file_paths.xml is default from felgo3
nativeUtils.openFile() opens .txt file with url “content://package_name.fileprovider/cache/filename.txt” (in Android default browser)
But nativeUtils.share(_text_,_filepath_) shares a message “_text_ _filePath” where _filepath_ is like “file:///data/user/0/com.mypackage.name/cache/myfile.txt”
code:
<pre>nativeUtils.share(“Log file”, fileUtils.getUrlByAddingSchemeToFilename(fileUtils.storageLocation(FileUtils.CacheLocation,”log.txt”)))</pre>
I`ve tried telegram, whatsapp, different viewers, senders etc. and always the same.
Am I doing something wrong?