12
u/DCodeMeister Jun 13 '24
Three years ago I would have definitely agreed. But with expo in its current state I haven’t had to touch anything native. Also the expo-dev-client is so clutch for modules that can’t run in expo go so no need to eject projects anymore
2
u/Next_Safe_4372 Jun 14 '24
Can we use react native - iap library in expo project without ejecting it ?
3
u/DCodeMeister Jun 14 '24
Yes you should be able to using expo dev client. You would just need to use expo pre build to create a development build of your app once you install that dependency. I did also read that react-native-iap will soon become an expo module in their GitHub
42
u/kbcool iOS & Android Jun 13 '24
Not really.
Years ago yes, now days no
19
u/beepboopnoise Jun 13 '24
maybe If you're on a greenfield project. I just spent hours messing around with some random ass plist crap lol
7
u/kbcool iOS & Android Jun 13 '24 edited Jun 13 '24
Probably that and the android build.gradle file is the only thing I touch most of the time. Don't need Xcode or Android studio for either.
Don't get me wrong. It's good to know all of this stuff but far from mandatory, especially with Expo
Edit: LOL at the downvotes. Which bit do you not agree with? Or just confused 🤔
2
u/i-like-plant Jun 13 '24
Lots of us are stuck on ancient RN versions with dependencies on lots of abandoned
react-native-*packages, where it would take a large amount of time+effort to migrate to a modern Expo setup, and therefore still occasionally have to deal with a lot of this whenever something breaks1
u/kbcool iOS & Android Jun 13 '24
Fair enough and that sucks. The last thing I would want to do is to have to bring a many year old app into today's world. That's why I make it a point of doing a little tech debt sprint on the stuff I work on regularly but have been there so I feel for you. I guess that's why in my top comment I said today
1
u/robin_mitra Jun 14 '24
What about building widgets and other native platform-specific functionalities? At some point, it becomes necessary to learn native development for things that aren't already provided by libraries.
1
u/kbcool iOS & Android Jun 14 '24
That's a lot rarer occurrence for most than you might think.
Sure if you're working for a company that makes native SDKs and you're the one writing the RN integrations of course you need most of the tools in the diagram but there really isn't a lot that someone making a consumer facing app doesn't have access to written by someone else already so rarely needs to go native.
1
u/robin_mitra Jun 14 '24
Well I'll have to disagree, as someone who's currently building a consumer facing app as a side hustle.
But I guess I do agree that it probably depends on the app category. In my case, it's a productivity app and users have been requesting widgets for a while, which makes complete sense for this type of app. I just wish there was a way to achieve this using RN for iOS (luckily there is for Android).
1
u/kbcool iOS & Android Jun 14 '24
Of course there's always going to be someone this doesn't apply to but the overwhelming majority of apps don't need native code ever
3
3
u/AlwaysColdInSiberia Jun 14 '24
Working on an RN project that was started many years ago with no Expo, a lot of native pieces, SDKs, legacy code, and a restrictive dev environment. ::cries in right side of this graphic::
5
u/fmnatic Jun 13 '24 edited Jun 14 '24
I don't think this has ever been true. Multiple bare RN apps maintained and built over the last 5 years. I don't know what 3 of the reality logos are.
I've done Java and obj-c programming (Non - RN) in the past and recognise those, and two IDEs.
1
1
u/Vegetable-Cow-416 Jun 13 '24
It's real, I do native SDK integrations or many times I have to configure permissions for certain plugins or repair abandoned ecosystem packages to keep the application alive as React-native versions advance.
1
u/writetehcodez Jun 13 '24
I haven’t experienced the right side at all… using RN with Expo, developing in Typescript.
1
1
u/AdUseful7520 Jun 14 '24
💯 exactly.....started with the left now almost continuing on right. I guess after a saturation point we need to get back to the basics 😅 Let me know your opinion guys
1
u/RiverOtterBae Jun 14 '24
what kind of app is this and what version of RN are youn on? unless its something extremely nitche and high tech I can't think of a good reason why you can't do everything you need with JS and/or RN libs that wrap native ones.
1
1
u/PowerBIEnjoyer Jun 14 '24
Personally I use React + TypeScript + MSSQL + .NET + C# and that's the most of it. It's a RN app with no Expo, that uses APIs written in ASP.NET. Since no Expo I occasionally write native code but that's very rare.
1
u/himynameismile Jun 14 '24
ruby & yaml also habe a nice place on that list for when it’s pipeline time.
75
u/thebouv Expo Jun 13 '24
Two years running this mobile team.
12 apps rebuilt from objc iOS only to react native with expo.
Literally don’t touch anything but left side of that image.
🤷♂️