-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
docs: add FAQ about mobile apps #12761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a very weird paragraph to include in the Svelte docs. Surely in the context of this FAQ, 'How do I write my mobile app?' means 'How do I write my mobile app with Svelte?'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I can see that. I was trying to address folks that would point at React Native by noting that usually you're not using JS to write a mobile app anyway. And while I'd like to highlight that solutions exist in Svelte, I honestly can't say I'd recommend them at this point
Maybe there's a better way to word it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still want this PR? If there's nothing we want to recommend then maybe we don't need to say anything. If we do want this FAQ answered then the answer should probably mention Tauri
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think this is helpful. It's a complex ecosystem of different solutions and it helps people to provide some pointers and things to consider. Though the Svelte Native part might need to be updated
I looked at Tauri when writing this and it was completely impossible to write a mobile app in it. Even today I can't find any docs on how to actually do that. They even seem to acknowledge some of the short-comings here: https://v2.tauri.app/blog/tauri-2-0-0-release-candidate/#the-road-to-stable-and-beyond
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, the RC blog post you linked to says this
and https://v2.tauri.app/start/ says this
so while I haven't personally done so it definitely seems like you should be able to (and Thilo Maier and Daniel Mader gave a talk on combining Tauri and SvelteKit at the last Svelte Summit, though they found some drawbacks).
Anyway, if you're still keen to get this in then let's ditch the first and last paragraphs, and point it at
main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I missed them, there are literally zero docs for tauri mobile. Do we really want to tell people about something with no docs? Or can you find the docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://v2.tauri.app/start/frontend/sveltekit/ ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean there are no mobile docs. That page doesn't mention anything about mobile. I guess I could mention something at the end about Tauri, but I'll caveat it quite heavily that it's in development, there are no docs, and you need to find your own way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dev: https://v2.tauri.app/develop/#developing-your-mobile-application
distribute:
android: https://v2.tauri.app/distribute/google-play/
ios: https://v2.tauri.app/distribute/app-store/
i havn't tried it and the docs menu is a bit confusing to me but as far as i understand tauri v2 does support mobile apps and there are docs for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, cool. This is way better than what they had when I originally authored the PR and those pages were essentially TODOs. Their site search is really terrible. If you type "mobile" it doesn't come up. I'll file an issue to see if they can make it a bit easier to find