Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

217
Visualizações
Anonymous phone call from Ionic

In my Ionic app (with Angular), I give the ability to the users to call a phone number (using the Call Number Plugin), in 2 different ways:

  1. Either publicly
  2. Or anonymously to mask their phone number, by prepending #31# to the callee phone number

No issue for the first case.

However, it doesn't work anymore for the second mode (dialer doesn't even open) whereas it used to work for a long time without any problem.

I also tried from a plain window.open:

window.open('tel:#31#XXXXXXXX')
window.open('tel://#31#XXXXXXXX')
window.open('tel:%2331%23XXXXXXXX')
window.open('tel://%2331%23XXXXXXXX')

but still doesn't work, either on iOS or Android.

Strangely, this does work from Safari on iOS (not tested on Android):

<a href='tel://#31#XXXXXXXX'>Call me</a>

although I have to use tel:// and not tel: to avoid having the following exception: Failed to launch 'tel:#31#XXXXXXXX' because the scheme does not have a registered handler.

Has anyone ever experienced the same issue?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Try this:

  1. %2331%23XXXXXXXXXX

encodeURIComponent('#31#XXXXXXXX')

%2331%23 = #31#

Example:

<a target="_blank" rel="nofollow noreferrer" href="tel:%2331%23XXXXXXXXXX">Anonymous tel:#31#</a> 

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda