[
https://issues.apache.org/jira/browse/CB-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933941#comment-13933941
]
Frederico Costa Galvão commented on CB-5920:
--------------------------------------------
I've used *android:installLocation="auto"* for a while now on my cordova app,
already on production. It allows the OS to install it on sdcards if there isn't
enough space left on internal storage, and also allows users to move it from
internal to external or vice-versa as they please.
I've had no issues so far with this strategy, and I agree that it should be
added as a platfrom specific *<preference/>* on *config.xml*.
Considering this will most surely (according to my experience using it) not
need further code changes other than *AndroidManifest.xml* manipulation, I
think this is pretty safe and easy to implement (or modify the existing PR).
> android:installLocation="preferExternal"
> ----------------------------------------
>
> Key: CB-5920
> URL: https://issues.apache.org/jira/browse/CB-5920
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android, CLI
> Environment: Phones with 512 Ram
> Reporter: cesine
> Labels: patch
>
> I created a PR on github suggesting to add preferExternal
> https://github.com/apache/cordova-android/pull/91#issuecomment-33513325
> for phones with small amounts of internal storage (512MB and even 1GB,
> android 2.2 and 2.3 and even some 4.0) the user wont be able to install the
> app (or keep it) unless you let them put it on the sdcard instead of the
> internal phone storage. Very few cordova apps are the kind of app which
> shouldn't be on external storage.
> more details:
> http://developer.android.com/guide/topics/data/install-location.html#Should
--
This message was sent by Atlassian JIRA
(v6.2#6252)