6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
24 lines
625 B
JavaScript
24 lines
625 B
JavaScript
/**
|
|
* quiXzoom App Entry Point
|
|
*/
|
|
|
|
import { AppRegistry } from 'react-native';
|
|
import { Provider } from 'react-redux';
|
|
import { PersistGate } from 'redux-persist/integration/react';
|
|
import { store, persistor } from './src/store/store';
|
|
import AppNavigator from './src/navigation/AppNavigator';
|
|
import { name as appName } from './app.json';
|
|
|
|
// Root component with Redux and persistence
|
|
function Root() {
|
|
return (
|
|
<Provider store={store}>
|
|
<PersistGate loading={null} persistor={persistor}>
|
|
<AppNavigator />
|
|
</PersistGate>
|
|
</Provider>
|
|
);
|
|
}
|
|
|
|
AppRegistry.registerComponent(appName, () => Root);
|