jodinathan / typings

Apache License 2.0
38 stars 9 forks source link

Camera example in types x.sh doesn't work when clicked #21

Open truedat101 opened 7 months ago

truedat101 commented 7 months ago

Following a successful run.sh, try x.sh,

it serves correctly. However, the camera button does not access camera:

: TypeError: MediaDevices.getUserMedia: 'advanced' member of MediaTrackConstraints can't be converted to a sequence. [lockdown-install.js:1:97687](moz-extension://513ccfa9-8cfa-40d9-86ed-a1e9965e9ceb/lockdown-install.js)
BtnMediaClicked [main.dart.js:4785:17](http://localhost:8080/main.dart.js)
Array [ "Asking for camera capture" ]
​
0: "Asking for camera capture"
​
length: 1
​
<prototype>: Array []
​​
at: function at()
​​
concat: function concat()
​​
constructor: function Array()
​​
copyWithin: function copyWithin()
​​
entries: function entries()
​​
every: function every()
​​
fill: function fill()
​​
filter: function filter()
​​
find: function find()
​​
findIndex: function findIndex()
​​
findLast: function findLast()
​​
findLastIndex: function findLastIndex()
​​
flat: function flat()
​​
flatMap: function flatMap()
​​
forEach: function forEach()
​​
includes: function includes()
​​
indexOf: function indexOf()
​​
join: function join()
​​
keys: function keys()
​​
lastIndexOf: function lastIndexOf()
​​
length: 0
​​
map: function map()
​​
pop: function pop()
​​
push: function push()
​​
reduce: function reduce()
​​
reduceRight: function reduceRight()
​​
reverse: function reverse()
​​
shift: function shift()
​​
slice: function slice()
​​
some: function some()
​​
sort: function sort()
​​
splice: function splice()
​​
toLocaleString: function toLocaleString()
​​
toReversed: function toReversed()
​​
toSorted: function toSorted()
​​
toSpliced: function toSpliced()
​​
toString: function toString()
​​
unshift: function unshift()
​​
values: function values()
​​
with: function with()
​​
Symbol(Symbol.iterator): function values()
​​
Symbol(Symbol.unscopables): Object { at: true, copyWithin: true, entries: true, … }
​​
<prototype>: Object { … }