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 2021/08/05 12:26:24 UTC

[GitHub] [cordova-android] pawan-logiciel opened a new issue #1312: AndroidInsecureFileModeEnabled prefrence not working

pawan-logiciel opened a new issue #1312:
URL: https://github.com/apache/cordova-android/issues/1312


   # Bug Report
   
   ## Problem
   
   After Cordova 10 release Cordova added WebViewAssetLoader support which can cause data associated with the `file://` scheme, such as cookies, local storage, local cache, and web-based databases
   
   But if we set AndroidInsecureFileModeEnabled to true according to docs(https://cordova.apache.org/announcements/2021/07/20/cordova-android-10.0.0.html) it will work like earlier which is not working for me 
   
   Due to this I am facing cookies issue
   
   ### What is expected to happen?
   
   After setting AndroidInsecureFileModeEnabled preference to true in config.xml it should work like old one 
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ``` <preference name="AndroidInsecureFileModeEnabled" value="true" />```
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!--
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova-android@10.0.1
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to 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.

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] pawan-logiciel commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

Posted by GitBox <gi...@apache.org>.
pawan-logiciel commented on issue #1312:
URL: https://github.com/apache/cordova-android/issues/1312#issuecomment-946680424


   @breautek  FYI - I am facing this issue only in android 11 for other versions it's working fine and the issue is not with AndroidInsecureFileModeEnabled it's and cookie issue in my app HTTPS URL (AWS scdn URL) not working it gives 403 


-- 
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] secretmoo35 commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   > This ticket does not give enough Information.
   > 
   > At best, I can only recommend upgrading to the latest `cordova-android@10.1.0` and try again.
   > 
   > ```
   > cordova platform rm android
   > cordova platform add android@latest
   > ```
   > 
   > If you still have the issue after upgrading, try and provide more Information.
   > 
   > For example, provide the information that comes from the network & application tab of the **DevTools** and make sure its from both the working and non-working app. Both should show that the `index.html` is loading from `file:///android_asset/www/index.html`... Application tab should also show that it is reading from `file://` for the cookies, etc. If you see it checking `file://` but there are no cookies, it probably means Android wiped out the information for more space.
   > 
   > Make sure to also test with `10.1.0` as it might have fixed that area.
   
   Thanks.
   cordova-android@10.1.0 It's works fine for me.


-- 
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] erisu commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   This ticket does not give enough Information.
   
   At best, I can only recommend upgrading to the latest `cordova-android@10.1.0` and try again.
   
   ```
   cordova platform rm android
   cordova platform add android@latest
   ```
   
   If you still have the issue after upgrading, try and provide more Information.
   
   For example, provide the information that comes from the network & application tab of the **DevTools** and make sure its from both the working and non-working app. Both should show that the `index.html` is loading from `file:///android_asset/www/index.html`... Application tab should also show that it is reading from `file://` for the cookies, etc. If you see it checking `file://` but there are no cookies, it probably means Android wiped out the information for more space.
   
   Make sure to also test with `10.1.0` as it might have fixed that area.


-- 
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] secretmoo35 commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   > This ticket does not give enough Information.
   > 
   > At best, I can only recommend upgrading to the latest `cordova-android@10.1.0` and try again.
   > 
   > ```
   > cordova platform rm android
   > cordova platform add android@latest
   > ```
   > 
   > If you still have the issue after upgrading, try and provide more Information.
   > 
   > For example, provide the information that comes from the network & application tab of the **DevTools** and make sure its from both the working and non-working app. Both should show that the `index.html` is loading from `file:///android_asset/www/index.html`... Application tab should also show that it is reading from `file://` for the cookies, etc. If you see it checking `file://` but there are no cookies, it probably means Android wiped out the information for more space.
   > 
   > Make sure to also test with `10.1.0` as it might have fixed that area.
   
   Thanks.
   cordova-android@10.1.0 It's works fine for me.


-- 
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] HarelM commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   I've just tried it out and it seems to be working as expected (for me).


-- 
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] breautek commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   @pawan-logiciel At your earliest convenience, If you could confirm that updating to cordova-android@10.1.0 solves your issue for us so we can determine if this issue can be closed or not.
   
   Cheers,
   Norman


-- 
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] HarelM commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   I've just tried it out and it seems to be working as expected (for me).


-- 
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] pawan-logiciel commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

Posted by GitBox <gi...@apache.org>.
pawan-logiciel commented on issue #1312:
URL: https://github.com/apache/cordova-android/issues/1312#issuecomment-915956689


   @breautek @erisu It's still not working for me. 


-- 
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] breautek commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   @pawan-logiciel At your earliest convenience, If you could confirm that updating to cordova-android@10.1.0 solves your issue for us so we can determine if this issue can be closed or not.
   
   Cheers,
   Norman


-- 
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] secretmoo35 commented on issue #1312: AndroidInsecureFileModeEnabled prefrence not working

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


   Same issue, How to fixed this?


-- 
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