chore: add jimp dependency, icon padding script, and update configuration
This commit is contained in:
@@ -260,10 +260,15 @@ export default function CameraScreen({
|
||||
// Final burst photo
|
||||
setBurstIndex(0);
|
||||
setBurstUris([]);
|
||||
onBurstComplete(newUris);
|
||||
// Short delay prevents Android expo-camera crash on immediate unmount
|
||||
setTimeout(() => {
|
||||
onBurstComplete(newUris);
|
||||
}, 400);
|
||||
} else {
|
||||
// Single shot mode
|
||||
onPhotoCaptured(capturedUri);
|
||||
setTimeout(() => {
|
||||
onPhotoCaptured(capturedUri);
|
||||
}, 400);
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.error('Capture failed:', error);
|
||||
|
||||
Reference in New Issue
Block a user