You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/23 08:04:35 UTC
[GitHub] [cordova-plugin-file] gsdiama edited a comment on issue #239: Not
seeing files that are stored on the Android device
gsdiama edited a comment on issue #239: Not seeing files that are stored on the Android device
URL: https://github.com/apache/cordova-plugin-file/issues/239#issuecomment-495111547
Hi everybody,
Any news? I have exactly the same problem. I'm programming an hybrid Ionic 3 app, that works perfectly except in Android 9.0(API Level 28) that asks for permissions (and I accept) but when I try to access local files, the device returns no folders. In Android 8 and less there is no problem. I use cordova-file.
I will much appreciate if anyone could answer me.
Thanks in advance.
Yours faithfully,
GSDiama
__________________________________________
`
>cordova info
Collecting Data...
Node version: v8.11.3
Cordova version: 8.0.0
Config.xml file:
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="20003" id="com.XXXXXX.YYYYYYYY" version="2.0.0"
xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0
">
<name>XXXX</name>
<description>XXXXX</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Fr
amework Team</author>
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<preference name="ScrollEnabled" value="false" />
<preference name="android-minSdkVersion" value="16" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="FadeSplashScreenDuration" value="300" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="loadUrlTimeoutValue" value="700000" />
<platform name="android">
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png"
/>
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png"
/>
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png"
/>
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.pn
g" />
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.
png" />
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-ico
n.png" />
<splash density="land-ldpi" src="resources/android/splash/drawable-land-
ldpi-screen.png" />
<splash density="land-mdpi" src="resources/android/splash/drawable-land-
mdpi-screen.png" />
<splash density="land-hdpi" src="resources/android/splash/drawable-land-
hdpi-screen.png" />
<splash density="land-xhdpi" src="resources/android/splash/drawable-land
-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="resources/android/splash/drawable-lan
d-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-la
nd-xxxhdpi-screen.png" />
<splash density="port-ldpi" src="resources/android/splash/drawable-port-
ldpi-screen.png" />
<splash density="port-mdpi" src="resources/android/splash/drawable-port-
mdpi-screen.png" />
<splash density="port-hdpi" src="resources/android/splash/drawable-port-
hdpi-screen.png" />
<splash density="port-xhdpi" src="resources/android/splash/drawable-port
-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-por
t-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-po
rt-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/icon@2x.png" width="114" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" />
<icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" /
>
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" /
>
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" /
>
<icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" /
>
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" /
>
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" /
>
<icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167"
/>
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
<icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58"
/>
<icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87"
/>
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024"
/>
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.p
ng" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width=
"750" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width=
"1242" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.p
ng" width="2208" />
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipa
d.png" width="2048" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadp
ro.png" width="2732" />
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.pn
g" width="1024" />
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad
.png" width="1536" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpr
o.png" width="2048" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.pn
g" width="768" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" wi
dth="640" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width
="320" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~any
any.png" width="2732" />
</platform>
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
<plugin name="cordova-plugin-device" spec="^1.1.4" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-ionic-webview" spec="^1.1.16" />
<plugin name="cordova-sqlite-storage" spec="^2.0.4" />
<allow-navigation href="http://192.168.0.227:8100" />
<allow-navigation href="http://192.168.0.227:8101" />
<allow-navigation href="http://192.168.0.227:8102" />
<allow-navigation href="file://*/*" />
<allow-navigation href="*" />
<plugin name="cordova-plugin-actionsheet" spec="^2.3.3" />
<plugin name="cordova-plugin-camera" spec="^4.0.3" />
<plugin name="cordova-android-support-gradle-release" spec="^2.1.0">
<variable name="ANDROID_SUPPORT_VERSION" value="27.+" />
</plugin>
<plugin name="cordova-plugin-file-transfer" spec="^1.7.1" />
<plugin name="cordova-plugin-file-opener2" spec="^2.2.0">
<variable name="ANDROID_SUPPORT_V4_VERSION" value="27.+" />
</plugin>
<engine name="android" spec="^6.4.0" />
</widget>
Plugins:
cordova-android-support-gradle-release,cordova-plugin-actionsheet,cordova-plugin
-camera,cordova-plugin-device,cordova-plugin-fcm,cordova-plugin-file,cordova-plu
gin-file-opener2,cordova-plugin-file-transfer,cordova-plugin-ionic-webview,cordo
va-plugin-network-information,cordova-plugin-splashscreen,cordova-plugin-whiteli
st,cordova-sqlite-storage,ionic-plugin-keyboard
Android platform:
Available Android targets:
----------
id: 1 or "android-23"
Name: Android 6.0
Type: Platform
API level: 23
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
Tag/ABIs : no ABIs.
----------
id: 2 or "android-24"
Name: Android 7.0
Type: Platform
API level: 24
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
Tag/ABIs : android-tv/x86, default/x86, default/x86_64
----------
id: 3 or "android-25"
Name: Android 7.1.1
Type: Platform
API level: 25
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
Tag/ABIs : no ABIs.
----------
id: 4 or "android-26"
Name: Android 8.0.0
Type: Platform
API level: 26
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
Tag/ABIs : no ABIs.
----------
id: 5 or "android-27"
Name: Android 8.1.0
Type: Platform
API level: 27
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
Tag/ABIs : no ABIs.
----------
id: 6 or "android-28"
Name: Android 9
Type: Platform
API level: 28
Revision: 6
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, Android
WearRound390x390, AndroidWearRound400x400, AndroidWearRound454x454, AndroidWearR
ound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWe
arRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, An
droidWearSquare, AndroidWearSquare240x240, AndroidWearSquare320x320
Tag/ABIs : android-wear/x86, google_apis_playstore/x86, google_apis_playstore/x
86_64
----------
id: 7 or "android-Q"
Name: Android 10 (Preview)
Type: Platform
API level: Q
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
Tag/ABIs : google_apis_playstore/x86, google_apis_playstore/x86_64
__________________________________________
>ionic info
Ionic:
ionic (Ionic CLI) : 4.12.0 (C:\Users\jc\AppData\Roaming\npm\node_mod
ules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.0.1
Cordova:
cordova (Cordova CLI) : not installed
Cordova Platforms : android 6.4.0
Cordova Plugins : not available
System:
(C:\Program Files (x86)\Android\android-sdk)
NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 7`
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org