Skip to content

Voice chat paty#5147

Closed
oazad8745-dev wants to merge 1 commit into
react:mainfrom
oazad8745-dev:patch-2
Closed

Voice chat paty#5147
oazad8745-dev wants to merge 1 commit into
react:mainfrom
oazad8745-dev:patch-2

Conversation

@oazad8745-dev

Copy link
Copy Markdown
VID-20260516-WA0006.mp4

// utils/generateUserId.js
export const generateSpecialUserId = () => {
const prefix = 'SYL'; // Sylhet এর জন্য
const numbers = Math.floor(100000 + Math.random() * 900000); // 6 ডিজিট
const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
const suffix = letters[Math.floor(Math.random() * 26)] + letters[Math.floor(Math.random() * 26)];

return ${prefix}${numbers}${suffix};
};

// ব্যবহার: const userId = generateSpecialUserId(); // SYL482913KZ

// utils/generateUserId.js
export const generateSpecialUserId = () => {
  const prefix = 'SYL'; // Sylhet এর জন্য
  const numbers = Math.floor(100000 + Math.random() * 900000); // 6 ডিজিট
  const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
  const suffix = letters[Math.floor(Math.random() * 26)] + letters[Math.floor(Math.random() * 26)];
  
  return `${prefix}${numbers}${suffix}`;
};

// ব্যবহার: const userId = generateSpecialUserId(); // SYL482913KZ
@meta-cla

meta-cla Bot commented Jun 21, 2026

Copy link
Copy Markdown

Hi @oazad8745-dev!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@oazad8745-dev

Copy link
Copy Markdown
Author
images (18)

@oazad8745-dev

Copy link
Copy Markdown
Author

import 'react-native-gesture-handler';
import React from 'react';
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createDrawerNavigator, DrawerContentScrollView, DrawerItemList } from '@react-navigation/drawer';
import Icon from 'react-native-vector-icons/Ionicons';

const Drawer = createDrawerNavigator();

// স্ক্রিনগুলো
function HomeScreen({ navigation }) {
return (

<TouchableOpacity onPress={() => navigation.openDrawer()} style={styles.menuBtn}>


হোম স্ক্রিন
এটা আপনার মেইন ড্যাশবোর্ড

);
}

function ProfileScreen({ navigation }) {
return (

<TouchableOpacity onPress={() => navigation.openDrawer()} style={styles.menuBtn}>


প্রোফাইল
ইউজারের তথ্য এখানে

);
}

function SettingsScreen({ navigation }) {
return (

<TouchableOpacity onPress={() => navigation.openDrawer()} style={styles.menuBtn}>


সেটিংস
অ্যাপ সেটিংস এখানে

);
}

// কাস্টম ড্রয়ার মেনু
function CustomDrawer(props) {
return (
<DrawerContentScrollView {...props} style={styles.drawer}>


আপনার নাম
email@example.com

<DrawerItemList {...props} />

);
}

export default function App() {
return (

<Drawer.Navigator
drawerContent={props => <CustomDrawer {...props} />}
screenOptions={{
headerShown: false,
drawerActiveTintColor: '#fff',
drawerActiveBackgroundColor: '#5865F2',
drawerInactiveTintColor: '#ccc',
drawerStyle: {
backgroundColor: '#1a1a2e',
width: 260,
},
}}
>
<Drawer.Screen
name="Home"
component={HomeScreen}
options={{
drawerIcon: ({color}) => ,
title: 'হোম'
}}
/>
<Drawer.Screen
name="Profile"
component={ProfileScreen}
options={{
drawerIcon: ({color}) => ,
title: 'প্রোফাইল'
}}
/>
<Drawer.Screen
name="Settings"
component={SettingsScreen}
options={{
drawerIcon: ({color}) => ,
title: 'সেটিংস'
}}
/>
</Drawer.Navigator>

);
}

const styles = StyleSheet.create({
screen: {
flex: 1,
backgroundColor: '#16213e',
alignItems: 'center',
justifyContent: 'center',
padding: 20,
},
title: {
fontSize: 24,
fontWeight: 'bold',
color: '#fff',
marginBottom: 10,
},

@oazad8745-dev

Copy link
Copy Markdown
Author

npm install @react-navigation/native @react-navigation/drawer
npm install react-native-screens react-native-safe-area-context react-native-gesture-handler react-native-reanimated

@Simek Simek closed this Jun 21, 2026
@react react locked as spam and limited conversation to collaborators Jun 21, 2026
@oazad8745-dev oazad8745-dev changed the title Update security.md Voice chat paty Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants