DEV Community

Cover image for Push Notification com One Signal
André Rodrigues
André Rodrigues

Posted on

Push Notification com One Signal

imagem-expo

Resolvi escrever esse breve tutorial após me deparar com um certo problema, onde precisava construir uma aplicação em Expo e que tive o Push Notification do One Signal. Procurei por diversos sites e até li na documentação a forma de implementar o One Signal no Expo, mas não estava claro lá. Após diversas pesquisas, eu achei a solução e com isso decidi compartilhar para ficar claro os passos de configuração do OneSignal.

Passos para configuração do OneSignal

1) Inicie um projeto com Expo;
2) Abra a pasta de seu projeto no terminal;
3) Digite o comando "expo eject", esse comando irá criar as pastas para buildar sua aplicação no IOS e Android;
4) Após o procedimento acima, instale o OneSignal em seu projeto, para isso siga as etapas da documentação: https://documentation.onesignal.com/docs/react-native-sdk-setup.

Feito todos os procedimentos acima, e também os da documentação, seu projeto irá rodar com sucesso. Espero que tenha gostado do post, um grande abraço e até o próximo.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Instrument, monitor, fix: a hands-on debugging session

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️