chore: commit to move to laptop
This commit is contained in:
@@ -150,6 +150,8 @@ node scripts/fix-capacitor-plugins.js
|
||||
|
||||
**Solution**: Always run fix script after sync
|
||||
```bash
|
||||
npm run cap:sync
|
||||
# Or manually:
|
||||
npx cap sync android && node scripts/fix-capacitor-plugins.js
|
||||
```
|
||||
|
||||
@@ -159,9 +161,8 @@ npx cap sync android && node scripts/fix-capacitor-plugins.js
|
||||
|
||||
1. **Make Changes**: Edit Vue components, native code, or plugin logic
|
||||
2. **Build Web**: `npm run build`
|
||||
3. **Sync Native**: `npx cap sync android`
|
||||
4. **Fix Plugins**: `node scripts/fix-capacitor-plugins.js`
|
||||
5. **Build Android**: `cd android && ./gradlew :app:assembleDebug`
|
||||
3. **Sync Native**: `npm run cap:sync` (automatically fixes plugin paths)
|
||||
4. **Build Android**: `cd android && ./gradlew :app:assembleDebug`
|
||||
6. **Deploy**: `adb install -r app/build/outputs/apk/debug/app-debug.apk`
|
||||
7. **Test**: Launch app and verify plugin detection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user