Skip to content

Commit

Permalink
Merge pull request #21 from NJUPT-SAST/dev-love98
Browse files Browse the repository at this point in the history
fix: Cannot find module '@capacitor-community/barcode-scanner' or its…
  • Loading branch information
love98ooo committed Nov 29, 2023
2 parents 185d033 + ddaad0e commit 9efbc15
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ android {

apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {
implementation project(':capacitor-community-barcode-scanner')
implementation project(':capacitor-action-sheet')
implementation project(':capacitor-app')
implementation project(':capacitor-browser')
Expand Down
3 changes: 0 additions & 3 deletions android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
include ':capacitor-android'
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')

include ':capacitor-community-barcode-scanner'
project(':capacitor-community-barcode-scanner').projectDir = new File('../node_modules/@capacitor-community/barcode-scanner/android')

include ':capacitor-action-sheet'
project(':capacitor-action-sheet').projectDir = new File('../node_modules/@capacitor/action-sheet/android')

Expand Down
3 changes: 0 additions & 3 deletions src/pages/Me.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import OnDevAlert from '../components/OnDevAlert';
import { eventCheckIn, getUserInfo } from '../apis/user';
import Profile from '../components/Profile';
import { useUserInfoStore } from '../util/store';
import { Camera, CameraResultType } from '@capacitor/camera';
import { BarcodeScanner } from '@capacitor-community/barcode-scanner';
import { Toast } from '@capacitor/toast';
import { logout } from '../apis/login';

const Me: React.FC = () => {
Expand Down

0 comments on commit 9efbc15

Please sign in to comment.