@@ -9,31 +9,30 @@ that lets you focus on building your app. Build for both platforms while you dev
99Native device functions are called directly from your PHP code, giving you access to platform-specific features while
1010maintaining the productivity and familiarity of Laravel development.
1111
12- These functions are called from your PHP code using an ever-growing list of classes. These classes are also wrapped in
13- Laravel Facades for ease of access and testing, such as:
12+ These functions are called from your PHP code using an ever-growing set of [ Plugins ] ( ../plugins/ ) . Plugins contain PHP classes that
13+ are also wrapped in Laravel Facades for ease of access and testing, such as:
1414
1515``` php
1616Native\Mobile\Facades\Biometrics
1717Native\Mobile\Facades\Browser
1818Native\Mobile\Facades\Camera
1919```
2020
21- Each of these is covered in our [ APIs ] ( ../apis/ ) section .
21+ Each of these is covered in their respective plugin's documentation .
2222
2323
2424## Run from anywhere
2525
26- All of our supported APIs are called through PHP. This means NativePHP for Mobile is not reliant upon a web view to
27- function, and eventually we will fully support apps that don't use a web view as their main tool for rendering the UI.
28- Though this will be optional, so you have total freedom of choice and could even build completely hybrid solutions.
26+ All native APIs are called through PHP. This means that your application is not reliant upon a web view to
27+ function.
2928
30- When using a web view and using JavaScript you may also interact with the native functions easily from JavaScript using
29+ However, when using a web view you may also interact with the native functions easily from JavaScript using
3130our convenient ` Native ` library.
3231
3332This is especially useful if you're building applications with a SPA framework, like Vue or React, as you can simply
3433import the functions you need and move a lot of work into the reactive part of your UI.
3534
36- ### Install the plugin
35+ ### Install the Node plugin
3736
3837To use the ` Native ` JavaScript library, you must install the plugin in your ` package.json ` file. Add the following
3938section to the JSON:
@@ -75,7 +74,7 @@ onUnmounted(() => {
7574The library is fully typed, so your IDE should be able to pick up the available properties and methods to provide you
7675with inline hints and code completion support.
7776
78- For the most part, the JavaScript APIs mirror the PHP APIs. Any key differences are noted in our API docs.
77+ For the most part, the JavaScript APIs mirror the PHP APIs. Any key differences are noted in each Plugin's docs.
7978
8079This approach uses the PHP interface under the hood, meaning the two implementations stay in lock-step with each other.
8180So you'll never need to worry about whether an API is available only in one place or the other; they're all always
0 commit comments