Перейти к содержимому

Err unknown url scheme как исправить на андроиде

  • автор:

Getting net::ERR_UNKNOWN_URL_SCHEME while calling telephone number from HTML page in Android

I am getting «net::ERR_UNKNOWN_URL_SCHEME» while calling a telephone number option from an HTML page in Android. Do I need to add any permission(s) in the manifest to get this working? I haven’t added anything in the manifest so far. Here’s the HTML Code:

<a href=»tel:+1800229933″>Call us free!</a>

Karthik's user avatar

3 Answers 3

The following should work and not require any permissions in the manifest (basically override shouldOverrideUrlLoading and handle links separately from tel, mailto, etc.):

Also, note that in the above snippet I am enabling JavaScript, which you will also most likely want, but if for some reason you don’t, just remove those 2 lines.

I had this issue occurring with mailto: and tel: links inside an iframe (in Chrome, not a webview). Clicking the links would show the grey «page not found» page and inspecting the page showed it had a ERR_UNKNOWN_URL_SCHEME error.

Adding target=»_blank» , as suggested by this discussion of the issue fixed the problem for me.

Try this way,hope this will help you to solve your problem.

Ошибка сайта Net::ERR_UNKNOWN_URL_SCHEME – как исправить?

Net ERR_UNKNOWN_URL_SCHEME

Пользователи смартфонов с операционной системой Андроид столкнулись с ошибкой на сайтах «Net::ERR_UNKNOWN_URL_SCHEME». Ошибка появляется когда при клике на активную ссылку, должно запуститься связанное приложение. Например вы хотите присоединится к беседе в Скайпе или к конференции в Зуме, открыть канал в Телеграмме и тп. Вот так ошибка отображается на экране смартфона:

Чаще с данной проблемой сталкиваются пользователи смартфонов линейки Lite от Honor, иногда ошибка выскакивает у пользователей Xiaomi и Huawei. Сегодня расскажем почему такое происходит и как решить проблему.

Причины ошибки Net::ERR_UNKNOWN_URL_SCHEME

Причина ошибки Net::ERR_UNKNOWN_URL_SCHEME зачастую кроется в несовместимости протоколов, которые использует ваш браузер(скорее всего Chrome) и программы. Разработчики в последних версиях устраняют эти сбои и для решения иногда достаточно обновить сам Chrome и Скайп(если ошибка выскакивает при клике на приглашение в беседу). Вообще рекомендуем зайти в Play Маркет и обновить все приложения без исключения. В каждой новой версии устраняются различные баги и несовместимости, обновляются протоколы android.permission и тп.
Так же ошибка может появляться при:

  • При звонке на номер телефона в приложении или сайте.
  • При попытке открыть перенаправляющий URL-адрес(ссылку).
  • При нажатии на ссылке, которые должны открываться на новой странице.
  • Так же проблема возникает при кликах на ссылки mailto: tel: sms: и geo: внутри iframe(обычно это ссылки с номерами телефонов или имейл адресов, для отправки смс).
  • При попытке авторизации на сайте(на этапе открытия страницы или ввода логина, пароля).

Переключаем браузер по умолчанию

Если обновление всех приложений не спасло временно можно переключить браузер по умолчанию.

Браузер по умолчанию – это браузер, который автоматически запускается при клике на любую ссылку. Часто это или встроенный браузер в ваш смартфон или Гугл Хром.

На разных моделях переключить можно разными способами. Для смартфонов Honor пошаговая схема такая:

  1. Заходим в «Настройки».
  2. Выбираем пункт «Приложения по умолчанию»
  3. Далее «Браузер».
  4. Выбираем Firefox, Opera, UC Browser или любой другой.

Важно! Яндекс.Браузер скорее всего тоже вылетит с ошибкой, т.к. построен на базе chromium. По этому пробуйте во встроенном или смело скачивайте Mozilla Firefox.

Так же, если вы столкнулись с ошибкой Net::ERR_UNKNOWN_URL_SCHEME на смартфоне Xiaomi тут путь такой:

  1. Заходим в раздел «Настройки», далее «Приложения»;
  2. Переходим оттуда во «Все приложения»;
  3. Ищем вручную или через поиск Google Chrome и кликаем на его иконку;
  4. Откроется меню, где нужно выбрать пункт «Сбросить настройки по умолчанию». Либо деактивировать ползунок напротив строчки «Браузер по умолчанию»;
  5. Теперь при клике на ссылку, выберите из списка другой браузер и нажмите «Запомнить».

Советы выше помогают избежать ошибки Net::ERR_UNKNOWN_URL_SCHEME на смартфоне. Они помогут обычным пользователям столкнувшимся с проблемой. Если вы являетесь разработчиком и пишете приложения, либо сайты сами, то там есть боле профессиональные решения. В рамках данной статьи мы решили не добавлять эту информацию, что бы не возникло путаницы. По этому, если вам нужно решить ошибку с технической точки зрения – сообщите об этом в комментариях к этой странице. Мы добавим отдельный материал на эту тему.

Евгений Загорский

Евгений Загорский

IT специалист. Автор информационных статей на тему Андроид смартфонов и IOS смартфонов. Эксперт в области решения проблем с компьютерами и программами: установка, настройка, обзоры, советы по безопасности ваших устройств. В свободное время занимается дизайном и разработкой сайтов.

Err unknown url scheme как исправить на андроиде

Net ERR_UNKNOWN_URL_SCHEME

Пользователи смартфонов с операционной системой Андроид столкнулись с ошибкой на сайтах «Net::ERR_UNKNOWN_URL_SCHEME». Ошибка появляется когда при клике на активную ссылку, должно запуститься связанное приложение. Например вы хотите присоединится к беседе в Скайпе или к конференции в Зуме, открыть канал в Телеграмме и тп. Вот так ошибка отображается на экране смартфона:

Чаще с данной проблемой сталкиваются пользователи смартфонов линейки Lite от Honor, иногда ошибка выскакивает у пользователей Xiaomi и Huawei. Сегодня расскажем почему такое происходит и как решить проблему.

Причина ошибки Net::ERR_UNKNOWN_URL_SCHEME зачастую кроется в несовместимости протоколов, которые использует ваш браузер(скорее всего Chrome) и программы. Разработчики в последних версиях устраняют эти сбои и для решения иногда достаточно обновить сам Chrome и Скайп(если ошибка выскакивает при клике на приглашение в беседу). Вообще рекомендуем зайти в Play Маркет и обновить все приложения без исключения. В каждой новой версии устраняются различные баги и несовместимости, обновляются протоколы android.permission и тп.
Так же ошибка может появляться при:

  • При звонке на номер телефона в приложении или сайте.
  • При попытке открыть перенаправляющий URL-адрес(ссылку).
  • При нажатии на ссылке, которые должны открываться на новой странице.
  • Так же проблема возникает при кликах на ссылки mailto: tel: sms: и geo: внутри iframe(обычно это ссылки с номерами телефонов или имейл адресов, для отправки смс).
  • При попытке авторизации на сайте(на этапе открытия страницы или ввода логина, пароля).

Переключаем браузер по умолчанию

