mg-library 1.0.457 → 1.0.458

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/blocks.js +6 -1
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -455,7 +455,12 @@ export function MGCamera(props) {
455
455
  <View>
456
456
  <Card header={cardHeader} footer={cardFooter}>
457
457
  <View style={{ alignItems: 'center' }}>
458
- <CameraView style={{ width: captureWidth, height: captureHeight }} facing={facing}>
458
+ <CameraView
459
+ style={{ width: captureWidth, height: captureHeight }}
460
+ facing={facing}
461
+ ref={(r) => {
462
+ camera = r
463
+ }}>
459
464
  </CameraView>
460
465
  </View>
461
466
  </Card>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.457",
3
+ "version": "1.0.458",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {