Perhaps you can try it with release 3.1.0-SNAPSHOT
And then have a look here: OH3 Widget: Building a camera widget