All Questions



Did anyone have a similar setup?

I have a NextJS app, and I integrated OneSignal.

It was working like a charm.

Then I integrated next-pwa to make it a PWA (on Chrome you can save it as a “native-like” app, even if it’s a website).

OneSignal stopped working (no push notifications received).

author Luca Restagno (ikoichi on Twitter)

Reply
21 Answers

Why PWA? You want desktop app? What about Electron? I think PWA is sometimes pain to implement properly

writen by Dobroslav Radosavljevič

To have the app saved on mobile as a native-like app. Also I think it works better when you click on a push notification, it should open it rather than a new tab in the browser.

writen by Luca Restagno (ikoichi on Twitter)

People don’t really like PWA on phones. Mobile application is better. You can use Capacitor to transform your application to native app with webview. Just an idea

writen by Dobroslav Radosavljevič

Yeah I know, I’ll definitely do that in the future, also the Electron app. But right now I need the PWA (or maybe not ).

Marc Lou do you know how many people make use of Habits Garden as a PWA? (add to home screen)

writen by Luca Restagno (ikoichi on Twitter)

Dobroslav Radosavljevič ever used Tauri for a desktop app?

writen by Luca Restagno (ikoichi on Twitter)

Hey Dobroslav Radosavljevič so I’m not people? I knew that but the definition is new :joy: I really like PWAs most of the time and think most native apps are just unnecessary

writen by Benedikt

I’m wondering if it’s a good alternative to Electron, which is btw pretty good.

writen by Luca Restagno (ikoichi on Twitter)

I like PWAs as well, but we are geek Benedikt

writen by Luca Restagno (ikoichi on Twitter)

Tauri is Rust if I remember correctly. So definitely try it

writen by Benedikt

Whatever Rust is good?

writen by Luca Restagno (ikoichi on Twitter)

I don’t like electron either. Way too much overhead

writen by Benedikt

Well at least it can be (whatever Rust…)

writen by Benedikt

Electron apps can easily become a mess, but I was always able to achieve what I needed to, even the more sophisticated things. BTW, for Inboxs I just need a plain desktop app with a good icon and nice push notifications.

writen by Luca Restagno (ikoichi on Twitter)

I would give Tauri a try , even if I should use only the techs I already know

writen by Luca Restagno (ikoichi on Twitter)

I don’t know Tauri

writen by Dobroslav Radosavljevič

it’s definitely Rust Benedikt

writen by Luca Restagno (ikoichi on Twitter)

https://capacitorjs.com/ Can do native things like push notification

writen by Dobroslav Radosavljevič

By using the OS’s native web renderer, the size of a Tauri app can be less than 600KB.

writen by Benedikt

Tauri might not yet be feature complete but imho it’s a great framework and has a lot of advantages already

writen by Benedikt

Faster, smaller, more efficient, most likely a lot more safer (thx to Rust)

writen by Benedikt

Do you want to ask a question?


Related Questions