Если обновление всех приложений не спасло временно можно переключить браузер по умолчанию.

Браузер по умолчанию – это браузер, который автоматически запускается при клике на любую ссылку. Часто это или встроенный браузер в ваш смартфон или Гугл Хром.

На разных моделях переключить можно разными способами. Для смартфонов Honor пошаговая схема такая:

  1. Заходим в «Настройки».
  2. Выбираем пункт «Приложения по умолчанию»
  3. Далее «Браузер».
  4. Выбираем Firefox, Opera, UC Browser или любой другой.

Важно! Яндекс.Браузер скорее всего тоже вылетит с ошибкой, т.к. построен на базе chromium. По этому пробуйте во встроенном или смело скачивайте Mozilla Firefox.

Так же, если вы столкнулись с ошибкой Net::ERR_UNKNOWN_URL_SCHEME на смартфоне Xiaomi тут путь такой:

  1. Заходим в раздел «Настройки», далее «Приложения»;
  2. Переходим оттуда во «Все приложения»;
  3. Ищем вручную или через поиск Google Chrome и кликаем на его иконку;
  4. Откроется меню, где нужно выбрать пункт «Сбросить настройки по умолчанию». Либо деактивировать ползунок напротив строчки «Браузер по умолчанию»;
  5. Теперь при клике на ссылку, выберите из списка другой браузер и нажмите «Запомнить».

Советы выше помогают избежать ошибки Net::ERR_UNKNOWN_URL_SCHEME на смартфоне. Они помогут обычным пользователям столкнувшимся с проблемой. Если вы являетесь разработчиком и пишете приложения, либо сайты сами, то там есть боле профессиональные решения. В рамках данной статьи мы решили не добавлять эту информацию, что бы не возникло путаницы. По этому, если вам нужно решить ошибку с технической точки зрения – сообщите об этом в комментариях к этой странице. Мы добавим отдельный материал на эту тему.

Евгений Загорский

Евгений Загорский

IT специалист. Автор информационных статей на тему Андроид смартфонов и IOS смартфонов. Эксперт в области решения проблем с компьютерами и программами: установка, настройка, обзоры, советы по безопасности ваших устройств. В свободное время занимается дизайном и разработкой сайтов.

(7 оценок, среднее: 4,57 из 5)

Ошибка в Роблоксе Error Code: 529 – что обозначает, решение

Если вы столкнулись с ошибкой Error Code: 529 в игре Roblox, знайте, что причин ее возникновения может быть две. Первая —…

Ошибка 277 в Роблокс – что это, как исправить?

Ошибка 277 в Роблокс – что это, как исправить?

Ошибка Error Code: 277 является одной из самых распространенных, с которой сталкиваются игроки Roblox. Обычно она…

Ошибка 273 в Роблокс – что значит, как исправить?

Ошибка 273 в Роблокс – что значит, как исправить?

Игроки Roblox нередко сталкиваются с ошибкой Error C0de: 273, которая приводит к отключению от серверов и невозможностью…

Госуслуги произошла неизвестная ошибка – что делать?

Госуслуги произошла неизвестная ошибка – что делать?

«Госуслуги» — это сервис, который пользуется широким спросом среди отечественных пользователей. Кто-то с его…

Многие владельцы мобильных телефонов, работающих под управлением ОС Андроид, сталкиваются с ошибкой «Net::ERR_UNKNOWN_URL_SCHEME». Чаще всего сбой возникает во время перехода по ссылке, которая должна запустить связанную с ней программу. К примеру, человек пытается присоединиться к чату в Skype, открыть Telegram-канал или онлайн-конференцию в Zoom, но приложение сворачивается, а на экране появляется системное уведомление об ошибке.

Не удалось открыть веб-страницу

  • 1 Причины, по которым может появиться ошибка Net::ERR_UNKNOWN_URL_SCHEME
  • 2 Смена браузера по умолчанию
  • 3 Заключение

В переводе на русский язык «ERR_UNKNOWN_URL_SCHEME» означает «Ошибка, связанная с неизвестной URL-схемой». Главной причиной данной ошибки является несовместимость протоколов, используемых браузером и установленными программами. Обычно подобные баги быстро устраняются, поэтому чаще всего для решения проблемы нужно всего лишь обновить браузер или мессенджер (если сбой появляется при попытке пригласить человека в беседу).

Ошибка нередко возникает в следующих случаях:

  1. Во время авторизации на веб-сайте (при открытии web-страницы, вводе пароля и логина).
  2. При переходе по ссылкам «mailto», «sms» и «tel» (ссылки, в которых указаны номера телефонов и e-mail адреса).
  3. При переходе по ссылкам, открывающимся на новых страницах.
  4. При открытии перенаправляющих URL-адресов.
  5. При звонках через сайты или приложения.

Ошибка наблюдается преимущественно в браузере Google Chrome. Чаще всего с ней сталкиваются владельцы смартфонов и планшетов от Хуавей, Хонор, Ксяоми и некоторых других китайских производителей.

Смена браузера по умолчанию

Если обновление не помогло исправить ошибку Net::ERR_UNKNOWN_URL_SCHEME, стоит сменить установленный по умолчанию браузер, автозапуск которого происходит при переходе по любой ссылке:

  1. Открыть раздел настроек.
  2. Перейти в «Приложения по умолчанию».
  3. Выбрать пункт «Браузер».
  4. Установить Firefox, Opera либо другой обозреватель.

Устанавливать Yandex.Browser не рекомендуется, поскольку он работает на свободном движке Blink на базе которого был создан Google Chrome.

Если ошибка наблюдается на смартфоне Ксяоми, для ее устранения нужно проделать следующие шаги:

  1. Зайти в «Приложения» (находится в разделе настроек). Net::ERR_UNKNOWN_URL_SCHEME на Андроид: как исправить, что это означает
  2. Открыть меню «Все приложения». Net::ERR_UNKNOWN_URL_SCHEME на Андроид: как исправить, что это означает
  3. Вбить в поисковую строку название браузера или найти его самостоятельно в списке установленных программ. Net::ERR_UNKNOWN_URL_SCHEME на Андроид: как исправить, что это означает
  4. Тапнуть по клавише «Сброс действий по умолчанию» или перевести бегунок, расположенный напротив строки «Браузер по умолчанию» Net::ERR_UNKNOWN_URL_SCHEME на Андроид: как исправить, что это означает
  5. Кликнуть по ссылке, выбрать из списка другой обозреватель.
  6. Подтвердить свой выбор нажатием на кнопку «Запомнить».

Вышеописанные инструкции позволяют избавиться от ошибки на большинстве Android-смартфонов. Для разработчиков программного обеспечения существует целый ряд более профессиональных решений, однако рассматривать его в рамках данного текста бессмысленно. Для устранения ошибки альтернативными методами необходимо продвинутое знание HTML и принципов работы JavaScript.

Заключение

Ошибка «Net::ERR_UNKNOWN_URL_SCHEME» уведомляет о несовместимости или несоответствии протоколов, которое может появиться во время авторизации на веб-сайте, при переходе по ссылке, открытии перенаправляющих URL-адресов или звонках, осуществляющиеся через сайт или приложение. Для устранения сбоя нужно обновить обозреватель и программу либо сменить установленный по умолчанию браузер на альтернативный.

