You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/04/29 11:45:49 UTC

[GitHub] [cordova-android] jufryananta opened a new issue #964: Change Absolute Assets Path to Internal Storage Android

jufryananta opened a new issue #964:
URL: https://github.com/apache/cordova-android/issues/964


   <!--
   Please have a look at the issue templates you get when you click "New issue" in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] Bug Report
   - [x] Feature Request
   - [x] Support Question
   
   ## Description
   Before this, sorry for my english.
   
   I have a game project was made by a game engine. Then, port it to android with cordova. Because the size of apk/aab more than 150MB, I try to implement AssetPackManager from Play Core API android studio for bundle build.
   When publish and try to install from playstore, the application download assetPack, but the assets were installed to root application (/data/user/0/..). So, I cant use it with default absolute path (file:///android_asset/www). I tried search the solution from any website, but nothing result. I dont know, May I miss something or maybe this problem must be made a plugin or whatever.
   
   My Question or Request is:
   May I to **change default Absolute asset path** (file:///android_asset/www) to directory where asset was installed? ex: "/data/user/0/<package name>/files/file.ext"
   
   Thanks
   
   ## Information
   Make a project with cordova-android,  implement with some dynamic asset delivery. When publish and user install your application, the application will download and install assetPack and we cant use that installed assets as normal assets with absolute path. (its ok with relative path)
   
   ### Command or Code
   I think baseURL, basePath?
   
   ### Environment, Platform, Device
   Cordova and Android Studio Canary latest version
   
   
   ### Version information
   Cordova: cordova-lib@9.0.1
   OS: Windows, App: Android Studio Canary
   
   ## Checklist
   - [x] I searched for already existing GitHub issues about this
   - [x] I updated all Cordova tooling to their most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] MuhAssar commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
MuhAssar commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-833079018


   I believe this PR (https://github.com/apache/cordova-android/commit/5e7be8e1d6f9863f78a3bd481a3d366cc4d0a804) has something to do with this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-917765738


   android_assets filepath is a special path that leads to your apps assets directory (which cordova copies the `www` folder into). This directory is already on android's internal storage. I don't think this can be changed, nor does it make sense to change this (otherwise you wouldn't be able to load your app).
   
   If your extension pack is located at `/data/user/0//files/file.ext"` (assuming the application ID was omitted here), then this is also within your app's internal storage container and you should be able to access it without any special permissions via the file plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] abuassar commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
abuassar commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-626375545


   I'm also looking forward for a resolution to this issue


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] darisettysuneel commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
darisettysuneel commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-670923150


   @jufryananta is this resolved, if yes can you pls explain the fix here?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] peasn commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
peasn commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-804097066


   I am also trying to impliment play asset delivery with no joy


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] MuriloBeraldo commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
MuriloBeraldo commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-832872088


   Please this is crucial for large games and apps.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] fjellandermedia commented on issue #964: Change Absolute Assets Path to Internal Storage Android

Posted by GitBox <gi...@apache.org>.
fjellandermedia commented on issue #964:
URL: https://github.com/apache/cordova-android/issues/964#issuecomment-714529376


   I would also like this to be resolved.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org