Comments (8)
If helpful in finding the issue:
- OS 14.2 (latest, currently)
- PWA Elements v3.0.1
- Cap iOS 2.4.4
When it freezes, if you tap the red camera icon in Safari's search/URL base to turn the camera off, then back on again, everything works as expected.
from pwa-elements.
Can confirm running Ionifits app in Safari browser or as installed PWA.
Specs:
- iOS 14.2 (latest, currently)
- PWA Elements v3.0.1
- Cap iOS 2.4.3 (2.4.4. is latest)
- Ionifits app code: https://github.com/ionic-team/ionifits
- On the web: https://ionifits.ionicframework.com
- Camera usage code (getPhoto): view this line
To repro, open https://ionifits.ionicframework.com on an iOS device. On login screen, take SKIP button, tap Expenses tab, tap FAB button at bottom to open modal, then tap the Camera FAB to open the device camera. The front facing camera loads and the image freezes right away. after about 2 seconds, the camera window turns to black.
Running on the web (desktop), get this error in console: Uncaught (in promise) TypeError: Cannot read property 'length' of undefined at o.initPhotoCapabilities
from pwa-elements.
same happens to me. ios 14.0
from pwa-elements.
+1 (iOS 14.1, iPad Pro)
from pwa-elements.
Which version of iOS?
from pwa-elements.
As mentioned in the other thread https://github.com/ionic-team/capacitor/issues/3656, iOS 14.3 seems to solve this issue. I guess we have to wait and the problem will sort out itself.
from pwa-elements.
I upgraded from iPad OS 14.0.1 to 14.4 and this solved the issue, I think this issue can be safely closed.
The link to the other thread is: ionic-team/capacitor#3656 (something is wrong with the link above)
I couldn't find anything official from Apple about this, the Apple developer thread is: https://developer.apple.com/forums/thread/667453
from pwa-elements.
closing since it was an iOS issue and was fixed by apple
from pwa-elements.
Related Issues (20)
- cancel photo click raise uncaught exception on web
- camera - after pressing on take picture button it takes 1-2s to output the image HOT 7
- Unable to load dynamic imports with vite HOT 24
- Ability for the Camera to choose between multiple rear cameras
- feat: Possibility to translate in the camera plugin when it does not exist. HOT 3
- Vue Support?
- Documentation not in line with Ionic 7 HOT 1
- bug: unexpected token when parsing module HOT 5
- Unable to use in esm package. Module not found: Can't resolve '@ionic/pwa-elements/loader/index.js'
- Warning when running with Angular + Vite
- The Rear camera is not working on devices with multiple cameras HOT 1
- Switching camera (e.g. Front to Rear) is not working in Safari
- Switching between front and rear cameras causes Chrome to freeze on Android 11 HOT 2
- feat: Camera should allow for additional `accept` types for file selection
- source configuration. not working. can't enable for CameraSource.Camera / CameraSource.Photos HOT 3
- A /undefined request is made when taking a photo HOT 1
- Question: is that possible to force the use of PWA elements on Android Capacitor App ? HOT 4
- Tool request: provide a codesandbox example to easily test PWA elements components
- Show loading during image capture HOT 2
- Camera breaks on modal close on web HOT 1
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 pwa-elements.