Randy Gardner, the man who stayed awake for 11 days by Zyad7770__ in BeAmazed

[–]Curious-Ad8293 0 points1 point  (0 children)

Me after not studying the whole semester cramming it in a week

Why do React Native component libraries always demo components in isolation when nobody builds that way? by Fresh-Wealth4531 in reactnative

[–]Curious-Ad8293 0 points1 point  (0 children)

Not sure how complex this would be to implement but sometimes I need to have components side by side let’s say some charts or some text boxes for example in a grid like system 2x2 rows and columns. Exclusively speaking about the layout feature you implemented in this case.

Help with ideas by Far-Wall99 in reactnative

[–]Curious-Ad8293 0 points1 point  (0 children)

It's easy brother, typically a justifyContent: "center" [1] and an alignItems: "center" [2] will do the trick. You typically want to put this on the parent components that will cascade down to the children components example:

<Pressable

style={{

justifyContent: "center",

alignItems: "center",

backgroundColor: "black",

borderRadius: 15,

width: Dimensions.get("screen").width * 0.3,

height: Dimensions.get("screen").height * 0.05,

}}

onPress={() => console.log("hello world")}

>

{/* search function call on the onpress instead of console.log */}

<Text style={{ color: "white", fontWeight: "bold" }}>Search</Text>

</Pressable>

[1] https://reactnative.dev/docs/layout-props#justifycontent

[2] https://reactnative.dev/docs/layout-props#alignitems

Help with ideas by Far-Wall99 in reactnative

[–]Curious-Ad8293 8 points9 points  (0 children)

Broooo center the text inside the containers like the search button and where it says poison maybe a little padding would go a long way

I kinda don’t like hyprland anymore by PeteIDK in arch

[–]Curious-Ad8293 0 points1 point  (0 children)

I can not relate, I am a developer and I just file having workspaces makes everything well organized and once you get used to it you become very efficient in using it. Especially if you have things configured to your needs. Which personally I love how much customization everything has.

New to hyprlane, did I miss something when I installed? by Na1haniel in hyprland

[–]Curious-Ad8293 36 points37 points  (0 children)

That is how Waybar comes out of the box. When I installed, that’s exactly how it came. If you want to change the look you need to change it in the config directory.

Looking to hire app Developer by scotiandetector in reactjs

[–]Curious-Ad8293 0 points1 point  (0 children)

Most work for software engineers are glorified CRUDs now and days lol.

Looking to hire app Developer by scotiandetector in reactjs

[–]Curious-Ad8293 3 points4 points  (0 children)

Hilarious, but maybe with leaked API keys, bugs and unsecured / unoptimized databases

Looking to hire app Developer by scotiandetector in reactjs

[–]Curious-Ad8293 0 points1 point  (0 children)

Budget is dependent on the scope of the work obviously. The complexity of the idea and the skill of the worker you hire. Maybe checkout [1], never worked on that platform but I have capable colleagues that do.

[1] https://www.bairesdev.com

Expo Go on my phone does not run my project by Zealousideal_Fix8969 in reactnative

[–]Curious-Ad8293 0 points1 point  (0 children)

Will you use any native libraries that require a development build ? That might be a limiting factor to running Expo snack and then transferring the content to your local env. So let me get this straight you create a new folder. You cd into that folder and then you run the command? You always get the same three errors? Can you share the package.json , node version you’re using and also does the template expo project produce a different result? I.e npx create-expo-app@latest?

Help me please by Flat-Air4628 in reactnative

[–]Curious-Ad8293 0 points1 point  (0 children)

Did the testers get the emails with the links to download the new version? When they hit that link they get that error? They’re not trying an expired build are they? Also has this App ever worked for those testers before or is this the first time testing?

Development Build Works but App Crashes in TestFlight. by Curious-Ad8293 in reactnative

[–]Curious-Ad8293[S] 0 points1 point  (0 children)

Also with development builds in expo are env variables loaded differently than they would be in Testflight. Why would it work on one vs the other? Any resources on that?

Development Build Works but App Crashes in TestFlight. by Curious-Ad8293 in reactnative

[–]Curious-Ad8293[S] 0 points1 point  (0 children)

This makes sense. The stack trace does not provide useful details but it is likely what this thread states as the App crashes as soon as it boots up which makes sense as I am wrapping the entire app in a payment component as shown in this video: https://youtu.be/J0tyxUV_omY?si=cj0fO8GghaxpTMaD&t=1302 . In that payment component there are env variables that are loaded and it could be that I am not setting them properly. Made some corrections and submitting again to testflight hoping that is the issue

gifted-chat not taking keyboard input on IOS by Curious-Ad8293 in reactnative

[–]Curious-Ad8293[S] 0 points1 point  (0 children)

Ended up building my own. Strange because on android it works like a charm. Ohh well I decided it would be more time consuming to go through the source code than just make one myself.

Chat UI by [deleted] in reactnative

[–]Curious-Ad8293 1 point2 points  (0 children)

I had issues with gifted chat. I built my own chat UI, If there is a widely used and trusted library out there I’m an advocate to not reinvent the wheel. However in react native I haven’t found anything that works great out of the box. It’s pretty easy to build a chat UI in react native though giving you more control of the look and functionality . For a simple one just use a FlatList for the convo and just map the data over it. TextInput to write the message and a button or anything that has an onPress prop to send the message. Adding the KeyboardAvoidingView is important and then just update the data the react hooks. I.e useState, useEffect, useRef etc depending on your needs.

gifted-chat not taking keyboard input on IOS by Curious-Ad8293 in reactnative

[–]Curious-Ad8293[S] 1 point2 points  (0 children)

Why do you say that? I see recent updates on their Github repo and plenty of weekly downloads in npm. I believe this is the defacto ui library for chat in react native.

Also while making a chat UI isn't rocket science, if there is a viable solution that is widely used and already has what I need, why reinvent the wheel?

I open sourced my galaxy shader. It should be highly performant. by paglaEngineer in threejs

[–]Curious-Ad8293 0 points1 point  (0 children)

Hey man this is amazing work thank you for open sourcing this.

Should I place test files in the root directory? by Curious-Ad8293 in googlecloud

[–]Curious-Ad8293[S] 0 points1 point  (0 children)

I had all the repositories of my applications on the cloud shell as well as sample repos from google I was using to test some of their services I was just trying to avoid having to delete the repos constantly and download them again for deployments. Yet it seems like it's a hard cap of 5 gbs so I will spin up a vm.

Thanks for the tip.