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/26 06:53:06 UTC

[GitHub] [cordova-android] codeconsole opened a new issue #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   **>>> ANY <<< Android 10.1.0** app will break and deviceready will not fire when `<preference name="hostname" value="apache.org" />` is set and **cordova-plugin-device** is installed.
   
   I do not believe this is related to the plugin because simply adding 
   `<preference name="AndroidInsecureFileModeEnabled" value="true" />` resolves the issue.
   
   Here is a complete very minimal app replicating the issue:
   https://github.com/codeconsole/cordova-bug
   
   However, you can break any app by just adding this preference `<preference name="hostname" value="apache.org" />`  and installing **cordova-plugin-device**.
   
   This is possibly related to this commit:
   https://github.com/apache/cordova-android/pull/1275/files#diff-c2eeba9559f1ec42b3e90bd1531f3389a2aab9d199752d4cca70fbf489d92ca0R88
   
   in which https is hard coded.


-- 
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 #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   I have a working solution. As it is getting late now, I will push a PR tomorrow with my changes.
   
   We might get the fix merged into the master branch, but please be patient for a release. We don't have an ETA yet.


-- 
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 #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   Sorry, I got distracted and forgot to submit the PR. I just linked to PR to this ticket, seen 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] erisu commented on issue #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   Sorry, I got distracted and forgot to submit the PR. I just linked to PR to this ticket, seen 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] codeconsole commented on issue #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   https://github.com/apache/cordova-plugin-device/issues/118


-- 
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] lirancr commented on issue #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   @erisu 
   
   any chance to share a like to the PR ? just to verify it solve the use case in the meanwhile ?


-- 
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] lirancr commented on issue #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

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


   @erisu 
   
   any chance to share a like to the PR ? just to verify it solve the use case in the meanwhile ?


-- 
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 closed issue #1328: 10.1.0 - deviceready not fired when hostname is set and plugin installed

Posted by GitBox <gi...@apache.org>.
erisu closed issue #1328:
URL: https://github.com/apache/cordova-android/issues/1328


   


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