My app is an Ionic capacitor angular project. It is very simple, just to read QR codes. Testing on android studio works without problem, the app open the camera, read the QR and present the correct results. When I deployed to Firebase, the process finish without any problem and the app is on the screen of my device (tablet), when i tried to begin to scan, the camera is not open, no error messages..nothing, what could be the error? this also happened in other device(my phone), exactly the same behavoir, camera is not open. I would appreciate your comments.
Tried in different devices and same problem. Why in android studio it works and not after deploy in firebase?
Related
I'm trying to create an app in Xamarin. On the Android side everything works fine. However when I deploy ios the app doesn't launch. It doesn't give an error or anything, I just get a response like this. I'm a bit confused about it.
Application it automatically stops. I don't know how to solve it. Ask for help. Thanks
I have a Xamarin.Forms Android app on the Google Play store. An overwhelming amount of users are leaving 1 star app reviews of my app saying that the app is "Freezing." They say that nothing happens when they click on a button in the apps UI. I have made doubly sure that no processes are running on the UI Thread that might hold up the UI. I have not been able to recreate this "Freezing" behavior personally. There are also no crash or ANR reports in the Google Play Console (at least not enough to make up for the amount of negative reviews I'm receiving). Has anyone else faced this problem?
Useful Info:
Xamarin.Forms Version: 4.8.0.1560
There is no discrimination between the Freezing behavior and users' Android API Version
The issue is not happening (or is not being reported) on the iOS app.
Do you have a physical Android device to deploy to? Take the apk and side load it, or download from the store, don't use VS to deploy the app on your device.
I had a similar issue and it was the code shrinker in VS. The released version with the code shrinker enabled, caused the app to freeze immediately after the splash screen.
You can disable it by selecting 'nothing' in the code shrinker box in VS.
I created an iOS WebView app and wanted to display the following website: https://qrcodescan.in/ within this app through WkWebView in fullscreen. Opening it up on safari works perfectly fine and before I can use it I get the message regarding granting camera access.
Opening the same URL up on my app though won't give me any pop up asking for camera permission and therefore the app is not usable. The console show this message: Connection to daemon was invalidated.
I even asked someone to look for the problem and he deployed the same project without any configuration on his iPhone 8 running iOS 13.5.1 and it works perfectly fine. I use an iPhone XR and iOS 13.5.1 as well but it seems. like that I can't get any camera access.
Is there anyone who eventually knows how to fix this problem?
Try asking for camera permission before the web view is created in your app. Request these permissions as if your app was using the camera, not the web view. The web view should then be able to request permission.
I am using NativeScript Playground 5 with iOS 12.1
When I attempt to scan a QR code on Playground, the Preview application loads, but the project specified by the QR code does not load.
It was working a few scans ago, then suddenly this behavior crops up.
Things I have tried:
Re-installing the Playground and Preview App
Getting other phones to try the same QR code -- theirs work
Using my phone on other Playground projects -- doesn't work
Restarting my phone
Making sure that there's Internet access.
I've been trying to get the OneSignal Xamarin SDK setup complete to test it out for an app I'm working on, but I've run into a wall after finishing the setup according to the instructions here OneSignal Documentation - Xamarin SDK Setup. When I go to test the app on the Xamarin Live Player on my phone.
I get a visualization error as follows:
Didn't find class "com.onesignal.OneSignal" on path: DexPathList[[zip file "/data/app/com.xamarin.live-n4xLe1XSCWWGOA9DcqcG-g==/base.apk"],nativeLibraryDirectories=[/data/app/com.xamarin.live-n4xLe1XSCWWGOA9DcqcG-g==/lib/arm,/data/app/com.xamarin.live-n4xLe1XSCWWGOA9cqcG-g==/base.apk!/lib/armeabi-v7a,/system/lib,/vendor/lib]] (ClassNotFoundException)
I'm at a total loss at how to proceed, no where else does this error pop up when I search for other solutions. And to top it off, the code works perfectly on the emulator built into Visual Studio. I can send notifications through the OneSignal website and receive them on the emulator instantly with no issues. But for some reason, it fails every time on my phone with that same error.
SushiHangover gave me the solution.