titratecode

u/titratecode


r/reactnative•

Is there a way to take "live photos" from a React Native app? Photos taken with popular React Native libraries output .JPG formatted photos, while iOS camera application outputs .HEIC photos and defaults to live photos.

EDIT: I solved this with React Native Camera by going into /node_modules/react-native-camera/ios/RN/RNCamera.m

and changing the end of NSString *path = [RNFileSystem generatePathInDirectory:[[RNFileSystem cacheDirectoryPath] stringByAppendingPathComponent:@"Camera"] withExtension:@".jpg"];

to be the extension ".heic". I don't really know why there isn't an option to change a default file extension, but there it is.

sidenote for anyone else that faces this issue: If y

80

r/reactnative•

I have an issue where I need a camera library to pull some location data:
So presently there's two distinct differences between the iOS camera and other cameras like React-Native-Camera, and React-Native-Image-Picker.

First I need location data on the photo, as shown in iOS version. Secondly I need it to be in HEIC format. Is there a way to use the iOS camera to take photos other than switching outside of React Native?

photos from iOS camera:
https://imgur.com/a/VX1cguZ

photos from React Native camera packages:

https://imgur.com/a/mwqDiBu

​

location data doesn't populate for photos saved in react native pa

13

https://careerkarma.com/blog/bootcamp-market-report-2020/

  • 34,000 in person bootcamp grads in 2019
  • FAANG hired the most bootcamp grads with banks coming in second
  • online coding bootcamp attendance/grads has moved up to 7,000 students. A 31% increase from last year
  • we actually have some never before seen university bootcamp numbers which don’t appear to be included in the original statistics: 20k grads from trilogy education, 2,250 employed. 2,250 employers have hired trilogy grads.
1233

r/reactjs•

I have a marketing page that goes to "website.com/", and I want the actual react-app to be something like "website.com/app". I've tried changing the "homepage" in package.json to that, but I don't think I'm using the build folder correctly.

edit: 'hacked' the issue by instead having the marketing page at "website.com" and have it link to "app.website.com" as a subdomain for the React App. So darn hacky but it accomplishes goal.

89

r/reactjs•

A lot of the times React is taught in a way where you make your entire page as a stand-alone from everything but the App “root” in the HTML. But are there times you would want to use mostly static content, and an actual React app somewhere as a small piece of that static content? Maybe for SEO, in the similar reason in how landing pages are separate from React apps?

314

You've reached the end of this feed.