Skip to content

Commit

Permalink
spec(android): fix spec based on testing environment
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Jan 19, 2023
1 parent 1601b60 commit f415c8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tests.js
Expand Up @@ -3438,8 +3438,9 @@ exports.defineAutoTests = function () {
var pathExpect = 'file://';

if (cordova.platformId === 'android') {
// Starting from Cordova-Android 10.x, the app content is served from the https scheme
pathExpect = 'https://';
// From Cordova-Android 10.x, app content is served from the "https" scheme by default
// The paramedic plugin changes the scheme to http to avoid ssl.
pathExpect = 'http://';
} else if (isChrome) {
pathExpect = 'filesystem:http://';
}
Expand Down

0 comments on commit f415c8e

Please sign in to comment.