@flightdev/mobile 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @flight-framework/mobile
1
+ # @flightdev/mobile
2
2
 
3
3
  Mobile app support for Flight Framework via Capacitor. Build iOS and Android apps with the same codebase.
4
4
 
@@ -18,7 +18,7 @@ Mobile app support for Flight Framework via Capacitor. Build iOS and Android app
18
18
 
19
19
  ```bash
20
20
  # Core package
21
- npm install @flight-framework/mobile
21
+ npm install @flightdev/mobile
22
22
 
23
23
  # Install Capacitor (required for native)
24
24
  npm install @capacitor/core @capacitor/cli
@@ -36,7 +36,7 @@ npm install @capacitor/preferences # Optional
36
36
  ### React
37
37
 
38
38
  ```tsx
39
- import { usePlatform, useCamera, useGeolocation } from '@flight-framework/mobile/react';
39
+ import { usePlatform, useCamera, useGeolocation } from '@flightdev/mobile/react';
40
40
 
41
41
  function App() {
42
42
  const { isNative, isIOS, isAndroid } = usePlatform();
@@ -62,7 +62,7 @@ function App() {
62
62
 
63
63
  ```vue
64
64
  <script setup>
65
- import { usePlatform, useCamera, useGeolocation } from '@flight-framework/mobile/vue';
65
+ import { usePlatform, useCamera, useGeolocation } from '@flightdev/mobile/vue';
66
66
 
67
67
  const { isNative, isIOS } = usePlatform();
68
68
  const { takePhoto, available } = useCamera();
@@ -147,7 +147,7 @@ const theme = await get('theme');
147
147
  Create `capacitor.config.ts`:
148
148
 
149
149
  ```typescript
150
- import { defineCapacitorConfig } from '@flight-framework/mobile/config';
150
+ import { defineCapacitorConfig } from '@flightdev/mobile/config';
151
151
 
152
152
  export default defineCapacitorConfig({
153
153
  appId: 'com.example.myapp',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flightdev/mobile",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Mobile app support for Flight Framework via Capacitor - iOS & Android",
5
5
  "keywords": [
6
6
  "flight",
@@ -86,6 +86,12 @@
86
86
  "optional": true
87
87
  }
88
88
  },
89
+ "homepage": "https://github.com/EliosLT/FlightDev",
90
+ "repository": {
91
+ "url": "https://github.com/EliosLT/FlightDev.git",
92
+ "directory": "packages/mobile",
93
+ "type": "git"
94
+ },
89
95
  "scripts": {
90
96
  "build": "tsup",
91
97
  "dev": "tsup --watch",