Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Master
-
None
-
Android N
-
Patch
Description
The InAppBrowser is unable to open "file://" see blog https://inthecheesefactory.com/blog/how-to-share-access-to-file-with-fileprovider-on-android-nougat/en
iOS works fine and this is specifically on android.
Suggestion
Add in method to handle local files using the "FileProvider". There are other plugins that specifically handle this but are a bit bloaty to add just to open a local file. This feature would be nice to have in the inAppBrowser plugin as a matter of convenience.
If this does not seem applicable please close, so we can devise a light plugin to handle this in our projects going forward.
Steps we took to fix the problem
- Added in open local file method
- Used the FileProvided to get a acceptable uri
- Open the uri with an intent to a default application
Attachments
Attachments
Issue Links
- is duplicated by
-
CB-14259 inAppBrowser not working on android>=7 when target version>=23
- Closed