-
Notifications
You must be signed in to change notification settings - Fork 838
feat(blog): add 2.0.0-alpha.0 (mobile) announcement #1012
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
8ca0036
feat(blog): add 2.0.0-alpha.0 (mobile) announcement
lucasfernog 920c8eb
add known issues
lucasfernog 5d3f4ec
fix link
lucasfernog 4cce951
change banner
lucasfernog 8195f39
update header
lucasfernog d5ae3bf
Update blog/2022-12-09-tauri-mobile-alpha.mdx
lucasfernog 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| --- | ||
| authors: [lucasfernog] | ||
| image: ./tauri_2_0_0_alpha_0/header.png | ||
| description: Tauri mobile is here! The first alpha release 2.0.0-alpha.0 has been published. | ||
| --- | ||
|
|
||
| import Tabs from '@theme/Tabs' | ||
| import TabItem from '@theme/TabItem' | ||
| import iOSPreview from './tauri_2_0_0_alpha_0/ios-preview.png' | ||
| import androidPreview from './tauri_2_0_0_alpha_0/android-preview.png' | ||
|
|
||
| # Announcing the Tauri Mobile Alpha Release | ||
|
|
||
|  | ||
|
|
||
| Tauri mobile is here! The first alpha release 2.0.0-alpha.0 has been published. | ||
|
|
||
| <!--truncate--> | ||
|
|
||
| ## Updating dependencies | ||
|
|
||
| Make sure to update both NPM and Cargo dependencies to the 2.0.0-alpha.0 release. You can update the NPM dependencies with: | ||
|
|
||
| <Tabs groupId="package-manager"> | ||
| <TabItem value="npm"> | ||
|
|
||
| ```shell | ||
| npm install @tauri-apps/cli@next @tauri-apps/api@next | ||
| ``` | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Yarn Classic"> | ||
|
|
||
| ```shell | ||
| yarn upgrade @tauri-apps/cli@next @tauri-apps/api@next | ||
| ``` | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Yarn Berry"> | ||
|
|
||
| ```shell | ||
| yarn up @tauri-apps/cli@next @tauri-apps/api@next | ||
| ``` | ||
|
|
||
| </TabItem> | ||
| <TabItem value="pnpm"> | ||
|
|
||
| ```shell | ||
| pnpm update @tauri-apps/cli@next @tauri-apps/api@next | ||
| ``` | ||
|
|
||
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| To update the Cargo dependencies, run the following in the `src-tauri` folder: | ||
|
|
||
| ```shell | ||
| cargo add [email protected] | ||
| cargo add [email protected] --build | ||
| cargo install tauri-cli --version "^2.0.0-alpha" | ||
| ``` | ||
|
|
||
| ## Preview | ||
|
|
||
| You can adapt your existing desktop application to run on mobile or start a fresh project. | ||
| Tauri runs on the connected device or starts an emulator if available. | ||
|
|
||
| <div | ||
| style={{ | ||
| display: 'flex', | ||
| 'flex-direction': 'column', | ||
| 'align-items': 'center', | ||
| gap: '16px', | ||
| }} | ||
| > | ||
| <img className="transparent" src={iOSPreview} alt="iOS preview" /> | ||
| <img className="transparent" src={androidPreview} alt="Android preview" /> | ||
| </div> | ||
|
|
||
| <br></br> | ||
|
|
||
| Read the complete guide on the [next documentation website](https://next--tauri.netlify.app/next/mobile/). | ||
|
|
||
| ## Known issues | ||
|
|
||
| - TLS support has been moved behind a Cargo feature until we figure out how to cross compile OpenSSL on Windows. | ||
| - Currently running on a device is not supported when using Xcode 14. | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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.
I wonder if updating our FAQ to have tabs for "release" and "next" for this could be useful?