Skip to content

Commit 1c0518a

Browse files
committed
Cleanup
1 parent d9b550b commit 1c0518a

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

resources/views/docs/mobile/1/getting-started/installation.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ order: 100
99
2. Laravel 10 or higher
1010
3. An Apple Silicon Mac running macOS 12+ with Xcode 16+
1111
4. An active [Apple Developer account](https://developer.apple.com/)
12-
5. [A NativePHP for mobile license](https://checkout.anystack.sh/nativephp)
12+
5. [A NativePHP for mobile license](https://checkout.anystack.sh/nativephp)
1313
6. _Optional_ iOS device
1414

1515

1616
#### For iOS
1717
1. An Apple Mac (ideally Silicon) running macOS 12+ with Xcode 16+
1818
2. An active [Apple Developer account](https://developer.apple.com/)
19-
3. You can download Xcode from the Mac App Store.
19+
3. You can download Xcode from the Mac App Store
2020

2121
#### For Android
2222
1. [Android Studio Giraffe (or later)](https://developer.android.com/studio)
@@ -77,7 +77,8 @@ Then run:
7777
composer require nativephp/mobile
7878
```
7979
80-
If this is the first time you're installing the package, you will be prompted to authenticate. Your username is the email address you registered with Anystack. Your password is your license key.
80+
If this is the first time you're installing the package, you will be prompted to authenticate. Your username is the
81+
email address you registered with Anystack. Your password is your license key.
8182
8283
This package contains all the libraries, classes, commands, and interfaces that your application will need to work with
8384
iOS and Android.
@@ -110,26 +111,18 @@ Once you're ready:
110111
php artisan native:run
111112
```
112113
113-
This will start compiling your application and boot it in whichever device you select.
114+
This will start compiling your application and boot it on whichever device you select.
114115
115116
### Running on a real device
116117
117118
#### For iOS
118119
If you want to run your app on a real mobile device, you need to make sure the device is in
119-
[Developer Mode](https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device) and that it's been added to your Apple Developer account as [a registered device](https://developer.apple.com/account/resources/devices/list).
120-
121-
For iOS: You will need to get the device's UDID. You can find this by connecting the device to your Mac and opening it in the
122-
Finder. Click on model name at the top until the UDID appears, then right-click on it to copy it.
123-
124-
Then you can simply run, replacing `{UDID}` with your device's UDID:
125-
126-
```shell
127-
php artisan native:run
128-
```
129-
130-
Alternatively, you may open the `ios/NativePHP.xcodeproj` file in Xcode and run builds using Xcode's UI.
120+
[Developer Mode](https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device)
121+
and that it's been added to your Apple Developer account as
122+
[a registered device](https://developer.apple.com/account/resources/devices/list).
131123
132124
#### For Android
133-
On Android you need [enable developer options](https://developer.android.com/studio/debug/dev-options#enable) and have USB debugging (ADB) enabled.
125+
On Android you need to [enable developer options](https://developer.android.com/studio/debug/dev-options#enable)
126+
and have USB debugging (ADB) enabled.
134127
135128
And that's it! You should now see your Laravel application running as a native app! 🎉

0 commit comments

Comments
 (0)