bro this is helpful and hindi main he lang rakhna like code with harry kyuki english main toh bahot hain sikhane wale par hindi main apke jaise bahot kam hain thank u
Bhai ek problem aa raha , jab about 450-500 contacts ko fetch krke display kr rhe aur scroll down ho rhe to tapp thoda late se ho raha aur plus jab tezi se upar scroll ho rahe to content kuch seconds k liye gayab ho ja raha
@@abhishekjaiswal6492 sorry for late reply, 400-500 contacts ko memory me load karna bahut difficult hai at a time, so FlatList kya kerta hai vo sirf utna hi contacts load kerta hai jitna screen me visible hai isilye contacts gayab ho ja rahe hai, but still app slow work ker raha hai to FlatList ki kai optimisation techniques hai, tum unki officail docs me baut sare parameters dekh skte ho jisse optimization kiya ja skta hai
yes! but here I have shown how to do it with react native CLI but you can also do it with the expo, you have to go through expo documentation for contacts permissions and access
@@GiangNguyen-cg8nm by following this tutorial you can't able to run app in your iphone becuase I made this for android, but there is only some changes for iphone like contact permissions and writing contacts and all logic are same, if you are able to refactor some code for ios by looking documentation of react-native-contacts then you can follow along this totorial.
@@harshbhatt7585 then if I have an Android phone, I can run this app on that phone by following along your video without having to use a Android emulator right?
yes, you can do but this library don't work, you need to use expo-contact to get the contacts, it is available in expo docs -- docs.expo.io/versions/latest/sdk/contacts/
you can fetch the data alphabetically I think this has an option in the API, otherwise, we can sort the data with alphabetically by sort function in javascript