mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-05-06 04:17:56 +00:00
f89fd43855
- Add screen registrations to AppNavigator (P2P, Forum, TaxZekat, Launchpad, President, Vote, Validators, Proposals, Identity, KurdMedia, Perwerde, B2B) - Fix supabase.ts with hardcoded fallback credentials for production - Fix Home tab header (headerShown: false) - Add new screen components for mini apps - Update DashboardScreen with proper navigation and alerts
33 lines
831 B
TypeScript
33 lines
831 B
TypeScript
import React from 'react';
|
|
import { SafeAreaView, StyleSheet } from 'react-native';
|
|
import { PezkuwiWebView } from '../components';
|
|
|
|
/**
|
|
* Be Citizen Screen
|
|
*
|
|
* Uses WebView to load the citizenship application interface from the web app.
|
|
* The web app handles all citizenship logic (new application, existing citizen verification).
|
|
* Native wallet bridge allows transaction signing from the mobile app.
|
|
*
|
|
* Citizenship status is checked at governance action entry points.
|
|
*/
|
|
const BeCitizenScreen: React.FC = () => {
|
|
return (
|
|
<SafeAreaView style={styles.container}>
|
|
<PezkuwiWebView
|
|
path="/be-citizen"
|
|
title="Be Citizen"
|
|
/>
|
|
</SafeAreaView>
|
|
);
|
|
};
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: '#FFFFFF',
|
|
},
|
|
});
|
|
|
|
export default BeCitizenScreen;
|