[TIMOB-26619] Access to android's assets folder
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rainer Schleevoigt |
Assignee | Eric Merriman |
Created | 2018-11-12T21:59:08.000+0000 |
Updated | 2018-11-29T23:48:01.000+0000 |
Description
A third party SDK reads configuration from a json file from assets folder by AssetsManager. It uses
context.getAssets().open("config.json")
. This I cannot change (closed source) and there is no other way to import it.
I have created in my module a folder assets
under platform/android/
with this file, and I can see the file in build/assets folder as sibling of app.js
. I see that it is a symlink to module. At runtime of SDK an io exception will fired.
How can I solve?
Hello, Please provide native docs on this feature. Thanks.