#Mobile app with next js?
20 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
I've been wondering the same thing. Is it a good choice to build a Android app, IOS app and web app backend with nextjs.
I was thinking to use Nest for backend and in Next i would use server actions to fetch api endpoints from nest. Thus Next would be used just as proxy server in my case.
We built the UI for https://apps.apple.com/us/app/all-out-multiplayer-fun/id6462538718 in NextJS.
Used webkit webviews on iOS and the Android equivalent and wrapped out NextJS site
Get ready for non-stop action and endless customization in All Out! Whether you want to battle friends or make new ones, All Out has something for everyone.
Key Features:
Customize Your Avatar
Unlock unique outfits, accessories, and more to create your perfect avatar!
Exciting Multiplayer Game Mo…
Works pretty well and feels native with some effort
that’s crazy wow
woahh
This is how it looks and feels. About 80% code reuse to our desktop version
It’s all the same components but the page level layout is different
Video looks choppy but the wheel runs at 60FPS consistently
We also have haptic feedback support. We use the postMessage JS API to make calls to Swift/Obj-C
my question is how do you make next work on android? did you use native? or something else
We use whatever the WKWebView equivalent is and wrap the web app the same way, no react native etc...
i see, will try something like this soon
Bro, this looks awesome! Congrats!
Didn't know this is even possible, to build mobile apps with Next.js.
yeah same TIL
But still, i think that in some larger apps that have complex backend logic it might be better to use some mature backend framework because of scalability. What do you think guys?
i always support keeping the backend separate
Yeah this is a separate backend. We have our API services still in Node, but with Fastify as the framework and self hosted. We fetch these endpoints in RSC and call to them in server actions