despia-native 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Despia SDK
|
|
2
2
|
|
|
3
|
+
JavaScript SDK for [Despia](https://despia.com) - Add real native device features to your React web app, Vue app, Angular app, or any web framework. Transform your web app into a native iOS & Android app without writing Swift or Kotlin. This npm package provides command queuing and variable watching for seamless integration with Despia's GPU-accelerated native runtime, enabling access to 25+ device APIs through simple JavaScript calls.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
3
7
|
## Quick Start
|
|
4
8
|
|
|
5
9
|
**Install the SDK:**
|
|
@@ -22,7 +26,23 @@ const appInfo = await despia('getappversion://', ['versionNumber']);
|
|
|
22
26
|
|
|
23
27
|
---
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
**Note: This is for web apps (React, Vue, Angular, etc.) to add native features - NOT for React Native apps.**
|
|
30
|
+
|
|
31
|
+
## Web Apps vs React Native
|
|
32
|
+
|
|
33
|
+
**This SDK is for:**
|
|
34
|
+
- React web apps (create-react-app, Next.js, Vite, etc.)
|
|
35
|
+
- Vue web apps
|
|
36
|
+
- Angular web apps
|
|
37
|
+
- Svelte web apps
|
|
38
|
+
- Any web framework or vanilla JavaScript
|
|
39
|
+
|
|
40
|
+
**This SDK is NOT for:**
|
|
41
|
+
- React Native apps
|
|
42
|
+
- Expo apps
|
|
43
|
+
- Native mobile development
|
|
44
|
+
|
|
45
|
+
**If you're building a React Native app, this SDK won't work for you.**
|
|
26
46
|
|
|
27
47
|
**Import:** `import despia from 'despia-native';` (default export, not destructured)
|
|
28
48
|
|
|
@@ -30,14 +50,15 @@ JavaScript SDK for [Despia](https://despia.com) - Transform your web app into a
|
|
|
30
50
|
|
|
31
51
|
## About Despia
|
|
32
52
|
|
|
33
|
-
Despia bridges the gap between web and native mobile development. Build your app using the
|
|
53
|
+
Despia bridges the gap between web and native mobile development. Build your React web app, Vue app, Angular app, or any web framework using the technologies you already know, then deploy it as a truly native application to the App Store and Google Play - complete with hardware acceleration, offline support, and deep OS integration.
|
|
34
54
|
|
|
35
55
|
Our visual editor allows you to configure native widgets, shortcuts, and dynamic app behaviors without touching Xcode or Android Studio. Ship to both app stores with one-click deployment, automatic CI/CD pipelines, and over-the-air updates. Export clean, human-readable Swift and Kotlin source code anytime - you own everything, no vendor lock-in.
|
|
36
56
|
|
|
37
57
|
**Go from web app to app store in a weekend - with full native capabilities.**
|
|
38
58
|
|
|
39
59
|
### Key Features:
|
|
40
|
-
- **
|
|
60
|
+
- **Web Framework Support** - Works with React web apps, Vue web apps, Angular web apps, Svelte web apps, vanilla JS, or any web framework
|
|
61
|
+
- **NOT for React Native** - This is for web apps to add native features, not React Native apps
|
|
41
62
|
- **Visual Configuration** - Set up native features through an intuitive interface
|
|
42
63
|
- **Zero Native Coding** - Access device APIs without writing Swift or Kotlin
|
|
43
64
|
- **Source Code Export** - Get complete Xcode and Android Studio projects you can modify
|
|
@@ -47,7 +68,7 @@ Our visual editor allows you to configure native widgets, shortcuts, and dynamic
|
|
|
47
68
|
- **OTA Updates** - Push updates instantly without app store review
|
|
48
69
|
- **Performance** - 60fps GPU-accelerated rendering
|
|
49
70
|
- **Device API Access** - NFC, HealthKit, Siri, RevenueCat, and 20+ more
|
|
50
|
-
- **Single Codebase** - Maintain one project for iOS, Android, and web
|
|
71
|
+
- **Single Codebase** - Maintain one web project for iOS, Android, and web
|
|
51
72
|
|
|
52
73
|
### Native Device Features:
|
|
53
74
|
- **App Links & Deep Linking** - Universal links and app-to-app communication
|