fix(camera): matrix-based zoom for pinch/double-tap, tap-to-focus AE/AF lock, library letterbox smear fix, export raw JPEG bytes q95, resume isActive fixes, dark theme polish
This commit is contained in:
@@ -1,8 +1,21 @@
|
||||
import { registerRootComponent } from 'expo';
|
||||
import React from 'react';
|
||||
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
||||
|
||||
import App from './App';
|
||||
|
||||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
||||
// SafeAreaProvider: root overlays (TopBar / CameraControls) read insets so the
|
||||
// fullscreen viewfinder can run edge-to-edge under the system bars.
|
||||
// (index.ts is plain TS — no JSX here.)
|
||||
function Root() {
|
||||
return React.createElement(
|
||||
SafeAreaProvider,
|
||||
null,
|
||||
React.createElement(App)
|
||||
);
|
||||
}
|
||||
|
||||
// registerRootComponent calls AppRegistry.registerComponent('main', () => Root);
|
||||
// It also ensures that whether you load the app in Expo Go or in a native build,
|
||||
// the environment is set up appropriately
|
||||
registerRootComponent(App);
|
||||
registerRootComponent(Root);
|
||||
|
||||
Reference in New Issue
Block a user