Comments (5)
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron 💙
from capacitor.
I'm sorry, I won't be having time to create a reproduction soon. In all sincerity, it's also of no importance to me to get this issue fixed. So you're on your own for this one
from capacitor.
Got the same issue after upgrading to Capacitor 6, removing @capacitor-community/barcode-scanner and installing @capacitor-mlkit/barcode-scanning.
ios/App/App/capacitor.config.json
{
"appId": "APP_ID_REMOVED",
"appName": "APP_NAME_REMOVED",
"webDir": "www",
"server": {
"androidScheme": "http"
},
"plugins": {
"PushNotifications": {
"presentationOptions": [
"badge",
"sound",
"alert"
]
}
},
"packageClassList": [
"BarcodeScannerPlugin",
"BarcodeScannerPlugin",
"AppPlugin",
"CAPBrowserPlugin",
"ClipboardPlugin",
"PreferencesPlugin",
"PushNotificationsPlugin",
"SplashScreenPlugin"
]
}
npx cap doctor
Latest Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0
Installed Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/android: 6.0.0
@capacitor/ios: 6.0.0
from capacitor.
Reproduction
mkdir cap-repro-issue-7422
cd cap-repro-issue-7422
npm init --yes
git init
mkdir ./www
echo "<h1>hello world</1>" > ./www/index.html
npm install @capacitor-mlkit/barcode-scanning @capacitor/app @capacitor/core @capacitor/ios @capacitor/cli typescript
npx cap init "MyApp" "com.capacitor.app" --web-dir "www"
npx cap add ios
npx cap sync
cat ios/App/App/capacitor.config.json
Execute above bash-script and you will see an duplicate BarcodeScannerPlugin
entry in packageClassList
array, like this:
{
"appId": "com.capacitor.app",
"appName": "MyApp",
"webDir": "www",
"packageClassList": [
"BarcodeScannerPlugin",
"BarcodeScannerPlugin",
"AppPlugin"
]
}
from capacitor.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
from capacitor.
Related Issues (20)
- [Bug]: Sending TypedArray as fetch body gets JSON.stringified HOT 3
- [Bug]: CapacitorHttp post return data is wrong HOT 3
- ios Build failed HOT 2
- [Feature]: expose `methodName` via `CAPPluginCall` HOT 1
- [Bug]: Update CapacitorHttp "Large File Support" doc, fix Filesystem.downloadFile() doc HOT 2
- [Feature]: Update CapacitorHttp "Large File Support" doc
- [Feature]: material you themeing HOT 1
- [Bug]: Migration to version 6 fails to update gradle wrapper files HOT 2
- [Bug]: Scroll position not restored when navigating back HOT 1
- [Feature]: Provide an iOS privacy manifest compliant version of the device plugin HOT 1
- CapacitorHttp plugin is not accepting Formdata for image upload[Bug]: HOT 7
- [Bug]: Focus is reset to the first focus element when put the focus by physical keyboard and rotate the screen HOT 1
- [Bug]: Focus is reset to the first focus element when put the focus by physical keyboard and rotate the screen
- [Bug]: @capacitor/google-maps "Error calling method create on plugin CapacitorGoogleMaps: No method found." on iOS HOT 2
- Creating a Cross-Platform Library with Capacitor for Android and iOS Integration HOT 1
- [Feature]: how to do ssl pinning? HOT 3
- [Feature]: How to output logs HOT 1
- [Bug]: Capacitor 6 get image from gallery pop-up does not work anymore HOT 1
- [Bug]: was capacitor team has decrease develops or got a layoff in past,seems alot of bugs not have a good resolve,just close it via bot HOT 5
- WSL - ERR_EMULATOR_HOME_NOT_FOUND: No valid Android Emulator home found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor.