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

92
Visualizações
Telegram Login SDK For React Native

I want to make user Authentication in my react native mobile App not using google or facebook but Use Telegram. But in the middle of learning react native, I cannot find the package Telegram SDK Login for react native in npmjs.com. Also when google I just found this react telegram login where it is a web based.

here the full code example of using react telegram login :

import React from 'react';
import ReactDOM from 'react-dom';
import TelegramLoginButton from 'react-telegram-login';
 
const handleTelegramResponse = response => {
  console.log(response);
};
 
ReactDOM.render(
  <TelegramLoginButton dataOnauth={handleTelegramResponse} botName="OdauBot" />,
  document.getElementById('telegramButton')
);

Then I just realize that react native cannot use DOM element such : document.getElementById('telegramButton') when I have import do import ReactDOM from 'react-dom';

Is there any way I can use DOM element in react native ? or use the react telegram login in react native ?

Then in the telegram developer site, the source just support for web based widget login.

So where I can find a telegram SDK login for react native ? I need the telegram login because I have created a bot app and the bot app is now launch a month ago. I want to sync my user where I have already save the telegram ID to my database with telegram login to get the telegram ID.

Is that possible for react native app to login using telegram ? is there any reference I need to read to make react native app to login using telegram ?

about 4 years ago · Juan Pablo Isaza
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