llaske / sugarizer

Sugarizer is a web implementation of the Sugar platform to run on any device or browser
https://sugarizer.org
Apache License 2.0
198 stars 411 forks source link

Taking picture don't work on Chrome MacOS Big Sur #951

Open llaske opened 3 years ago

llaske commented 3 years ago

Record activity can't take picture on Chrome in MacOS and on Sugarizer MacOS app. Everything seems to work but the preview stream show a gray picture and the resulting picture is empty.

2021-04-25 10-19-21 2021-04-25 10_20_40

It works on Safari.

renneytj commented 3 years ago

I think I've found a fix for this issue but I'm having trouble packaging the project for testing. I've tried using the electron builder but it gives me an error saying "Package "electron" is only allowed in "devDependencies". Please remove it from the "dependencies" section in your package.json". What are the commands that are used to package the program for Mac OS?

sarthak-g commented 3 years ago

@llaske , not able to reproduce this issue.

https://user-images.githubusercontent.com/42293606/116131417-00264c00-a6ea-11eb-8a38-1b046ae3b1bb.mp4

Tested on: MacOS version: 10.15 Chrome Version: 90.0.44

renneytj commented 3 years ago

I was able to get it to work in the browser as well but the app does not work for me. I believe it is a camera permission issue. My mac version is 10.14.6

llaske commented 3 years ago

What are the commands that are used to package the program for Mac OS?

There is a dedicated repo to create Electron packaging here.

llaske commented 3 years ago

@sarthak-g @renneytj Thanks. I've tested on MacOS 11.2.3 (Big Sur). Guess it's related to this version.

renneytj commented 3 years ago

After building using the electron packaging, I tried to run the app but got this error: Screen Shot 2021-04-26 at 7 44 40 PM

llaske commented 3 years ago

@renneytj I've fixed it in dev branch of Sugarizer. Refresh your local repo, it should fix the issue.