You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/views/docs/mobile/2/getting-started/changelog.md
+87-24Lines changed: 87 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,81 @@ title: Changelog
3
3
order: 2
4
4
---
5
5
6
-
## JavaScript/TypeScript Library
6
+
## v2.1.0
7
+
8
+
### Cleaner Console Output
9
+
The `native:run` command now provides cleaner, more readable output, making it easier to follow what's happening during development.
10
+
11
+
### Improved Windows Support
12
+
Better compatibility and smoother development experience for Windows users.
13
+
14
+
### Blade Directives
15
+
New Blade directives for conditional rendering based on platform:
16
+
17
+
```blade
18
+
@mobile
19
+
{{-- Only rendered in mobile apps --}}
20
+
@endmobile
21
+
22
+
@web
23
+
{{-- Only rendered in web browsers --}}
24
+
@endweb
25
+
26
+
@ios
27
+
{{-- Only rendered on iOS --}}
28
+
@endios
29
+
30
+
@android
31
+
{{-- Only rendered on Android --}}
32
+
@endandroid
33
+
```
34
+
35
+
### Improved File Watcher
36
+
The file watcher has been completely overhauled, switching from fswatch to [Watchman](https://facebook.github.io/watchman/) for better performance and reliability. The watcher is now combined with Vite HMR for a unified development experience.
37
+
38
+
### Common URL Schemes
39
+
NativePHP now automatically handles common URL schemes, opening them in the appropriate native app:
40
+
-`tel:` - Phone calls
41
+
-`mailto:` - Email
42
+
-`sms:` - Text messages
43
+
-`geo:` - Maps/location
44
+
-`facetime:` - FaceTime video calls
45
+
-`facetime-audio:` - FaceTime audio calls
46
+
47
+
### Android Deep Links
48
+
Support for custom deep links and app links on Android, allowing other apps and websites to link directly into your app.
49
+
50
+
### Other Changes
51
+
-`System::appSettings()` to open your app's settings screen in the OS Settings app
52
+
-`Edge::clear()` to remove all EDGE components
53
+
- Added `Native.shareUrl()` to the JavaScript library
54
+
-`native:install`: Added `--fresh` and `-F` as aliases of `--force`
55
+
-`native:install`: Increased timeout for slower networks
56
+
57
+
### Bug Fixes
58
+
- Fixed Scanner permissions
59
+
- Fixed Android edge-to-edge display
60
+
- Fixed `Browser::auth` on iOS
61
+
- Fixed text alignment in native top-bar component on iOS
62
+
- Fixed plist issues on iOS
63
+
- Fixed `NATIVEPHP_START_URL` configuration
64
+
- Fixed camera cancelled events on Android
65
+
- Fixed bottom-nav values not updating dynamically
66
+
67
+
## v2.0.0
68
+
69
+
### JavaScript/TypeScript Library
7
70
A brand-new JavaScript bridge library with full TypeScript declarations for Vue, React, Inertia, and vanilla JS apps.
8
71
This enables calling native device features directly from your frontend code. Read more about it
0 commit comments