You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The other modules like barcode-scanning should work successfully.
Screenshots
An error is shown:
21:21:55.769 E Attempt to invoke virtual method 'void androidx.camera.view.PreviewView.setScaleType(androidx.camera.view.PreviewView$ScaleType)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.camera.view.PreviewView.setScaleType(androidx.camera.view.PreviewView$ScaleType)' on a null object reference
at io.capawesome.capacitorjs.plugins.mlkit.barcodescanning.BarcodeScanner.lambda$startScan$0(BarcodeScanner.java:107)
at io.capawesome.capacitorjs.plugins.mlkit.barcodescanning.BarcodeScanner.$r8$lambda$XoJ4tltbmXkBZjUvzn_RkQLTSis(Unknown Source:0)
at io.capawesome.capacitorjs.plugins.mlkit.barcodescanning.BarcodeScanner$$ExternalSyntheticLambda3.run(Unknown Source:8)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
Similar case here(conflicting between barcode-scanning and photoviewer ): googlesamples/mlkit#724
Plugin version:
@capacitor-community/bluetooth-le: 5.4.0
Smartphone (please complete the following information):
OS: Android
Additional context
Only one bridge_layout_main.xml(name conflicting) is left after packing, and it depends on the order in the gradle file.
The text was updated successfully, but these errors were encountered:
Describe the bug
A trivial Android layout xml
bridge_layout_main.xml
is conflicting with other plugins which have customizedbridge_layout_main.xml
To Reproduce
Steps to reproduce the behavior:
@capacitor-mlkit/barcode-scanning
[bluetooth-le](https://github.com/capacitor-community/bluetooth-le)
prior to that plugin incapacitor.build.gradle
:Expected behavior
The other modules like
barcode-scanning
should work successfully.Screenshots
An error is shown:
Similar case here(conflicting between
barcode-scanning
andphotoviewer
): googlesamples/mlkit#724Plugin version:
Smartphone (please complete the following information):
Additional context
Only one
bridge_layout_main.xml
(name conflicting) is left after packing, and it depends on the order in the gradle file.The text was updated successfully, but these errors were encountered: