I followed this tutorial Your First Ionic App: React - Ionic Documentation and implemented camera support into our app. We’re using app as WebApp and build it on production server with ionic build command.
Now, camera work from browser (Chrome), and work on some Android platforms (as webapp) but on some not?! I checked it on one phone and debug it, it says camera not found?! Then white screen is displayed and app stuck. On the other hand on some phones it works
Could someone point me what can be the cause?
This is our env:
Ionic: Ionic CLI : 6.13.1 (/usr/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/react 5.5.4 Capacitor: Capacitor CLI : 2.4.6 @capacitor/core : 2.4.6 Utility: cordova-res : 0.15.3 native-run : 1.3.0 System: NodeJS : v14.15.5 (/usr/local/bin/node) npm : 6.14.11 OS : Linux 4.18