ошибка Net::ERR_UNKNOWN_URL_SCHEME Источник: https://helpshub.ru/net-err_unknown_url_scheme

Что представляет собой ошибка Net::ERR_UNKNOWN_URL_SCHEME? Многие пользователи телефонов на ОС Андроид получили такое уведомление с ошибкой, когда переходили по ссылке, связанной с запуском определенного приложения. Это мог быть переход в закрытую беседу в Viber, Telegram, Skype или Зум. В переводе на русский — неизвестная URL схема (а точнее неизвестный URL путь сайта). Изображение с сообщением об ошибке выглядит так:

Как правило такое сообщение выскакивало у пользователей смартфонов Хуавей или Хонор, Xiaomi. Как исправить ошибку?

  • 1 Почему появляется ошибка Net::ERR_UNKNOWN_URL_SCHEME?
  • 2 Ошибка Net::ERR_UNKNOWN_URL_SCHEME. Смена браузера.
    • 2.1 Для моделей смартфона Хонор:
    • 2.2 Для моделей Хуавей и Xiaomi:

    Зачастую, это несоответствие протоколов, используемых браузером и самой программы в которую переходит по ссылке пользователь. Обычно ошибка решается простым обновлением используемого браузера или переустановкой программы мессенджера (Skype, Viber и тд). Просто зайдите в Плей Маркет и обновите все используемые приложения (касаемо данной проблемы). Таким образом вы собственноручно обновите протоколы android.permission.

    Кроме того, ошибка может появиться в случае:

    1. Попытке дозвониться пользователю в приложении.
    2. Открытия ссылки для перехода на конкретный URL. (Случай описанный выше).
    3. Если переходить по ссылке, которая в свою очередь должна открыть в новом окне.
    4. Перехода по ссылкам с номерами телефонов, e-mail, sms-сообщений.
    5. В момент ввода авторизационных данных, логин и пароль.

    Ошибка Net::ERR_UNKNOWN_URL_SCHEME. Смена браузера.

    В случае, если после обновления ситуация осталась на прежнем месте, попробуйте сменить браузер на тот, который стоит по умолчанию. Простыми словами это встроенный в телефон браузер (родной), типа интернет эксплорера на ПК.

    Как говорилось выше, чаще всего ошибка выскакивает, если пользователь использует браузер Гугл Хром в купе с китайскими смартфонами Huawei, Honor, Xiaomi.

    Для моделей смартфона Хонор:
    1. Меню.
    2. Настройки.
    3. Приложения по умолчанию.
    4. Браузер.
    5. Выберите браузер который будет работать по умолчанию.

    Скорее всего Яндекс Браузер также будет выдавать ошибку в связи с тем, что он сделан на фришном движке Блинк на базе chromium.

    Для моделей Хуавей и Xiaomi:
    1. Меню.
    2. Настройки.
    3. Приложения.Меню настройки
    4. Все приложения.все приложения
    5. Ищем Гугл Хром или другой используемый браузер.Google Chrome
    6. Сбросить настройки по умолчанию или Браузер по умолчанию.Не удалось открыть веб-страницу ошибка Net::ERR_UNKNOWN_URL_SCHEME сброс настроек
    7. В момент открывания ссылки выбираем браузер который будет работать по умолчанию.

    Пользуйтесь браузер Mozila FireFox. Также его можно использовать по умолчанию. Т.е. ссылки, открываемые вами, будут открываться автоматически в этом браузере.

    (Пока оценок нет)

    На сайте eruz.zakupki.gov.ru используется неподдерживаемый протокол, как исправить?

    Последнее время на портале eruz.zakupki.gov.ru появились сложности с подключением. Что необходимо совершить, в случае…

    Ошибка 6 в Инстаграм Рилс — как исправить?

    Ошибка 6 в Инстаграм Рилс — как исправить?

    В связи с растущей популярностью социальной сети Tik-Tok, конкуренты стали внедрять схожий функционал. Например, VK…

    Винлайн ошибка 94, 29, 4 – как исправить?

    Винлайн ошибка 94, 29, 4 – как исправить?

    Как и любые другие компании, которые работают с деньгами, Винлайн заключает договор с пользователем. В данном…

    Как удалить системные приложения на Xiaomi?

    Большинство компаний выпускающих свои линейки смартфонов стремятся завоевать хорошую репутацию. Один из таких…

    Пользователям Интернета, далёким от IT, кажется, что работа какого-либо сервиса проста и банальна: ссылки переводят на страницы, страницы отображают контент – ничего особенного. Но на самом деле работу приложений обеспечивают несколько сложных систем. Хостинг с серверами и громоздким программным обеспечением на них, оболочка приложения, в которой используется минимум три языка программирования и другое.

    Это сложный механизм. И если хотя бы какая-то одна мелочь в этой системе, какая-то одна строчка кода окажется не правильной, то всё может перестать работать или начнёт работать не так, как нужно. Поэтому пользователям иногда приходится сталкиваться с теми или иными ошибками и проблемами, которые необходимо как-то решать.

    В этой статье мы рассмотрим, что означает ошибка Net::ERR_UNKNOWN_URL_SCHEME. А также постараемся разобраться в том, можно ли её исправить со стороны обычного пользователя и что для этого делать.

    Ошибка NetERR_UNKNOWN_URL_SCHEME

    1. Что значит ошибка Net::ERR_UNKNOWN_URL_SCHEME?
    2. Сообщить администратору
    3. Найти другой способ получить контент
    4. Попробуйте на другом устройстве
    5. Отключение антивируса и других блокирующих приложений
    6. Выполните обновления

    Что значит ошибка Net::ERR_UNKNOWN_URL_SCHEME?

    Данная ошибка может возникать, когда вы переходите по какой-либо ссылке в браузере или каком-то приложении на компьютере или мобильном устройстве.

    Если попытаться перевести фразу «ERR_UNKNOWN_URL_SCHEME», то на русском это будет означать «ошибка: неизвестная схема URL». URL – это ссылка, по которой доступна та или иная страница. Таким образом понятно, что появление данной ошибки свидетельствует о том, что ссылка на сайте или в приложении создана не правильно.

    Поэтому, очевидно, что решение этой проблемы является делом специалиста, который данную ссылку создал, и это не доступно обычному пользователю. Но, всё-таки, как посетитель вы можете кое-что попытаться сделать.

    Сообщить администратору

    Если вы обнаружили ошибку Net::ERR_UNKNOWN_URL_SCHEME, то сообщите об этом администратору сайта или приложения, которым пользуетесь. Любой владелец сервиса заинтересован, чтобы все элементы там работали. Поэтому, сообщая об обнаруженных ошибках и проблемах, вы делаете хорошее дело для улучшения проекта.

    Возможно администратор сможет исправить эту проблему в ближайшем времени. Но даже если нет, то тот факт, что администратор в курсе проблемы на его проекте, уже приближает её решение.

    Найти другой способ получить контент

    Когда вы переходили по ссылке, которая привела вас к ошибке Net::ERR_UNKNOWN_URL_SCHEME, вы, вероятно, хотели увидеть что-то полезное: какой-то нужный вам контент, или воспользоваться какой-либо функцией. И эта ошибка, естественно, не позволяет вам это сделать.

    Если вам срочно нужен контент или функция по недоступной ссылке, то попытайтесь найти его другим способом. Например, если вы нажали на ссылку, которая ведёт на номер телефона, чтобы позвонить по нему, и получили Net::ERR_UNKNOWN_URL_SCHEME. То попробуйте позвонить по другому номеру телефона или воспользоваться другим каналом связи, или просто набрать этот номер вручную. Если вы увидели эту ошибку при переходе, допустим, к интерактивной карте, то попробуйте найти нужный адрес другим способом.

    Вам может быть это интересно: Ошибка при получении данных с сервера DF-DFERH-01 в Play Market как исправить.

    Попытайтесь найти альтернативный вариант для того, чтобы решить свою задачу, если ссылка оказалась недоступной. Даже если вы ранее сообщили об этом администратору проекта, вряд ли он решит проблему моментально.

    А далее рассмотрим ещё пару способов, которые вы могли бы попробовать реализовать со своей стороны, если проблема, всё-таки, не в сервисе, которым вы пользуетесь, а в вашем устройстве.

    Попробуйте на другом устройстве

    Если есть возможность, то попробуйте перейти по ссылке, выдающей ошибку, на другом устройстве. Есть определённая вероятность, что что-то на локальном уровне в вашем устройстве может быть причиной этой проблемы.

    Если действительно так, то на другом устройстве вы сможете успешно перейти по ссылке. Если же на другом устройстве тоже такая же проблема, то значит причина в самом сервисе и нужно просто ждать решения проблемы его администратором. Тогда, скорее всего, все способы ниже вам тоже не помогут.

    Компьютер, планшет и смартфон

    Отключение антивируса и других блокирующих приложений

    Антивирусы и разнообразные приложения, которые блокируют контент, являющийся, по их мнению, вредоносным, могут заблокировать и что-то полезное. Поэтому попробуйте отключить эти приложения.

    Если речь о компьютере, то это, в первую очередь антивирус, а также расширения браузера, которые блокируют рекламу. Если ошибка появляется на мобильном, то также отключите или удалите антивирус и разнообразные оптимизирующие приложения.

    Выполните обновления

    Возможно, что на сайте или приложении, где вы видите такую ошибку, проблемы на самом деле нет, а вы её видите только из-за того, что пользуетесь устаревшим программным обеспечением. Поэтому для решения данной проблемы вы можете попробовать сделать обновления.

    Update

    1. Проверьте, нет ли обновления для операционной системы – Android, iOs или Windows.
    2. Если ошибка возникает в приложении на мобильном устройстве, то проверьте, не вышло ли обновление для самого приложения. Увидеть это можно в магазинах приложений – Play Market, App Store и других.
    3. Если проблема появляется на сайте в браузере, то попробуйте обновить браузер.
    • Partition Wizard

    By Amy | Follow |
    Last Updated March 19, 2021

    When a received application or site does not obtain specific information from the device, the err_unknown_url_scheme error might occur. How to fix err_unknown_url_scheme? If you are bothered by it, this post of MiniTool probably is what you need.

    An Overview of ERR_UNKNOWN_URL_SCHEME

    The net err_unknown_url_scheme error often results from the browser issue. But there’s no application on your computer can cope with it. In addition, you can notice that the error screen can be interrupted by multiple lines of code.

    According to user reports, the err_unknown_url_scheme error can happen in various places. Here, we list them as follows.

    • You may encounter the error when you try to open a redirected URL.
    • The error occurs at the time of calling the Android phone number.
    • The error pops up when you click this link.
    • You can receive the error in mailto, SMS, e geo, etc.
    • The err_unknown_url_scheme error happens when you try to utilize OAuth with a custom Chrome card.

    How to fix err_unknown_url_scheme? The section below will provide you with 4 solutions. Now, let’s explore them one by one.

    Solution 1: Disable Chrome Extensions Temporarily

    If you receive the err_unknown_url_scheme error when browsing disguise, disable the feature directly. If this doesn’t work, try disabling all Google Chrome extensions. Here are detailed steps.

    Step 1: Open a new tab on the Chrome.

    Step 2: Click on the gears button at the upper right corner of the page and then click om Settings.

    click on Settings

    Step 3: Click on the Extension option in the left pane.

    click on Extension

    Step 4: In the extension page, disabling extensions one after another by clicking on their status button until the net err_unknown_url_scheme error disappears. After finding the root of the error, disable or remove it.

    disable Chrome extensions

    Solution 2: Close Hardware Acceleration

    You can also try closing hardware acceleration to fix the err_unknown_urk_scheme error. Here’s how to do.

    Step 1: Repeat the Step 1 and Step 2 of Solution 2 to open the Settings of the browser.

    Step 2: In the Settings page, click on the Advanced option to expand it.

    click on Advanced

    Step 3: Click on System option under Advanced.

    click on System

    Step 4: Then move to the right side of the page, turn off hardware acceleration by clicking on its status button.

    turn off hardware acceleration

    Solution 3: Turn off Firewall

    The err_unknown_url_scheme can also occur due to incorrect Windows Firewall configuration. If so, you should turn off Windows Firewall with the steps below.

    Step 1: Type control in the search box and then click on Control Panel from the listed search results.

    Step 2: In the Control Panel window, click Windows Defender Firewall. Then click the Turn Windows Defender Firewall on or off option in the left pane.

    click on Turn Windows Defender Firewall on or off

    Step 3: At this window, click on the Turn off Windows Defender Firewall (not recommended) option in both Private/Public network settings section and click OK to save the changes.

    Turn off Windows Defender Firewall

    Solution 4: Delete Browser Cache and Cookies

    Cache and cookies on the browser may also lead to net err_unknown_url_scheme. Given to that fact, you should try deleting browser cache and cookies to solve the problem. Here’s a step-by-step guide for you.

    Step 1: Move to the Settings of Chrome by following the Step 1 and Step 2 of Solution 1.

    Step 2: Scroll down the content in the page to find Clear browsing data as shown in the picture below. Then click on it.

    click on Clear browsing data

    Step 3: In the pop-up window, choose the content you want to delete and click on the Clear data button. Then the selected content will be deleted automatically.

    click on Clear data

    About The Author

    Having writing articles about computer tech for a long time, I am rather experienced especially on the aspect of computer optimization, PC enhancement, as well as tech terms explanation. The habit of looking through tech forums makes me a great computer issues collector. And then, many articles related to these issues are released, which benefit plenty of users. Professional, effective, and innovative are always the pursuit of an editing worker.

    • Partition Wizard

    By Amy | Follow |
    Last Updated March 19, 2021

    When a received application or site does not obtain specific information from the device, the err_unknown_url_scheme error might occur. How to fix err_unknown_url_scheme? If you are bothered by it, this post of MiniTool probably is what you need.

    An Overview of ERR_UNKNOWN_URL_SCHEME

    The net err_unknown_url_scheme error often results from the browser issue. But there’s no application on your computer can cope with it. In addition, you can notice that the error screen can be interrupted by multiple lines of code.

    According to user reports, the err_unknown_url_scheme error can happen in various places. Here, we list them as follows.

    • You may encounter the error when you try to open a redirected URL.
    • The error occurs at the time of calling the Android phone number.
    • The error pops up when you click this link.
    • You can receive the error in mailto, SMS, e geo, etc.
    • The err_unknown_url_scheme error happens when you try to utilize OAuth with a custom Chrome card.

    How to fix err_unknown_url_scheme? The section below will provide you with 4 solutions. Now, let’s explore them one by one.

    Solution 1: Disable Chrome Extensions Temporarily

    If you receive the err_unknown_url_scheme error when browsing disguise, disable the feature directly. If this doesn’t work, try disabling all Google Chrome extensions. Here are detailed steps.

    Step 1: Open a new tab on the Chrome.

    Step 2: Click on the gears button at the upper right corner of the page and then click om Settings.

    click on Settings

    Step 3: Click on the Extension option in the left pane.

    click on Extension

    Step 4: In the extension page, disabling extensions one after another by clicking on their status button until the net err_unknown_url_scheme error disappears. After finding the root of the error, disable or remove it.

    disable Chrome extensions

    Solution 2: Close Hardware Acceleration

    You can also try closing hardware acceleration to fix the err_unknown_urk_scheme error. Here’s how to do.

    Step 1: Repeat the Step 1 and Step 2 of Solution 2 to open the Settings of the browser.

    Step 2: In the Settings page, click on the Advanced option to expand it.

    click on Advanced

    Step 3: Click on System option under Advanced.

    click on System

    Step 4: Then move to the right side of the page, turn off hardware acceleration by clicking on its status button.

    turn off hardware acceleration

    Solution 3: Turn off Firewall

    The err_unknown_url_scheme can also occur due to incorrect Windows Firewall configuration. If so, you should turn off Windows Firewall with the steps below.

    Step 1: Type control in the search box and then click on Control Panel from the listed search results.

    Step 2: In the Control Panel window, click Windows Defender Firewall. Then click the Turn Windows Defender Firewall on or off option in the left pane.

    click on Turn Windows Defender Firewall on or off

    Step 3: At this window, click on the Turn off Windows Defender Firewall (not recommended) option in both Private/Public network settings section and click OK to save the changes.

    Turn off Windows Defender Firewall

    Solution 4: Delete Browser Cache and Cookies

    Cache and cookies on the browser may also lead to net err_unknown_url_scheme. Given to that fact, you should try deleting browser cache and cookies to solve the problem. Here’s a step-by-step guide for you.

    Step 1: Move to the Settings of Chrome by following the Step 1 and Step 2 of Solution 1.

    Step 2: Scroll down the content in the page to find Clear browsing data as shown in the picture below. Then click on it.

    click on Clear browsing data

    Step 3: In the pop-up window, choose the content you want to delete and click on the Clear data button. Then the selected content will be deleted automatically.

    click on Clear data

    About The Author

    Having writing articles about computer tech for a long time, I am rather experienced especially on the aspect of computer optimization, PC enhancement, as well as tech terms explanation. The habit of looking through tech forums makes me a great computer issues collector. And then, many articles related to these issues are released, which benefit plenty of users. Professional, effective, and innovative are always the pursuit of an editing worker.

    The err_unknown_url_scheme error usually comes up during Android WebView app development when a developer has chosen links to have mailto://, whatsapp://, or any other intent that’s not the basic http:// or https://. Specific URL coding needs to be added to handle these difference URL schemes to prevent this error.

    err_unknown_url_scheme error message

    The discussion and solutions for this article are directed towards Android developers. If you are a user and run into this error, there’s nothing you can do to immediately solve the problem. Your best course of action would be to contact the app developer to make sure they are aware of this bug.

    Android Dominance

    Android is the dominant operating system (OS) for mobile devices. Android boasts a 71% market share, followed by Apple’s iOS with 27% market share. Google bought Android Inc. in 2005 in order to have control over Android’s future development and to load Android OS on all of its mobile devices. All other major mobile device manufacturers, besides Apple, use Android. Samsung, OnePlus, Huawei, Motorola, Nokia, LG, and Sony devices all come preloaded with the Android OS. It’s also significantly easier to develop and host an app on Google’s Play Store than on Apple’s App Store.

    These factors have contributed to a robust Android developer community. Android developers use meetups and conferences, slack and Reddit, blogs and forums, and Stack Overflow to communicate and learn from each other. Many developers are self-taught and rely on the insights of the Android community to overcome persistent programming errors and bugs.

    Android Studio is the only official development environment for Android. Android Studio was built using JetBrains’ software, the same company responsible for a variety of other popular IDEs (integrated development environments) for languages like Python (Pycharm), PHP (PhpStorm), and Java (IntelliJ IDEA).

    Android Studio dashboard

    Native apps live in the Google Play Store or App Store. They are fully developed applications that are installed directly onto the mobile device. Native apps will maintain most of their functionality even when not connected to the internet or mobile networks. These differ from web apps, which are simply websites. Web applications are easier to develop but don’t have access to any system features like GPS.

    As a developer you may want to build a native app but still provide access to web content. This is done using WebView. WebView is a special class that allows web content to be displayed within your native app. For example, if you have the native Facebook app on your phone and click an external link, the webpage will load within the app. You can navigate around on the loaded webpage, access other parts of the webpage, shop, and interact. The embedded browser will not have an address bar for your user to search with. This provides the developer a way to have both the benefits of a web app and a native app.

    WebView is set to handle certain URL schemes. If you try to use a special URL scheme outside the standard https:// and http://, WebView can throw the err_unknown_url_scheme error. A few of the non-standard URL schemes that WebView isn’t set to recognize are:

    • mailto://
    • whatsup://
    • file://
    • telnet://
    • intent://
    • market://
    • app://

    WebView app development in Android Studio

    3 ways to fix the err_unknown_url_scheme error

    To solve this error, you can go one of two routes: either disable those schemes and only develop your app using http:// and https:// schemes, or you can edit your code to be able to handle these specific URL schemes. The first option is not an absolute solution but can fix the problem in some use cases. The second solution shows examples of how to add new intents for URL schemes, and the third solution involves disabling any non-standard URL schemes.

    1. Open In New Window

    A quick and easy stopgap solution is editing your URL href code. By adding target=”_blank” you are able to solve the problem in a roundabout way. Now adding this snippet of code can have an undesirable development effect because this link will now open in a new window.

    Development best practice is to avoid opening extra browser windows. This is because a new browser can bother or confuse your user. By removing the ‘back’ button, users find it more difficult to navigate and get back to their previous page in your app. The standard is target=”_self”, which opens the link in the same browser page.

    Below is an example of URL href code with target=”_blank” added in:

    2. Add New Intent to Load in External App

    In Android development, intents are used to tell Android what you want the app to do, essentially allowing you to call a specific action or component. Some scheme errors can be fixed by adding an intent to load in an external app. For example, loading mailto:// in an external app should cause the email link to open in your default email application. Another example is maps:// which should open in your default maps application.

    In the code snippet below, you will be using an IF statement to handle this. Any URL that starts with http:// or https:// is ignored and opened as usual. Otherwise, if the URL involves a special scheme such as:

    • tel://
    • sms://
    • mailto://
    • geo://
    • maps://

    then a new intent is added to load the action in an external app. If the activity cannot be successfully started because no associated external app exists on that system, an error will appear to the user.

    Another code snippet is included below to show that you can tackle this problem in a variety of ways. This method overrides URL loading like seen above and should open a related app to carry out the protocol. If the associated application, in this case Whatsapp is not installed, a message is displayed for your user. This message is called a toast message and gives the user an idea on what went wrong and how to fix it. The toast message for this scheme was ‘Whatsapp has not been installed’.

    3. Disable any non-standard URL schemes

    By disabling URL schemes other than the standard https:// and http:// you are bypassing this problem completely. You won’t be able to use any custom schemes like the ones listed earlier in the article.

    If your app has one of these schemes or a user somehow navigates to a link using these schemes, a toast message will appear. The message “Error: Unknown link type” will tell the user they can’t proceed. Below is an example of this method:

    WebView Has Great Benefits, But Some Creative Coding Is Needed

    Android WebView really provides the best of both worlds for Android developers, but creative workarounds are needed for some situations. By using WebView to display an embedded browser within your native app, you gain all the benefits of both the native app and a web app. You will be able to use the native system APIs in your web code which is usually constrained.

    If you are developing an app and want to include special URLs, outside of http:// and https:// you will need to add some intents or fall back URLs, otherwise your our users will experience the error “err_unknown_url_scheme”. When a URL like mailto:// or maps:// is called, your code needs to open an associated external app that can complete that action. Otherwise you can disable these other URLs and set a specific error message to any users that stumbles upon a link with one of these URL schemes.

    You need override the method shouldOverrideUrlLoading of WebViewClient in which you can control link transfer by yourself.

    Because html links that starts with mailto: whatsapp: and tg: (Telegram). is not common url start with «http://» or «https://», so WebView cannot parse it to right place, we should use intent to redirect the url.

    then setWebViewClient to your WebView, like this:

    I am building a hybrid mobile app with Visual Studio Tools for Apache Cordova that is able to make phone calls, send text message or emails, view a location on a map, etc. These are all handled with external applications (for instance use Gmail to send an email or Maps to pinpoint a location). They are placed in an anchor tag in HTML, such as <a href=»tel:12345678″>, <a href=»sms:12345678″>, <a href=»mailto:name@domain.com»> or <a href=»geo:…»>. These work fine except that when you execute one of these actions and the system opens another app you see for a short time a webview with an error: “Web page not available”. Then the external app opens, you take the action and then go back to the app. At that point you again see this webview with the error as shown below.

    ERR_UNKNOWN_URL_SCHEME when sending a text message

    ERR_UNKNOWN_URL_SCHEME when sending a text message

    This seem to be a known issue as I found many references of it on the web. Here are several for reference:

    • Android WebView “tel:” links show web page not found
    • Getting net::ERR_UNKNOWN_URL_SCHEME while calling telephone number from HTML page in Android
    • Android Webview ERR_UNKNOWN_URL_SCHEME Error
    • Webview shouldoverrideurlloading doesn’t work

    I am using the InAppBrowser plugin to open links in external apps. In order for this to work the schemes must be white-listed in Cordova’s config.xml file and the launch-external attribute should be set to true (which was already set in my case).

    The indicated solution is to override WebView.shouldOverrideUrlLoading method.

    I added the following in pluginscordova-plugin-inappbrowsersrcandroidInAppBrowser.java in the plugin’s WebView extension, but that did not work as the code did not even execute.

    Looking for a solution I have noticed that this was only working OK for tel: and for others it was exhibiting this behavior. Then I found the following code in the InAppBrowser plugin class, in the execute() method.

    I have changed that to include the other schemes and that fixed the problem.

    With this in place, the web page error no longer shows up for any URL scheme.

    I’m not sure if this is the best solution, but it is the only one that I managed to implement.

    How to fix Err_Unknown_Url_Scheme (SOLVED)

    Eldo Roshi

    Have you ever encountered the err_unknown_url_scheme and did not know how to troubleshoot or fix the error. This article provides solutions on how to fix the error.

    What is Err_Unknown_Url_Scheme

    err_unknown_url_scheme error

    Before we dive into the solutions, we first need to understand the problem. The err_unknown_url_scheme is an error that occurs when a received website or application does not receive specific information from the device. This means that the webview url project cannot be certified. There is no application on your device that can handle this type of error.

    When Does Unknown Url Scheme Error Happen?

    The error occurs when:

    • Trying to open a redirected url
    • Calling an Android phone number
    • Trying to use OAuth with a custom Chrome card

    This problem can also occur in “mailto:”, “SMS:” , “egeo:” “tel:” links to an iframe.

    What Causes the Unknown Url Scheme Error

    This type of error is caused by Google Chrome Browser’s webview inability to recognise the URL scheme. This problem occurs when the browser does not recognise the err_too_many_redirects URL scheme.

    The Chrome webview only recognises the http:// and https:// protocols. It does not recognise other protocols like buy://, app://, mail://, whatsapp://, and any other protocol that is not http or https. Specific url codes are required for these different URL schemes that are neither http nor https.

    Solutions to the err_unknown_url_scheme error should mostly be handled by the site or app developer at the backend. This is to ensure a smooth user experience on the client side.

    Should you encounter the error as a user, there are a few actions you can take to resolve the problem.

    How to Fix the Err_Unknown_Url_Scheme

    There are 5 main solutions to the url_unknown_url_scheme error. Follow the step-by-step guides below to fix the error.

    1. Temporarily Disable Chrome Extensions

    disable chrome extensions

    The first step is to disable the browsing disguise feature. If the error still persists, then you should disable all Chrome extensions. Follow the steps below to successfully disable chrome extensions:

    • Open a new chrome tab
    • Click on the gears button, then click on settings
    • Click on the Extension option
    • Once the extension page opens, disable the extensions one by one. You can do this by clicking on the extension’s status button until the error disappears. Once you find the extension causing the error, disable it or remove it completely.

    An easy way to access extensions is:

    • Open a new chrome tab
    • On the url type: chrome://extensions/
    2. Clear the Cookies and Browser Cache

    clear browser cache

    You should also try clearing the browser cache and cookies if the steps above do not resolve the issue. Follow these steps to clear cookies and cache:

    • Go to the Google Chrome’s settings by type on URL: chrome://settings/
    • Then go to Privacy and Security
    • Click on Clear browsing data
    • Choose the content you want to delete in the popup window. Cookies and cached files should be among your selections. After making your selections, click on the clear data button.
    3. Turn Off Hardware Acceleration

    disable chrome hardware acceleration

    The next solution if the problem still persists is to turn off hardware acceleration in the Google Chrome browser.

    Here is how to turn it off:

    • Follow the steps above to get to the browser’s settings: chrome://settings/
    • Click on the ‘System’ option to expand the options
    • Scroll on Use hardware acceleration when available and disable it
    4. Disable all Firewall Programs

    Sometimes the error occurs because of incorrect configuration of the Windows firewall. The solution therefore is to disable the Windows firewall. This is how to turn off the firewall:

    • Go to your control panel. Search for control in the search box and control panel will be the top option
    • Once you get to the control panel, click ‘Windows Defender Firewall’.
    • Click on the ‘Turn Windows Defender Firewall On and Off’ option in the left pane.
    • Click on ‘Turn Off WIndows Defender Firewall (Not Recommended)’ option. Do this in both the private and public network settings sections.
    • Click OK to save changes
    5. Create a New User Profile in Chrome

    You can also try to create a new Chrome user profile. Follow these steps to set up the new profile:

    Open a new Windows explorer window

    Type “%LOCALAPPDATA%” Windows Explorer address bar

    localdata windows browser

    Find the ‘default’ folder in the directory pane. Change the name to ‘Default Backup’.

    how to create a new chrome profile

    The information can now be transferred from the old profile to the new one.

    The last step above of transferring information from the old profile to a new one is not recommended because some of your old files might be destroyed. To avoid losing important data, you can download your favorite old files by copying the “Bookmarks.bak” file from the Backup folder to the new Default folder. Change the “Bookmarks.bak” file name to “Bookmarks” to complete the transition.

    Recommendations for App Developers

    App developers who want to include special URLs outside of the http:// and https:// protocols need to add fallbacks or some intents. Otherwise, your app users will experience the err_unknown_url-scheme error. This seriously harms their overall user experience. For the WordPress Developers, I strongly recommend moving their site from HTTP to HTTPS protocol.

    Conclusion

    The above solutions should fix the err_unknown_url_scheme error. App developers, however, should strive to meet the code requirements to prevent this error in the first place. There are many online guides that can be followed to ensure your apps or site do not encounter this error.

    Eldo Roshi

    As one of the co-founders of Codeless, I bring to the table expertise in developing WordPress and web applications, as well as a track record of effectively managing hosting and servers. My passion for acquiring knowledge and my enthusiasm for constructing and testing novel technologies drive me to constantly innovate and improve.

    Expertise:

    Linux System Administration,

    Experience:

    15 years of experience in Web Development by developing and designing some of the most popular WordPress Themes like Specular, Tower, and Folie.

    Education:

    I have a degree in Engineering Physics and MSC in Material Science and Opto Electronics.

    ERR_UNKNOWN_URL_SCHEME

    The ERR_UNKNOWN_URL_SCHEME error is commonly because of your browser issue . There’s no application on your device which can handle that particular action. It is a Chromium bug . In Chrome version 40 and up, this bug has resurfaced, but only if you are manually entering the URL of the redirect page in the address bar. The issue is on the chromium issue tracker here .

    This error sometimes gets triggered when you are trying to open another page of the interface . This error has one temporary solution. When the error gets encountered you need to backward and click to open the page again. Might this solution can temporarily move you away from this recent err_unknown_url_scheme on chrome and err_unknown_url_scheme on android.

    You may get this «ERR_UNKNOWN_URL_SCHEME error» during mailto: or tel: links inside an iframe.

    To solve it, try to add target=»_blank» in your URL Scheme/Code.

    UNKNOWN_URL_SCHEME

    For Example:

    This error has no any specific solution till now. Android user and PC user all are facing this error which needs to be sought out. There’s a long-standing bug in Chromium regarding how links without protocols are handled. It occasionally is patched, but seems to keep resurfacing. In some cases, prefixing your links with http:// (or https://) should resolve the issue for you:

    UNKNOWN_URL_SCHEME

    What is URL Scheme

    URL Scheme simply tells you how to interpret the part of the URL after the colon (:). The app: URL scheme can be used by packaged applications to obtain resources that are inside a container. These resources can then be used with web platform features that accept URLs. A URL Scheme is like «http://. « or «ftp://. « . At the simplest level, a custom URL scheme allows users to open your app from other apps. But the true power of URL schemes is in the ability to perform specific actions as your app opens. The scheme indicates the addressing system used. URL’s are really a unification of various disparate addressing systems . The part before the colon identifies the scheme in use, and everything after the colon is syntax specific for the scheme. Each scheme defines its own unique way of addressing resources . This makes the URL standard infinitely extensible through adding new schemes.

    It is hard to say anything in general for schemes , because they are wildly different. In many cases the name of the scheme is the name of a protocol which can be used to fetch the resource (like http, https, ftp etc.) but that is not hard rule, eg. the ‘mailto’ scheme indicates an e-mail address, but not a particular protocol. Some schemes does not correspond to any specific protocol, like the ‘about’ scheme used in web browsers, where the resource is not fetched via a protocol at all, but is built-in in the client.

    How to fix the ‘err_unknown_url_scheme’ Android WebView error

    What is the err_unknown_url_scheme Android WebView error?

    The err_unknown_url_scheme error usually comes up during Android WebView app development when a developer has chosen links to have mailto://, whatsapp://, or any other intent that’s not the basic http:// or https://. Specific URL coding needs to be added to handle these difference URL schemes to prevent this error.

    err_unknown_url_scheme error message

    The discussion and solutions for this article are directed towards Android developers. If you are a user and run into this error, there’s nothing you can do to immediately solve the problem. Your best course of action would be to contact the app developer to make sure they are aware of this bug.

    Android Dominance

    Android is the dominant operating system (OS) for mobile devices. Android boasts a 71% market share, followed by Apple’s iOS with 27% market share. Google bought Android Inc. in 2005 in order to have control over Android’s future development and to load Android OS on all of its mobile devices. All other major mobile device manufacturers, besides Apple, use Android. Samsung, OnePlus, Huawei, Motorola, Nokia, LG, and Sony devices all come preloaded with the Android OS. It’s also significantly easier to develop and host an app on Google’s Play Store than on Apple’s App Store.

    These factors have contributed to a robust Android developer community. Android developers use meetups and conferences, slack and Reddit, blogs and forums, and Stack Overflow to communicate and learn from each other. Many developers are self-taught and rely on the insights of the Android community to overcome persistent programming errors and bugs.

    Android Studio is the only official development environment for Android. Android Studio was built using JetBrains’ software, the same company responsible for a variety of other popular IDEs (integrated development environments) for languages like Python (Pycharm), PHP (PhpStorm), and Java (IntelliJ IDEA).

    Android Studio dashboard

    What are Native Apps? How are they related to the err_unknown_url_scheme error?

    Native apps live in the Google Play Store or App Store. They are fully developed applications that are installed directly onto the mobile device. Native apps will maintain most of their functionality even when not connected to the internet or mobile networks. These differ from web apps, which are simply websites. Web applications are easier to develop but don’t have access to any system features like GPS.

    As a developer you may want to build a native app but still provide access to web content. This is done using WebView. WebView is a special class that allows web content to be displayed within your native app. For example, if you have the native Facebook app on your phone and click an external link, the webpage will load within the app. You can navigate around on the loaded webpage, access other parts of the webpage, shop, and interact. The embedded browser will not have an address bar for your user to search with. This provides the developer a way to have both the benefits of a web app and a native app.

    WebView is set to handle certain URL schemes. If you try to use a special URL scheme outside the standard https:// and http://, WebView can throw the err_unknown_url_scheme error. A few of the non-standard URL schemes that WebView isn’t set to recognize are:

    • mailto://
    • whatsup://
    • file://
    • telnet://
    • intent://
    • market://
    • app://

    WebView app development in Android Studio

    3 ways to fix the err_unknown_url_scheme error

    To solve this error, you can go one of two routes: either disable those schemes and only develop your app using http:// and https:// schemes, or you can edit your code to be able to handle these specific URL schemes. The first option is not an absolute solution but can fix the problem in some use cases. The second solution shows examples of how to add new intents for URL schemes, and the third solution involves disabling any non-standard URL schemes.

    1. Open In New Window

    A quick and easy stopgap solution is editing your URL href code. By adding target=”_blank” you are able to solve the problem in a roundabout way. Now adding this snippet of code can have an undesirable development effect because this link will now open in a new window.

    Development best practice is to avoid opening extra browser windows. This is because a new browser can bother or confuse your user. By removing the ‘back’ button, users find it more difficult to navigate and get back to their previous page in your app. The standard is target=”_self”, which opens the link in the same browser page.

    Below is an example of URL href code with target=”_blank” added in:

    2. Add New Intent to Load in External App

    In Android development, intents are used to tell Android what you want the app to do, essentially allowing you to call a specific action or component. Some scheme errors can be fixed by adding an intent to load in an external app. For example, loading mailto:// in an external app should cause the email link to open in your default email application. Another example is maps:// which should open in your default maps application.

    In the code snippet below, you will be using an IF statement to handle this. Any URL that starts with http:// or https:// is ignored and opened as usual. Otherwise, if the URL involves a special scheme such as:

    • tel://
    • sms://
    • mailto://
    • geo://
    • maps://

    then a new intent is added to load the action in an external app. If the activity cannot be successfully started because no associated external app exists on that system, an error will appear to the user.

    Another code snippet is included below to show that you can tackle this problem in a variety of ways. This method overrides URL loading like seen above and should open a related app to carry out the protocol. If the associated application, in this case Whatsapp is not installed, a message is displayed for your user. This message is called a toast message and gives the user an idea on what went wrong and how to fix it. The toast message for this scheme was ‘Whatsapp has not been installed’.

    3. Disable any non-standard URL schemes

    By disabling URL schemes other than the standard https:// and http:// you are bypassing this problem completely. You won’t be able to use any custom schemes like the ones listed earlier in the article.

    If your app has one of these schemes or a user somehow navigates to a link using these schemes, a toast message will appear. The message “Error: Unknown link type” will tell the user they can’t proceed. Below is an example of this method:

    WebView Has Great Benefits, But Some Creative Coding Is Needed

    Android WebView really provides the best of both worlds for Android developers, but creative workarounds are needed for some situations. By using WebView to display an embedded browser within your native app, you gain all the benefits of both the native app and a web app. You will be able to use the native system APIs in your web code which is usually constrained.

    If you are developing an app and want to include special URLs, outside of http:// and https:// you will need to add some intents or fall back URLs, otherwise your our users will experience the error “err_unknown_url_scheme”. When a URL like mailto:// or maps:// is called, your code needs to open an associated external app that can complete that action. Otherwise you can disable these other URLs and set a specific error message to any users that stumbles upon a link with one of these URL schemes.

    Home » Smartphone » Android » How to fix the ‘err_unknown_url_scheme’ Android WebView error

    Ошибка сайта Net::ERR_UNKNOWN_URL_SCHEME – что это? Как исправить?

    ошибка Net::ERR_UNKNOWN_URL_SCHEME Источник: https://helpshub.ru/net-err_unknown_url_scheme

    Что представляет собой ошибка Net::ERR_UNKNOWN_URL_SCHEME? Многие пользователи телефонов на ОС Андроид получили такое уведомление с ошибкой, когда переходили по ссылке, связанной с запуском определенного приложения. Это мог быть переход в закрытую беседу в Viber, Telegram, Skype или Зум. В переводе на русский — неизвестная URL схема (а точнее неизвестный URL путь сайта). Изображение с сообщением об ошибке выглядит так:

    Как правило такое сообщение выскакивало у пользователей смартфонов Хуавей или Хонор, Xiaomi. Как исправить ошибку?

    Почему появляется ошибка Net::ERR_UNKNOWN_URL_SCHEME?

    Зачастую, это несоответствие протоколов, используемых браузером и самой программы в которую переходит по ссылке пользователь. Обычно ошибка решается простым обновлением используемого браузера или переустановкой программы мессенджера (Skype, Viber и тд). Просто зайдите в Плей Маркет и обновите все используемые приложения (касаемо данной проблемы). Таким образом вы собственноручно обновите протоколы android.permission.

    Кроме того, ошибка может появиться в случае:

    1. Попытке дозвониться пользователю в приложении.
    2. Открытия ссылки для перехода на конкретный URL. (Случай описанный выше).
    3. Если переходить по ссылке, которая в свою очередь должна открыть в новом окне.
    4. Перехода по ссылкам с номерами телефонов, e-mail, sms-сообщений.
    5. В момент ввода авторизационных данных, логин и пароль.

    Ошибка Net::ERR_UNKNOWN_URL_SCHEME. Смена браузера.

    В случае, если после обновления ситуация осталась на прежнем месте, попробуйте сменить браузер на тот, который стоит по умолчанию. Простыми словами это встроенный в телефон браузер (родной), типа интернет эксплорера на ПК.

    Как говорилось выше, чаще всего ошибка выскакивает, если пользователь использует браузер Гугл Хром в купе с китайскими смартфонами Huawei, Honor, Xiaomi.

    Для моделей смартфона Хонор:

    1. Меню.
    2. Настройки.
    3. Приложения по умолчанию.
    4. Браузер.
    5. Выберите браузер который будет работать по умолчанию.

    Скорее всего Яндекс Браузер также будет выдавать ошибку в связи с тем, что он сделан на фришном движке Блинк на базе chromium.

    Для моделей Хуавей и Xiaomi:

    1. Меню.
    2. Настройки.
    3. Приложения.Меню настройки
    4. Все приложения.все приложения
    5. Ищем Гугл Хром или другой используемый браузер.Google Chrome
    6. Сбросить настройки по умолчанию или Браузер по умолчанию.Не удалось открыть веб-страницу ошибка Net::ERR_UNKNOWN_URL_SCHEME сброс настроек
    7. В момент открывания ссылки выбираем браузер который будет работать по умолчанию.

    Пользуйтесь браузер Mozila FireFox. Также его можно использовать по умолчанию. Т.е. ссылки, открываемые вами, будут открываться автоматически в этом браузере.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Школа онлайн с государственным аттестатом