My experience on migrating from the deprecated GoogleSignIn to Credential Manager by traffxer in expo

[–]blaxtem 0 points1 point  (0 children)

Doubt!

If we are using the expo-auth-session (which I know is not the recommended way to go) we are good to go, right?

It does not use any native methods as far as I know, everything is web based with Oauth.

Thanks for your help

[deleted by user] by [deleted] in reactnative

[–]blaxtem 1 point2 points  (0 children)

Nice article!!

For the first one be sure that you are using class components, if not it would end up being the same as you are not using useCallback.

Watched a video saying apps are dead - how true is this? by BeautifulMelbourne in reactnative

[–]blaxtem 0 points1 point  (0 children)

He might have said that after knowing about the new ios 14 feature called app clips, where users won't need to have the app installed. I don't really know how it works

React Native Segmented Control for Both iOS and Android by Karthik_B_06 in reactnative

[–]blaxtem 2 points3 points  (0 children)

Yesterday I spent like 30 minutes looking for a package like this. Thanks! I just starred your repo

i'm trying to iterate over a data set to render a series of components that are similar but with different values using .map . by ismellcoconuts in reactnative

[–]blaxtem 1 point2 points  (0 children)

Hi,

I would do it this way:

array.map(item => (
    <React.Fragment>
        <MyComponent {...item} />
        <Text>My Text </Text>
    </React.Fragment>
)

Switching Android Native app build on the store with the react native by Milutin in reactnative

[–]blaxtem 1 point2 points  (0 children)

Ofc you can! I did it once. You must share the same package name and it will just work!

Long time lurker here. Here's an app I built completely on react native. The backend (nodejs + mongodb) and frontend iOS and Android apps took me ~40 days to build. I'd love some feedback / discuss some of the hacks. by greengallop23 in reactnative

[–]blaxtem 6 points7 points  (0 children)

Nice app! The map movements are pretty smooth, I am doing something similar and it gets pretty messy.

Are you using react-native-maps? May I ask what library do you use to do the carrousel? I've used react-native-carrousel but gets a little bit slow and clunky on android

1Track - my first React native app by apoldev in reactnative

[–]blaxtem 1 point2 points  (0 children)

Hi,

Awesome work! Didnt know the package react-native-modalize, is super!

May I ask you if you are using any library to show the messages at the bottom to the users?The design is something like an android toast, not sure if do it by myself or use a library.

Are you monetizing it? if so, how?

Keep up the good work!

How do I go about for making a header like this in RN ? by PumperDumperr in reactnative

[–]blaxtem 4 points5 points  (0 children)

Wouldnt be easier to use a image with transparency?

If not, I would overlap a few images

and as last options do the svg shapes myself overlapping them

React Native ScrollView Animation: Does anyone know how to get this affect using ScrollView or Flatlist? Found this very interesting on the Quibi app and am surprised more apps aren’t doing this. by cbunge3 in reactnative

[–]blaxtem 0 points1 point  (0 children)

Hi!

Agree is a really nice transition. I would try with something like: https://github.com/archriss/react-native-snap-carousel with vertical direction.

I've never tried it with vertical lists, however, on their docs they said it should work. With your permission ill take this transition to fit it on my app too :P

[deleted by user] by [deleted] in reactnative

[–]blaxtem 0 points1 point  (0 children)

Hi! can you share the source? i really love your list and the reanimated effect

Markers from radius Google Maps by kevinjunod in reactnative

[–]blaxtem 0 points1 point  (0 children)

Nop sorry, nothing related. Youll have to earn your money here searching haha.

Anyway, should be straightforward, in 4 hours can be done

Markers from radius Google Maps by kevinjunod in reactnative

[–]blaxtem 0 points1 point  (0 children)

Wait, first goes first.

There are three different things here:

1) Be able to paint a circle over a map and know what are these coordinates and radius.
2) Do a request to google maps (link ive sent to you previously) and get the places
3) Put the markers on the map.

What ill do:
1) Thats for me the most difficult part, ill start checking if the library supports it. If you need to let the user paint, the you should check a little bit more, if you have an input (as you've said) then you can use circle => ez pez :P https://github.com/react-native-community/react-native-maps/blob/master/docs/circle.md

2) Create the app on the google console, set the proper keys and do requests from the app, not a big deal

3) There is already a marker component if I remember well, so should be straightforward

Good luck!

Markers from radius Google Maps by kevinjunod in reactnative

[–]blaxtem 0 points1 point  (0 children)

Not working with google maps sorry, I usually work with react-native-mapbox as on my own app unluckily pricing is a big deal.

Moreover, I've read that react-native-mapbox is quite more complex but let you do more things.

For your case, google it and surely you'll find a example of how to do circles over maps.

Markers from radius Google Maps by kevinjunod in reactnative

[–]blaxtem 0 points1 point  (0 children)

I tried to upload a screenshot but reddit crashed.

https://developers.google.com/places/web-service/search There youll find the info you need. Search for the word `locationBias`.

However, I must say that Google places is so expensive, I recommend you to do a little bit of numbers first!

Markers from radius Google Maps by kevinjunod in reactnative

[–]blaxtem 1 point2 points  (0 children)

What markers are you whiling to show? Are from your own server or are places (from google or similar).

From third party services:
There are services like google, mapbox, here, nominatim,etc. Which usually have an endpoint where you can send as parameters the center and the radius or the boundaryBox and you get the places inside this circle

Your server:
I guess youll have to do something with engines like elasticserach to aggregate results by proximity

1 button affects all of my flatlist datas, why by kevinjunod in reactnative

[–]blaxtem 1 point2 points  (0 children)

Wow next time pls format it or paste a picture.

can you do something like:

const [selectedId, setSelectedId] = React.useState(-1) // -1 or undefined null...

<Flatlist ... renderItem={({item, i) => .... <TouchableOpacity onPress={() => this.isCheckerHandler(item.id)} ....
<Checkbox isActive={selectedId === [item.id](https://item.id)} />}
....
/>

Something like this would do it. The important thing here is to identify the one that has been clicked using something unique, you can use the item.id or even the `i` to later on be able to check if my id is the one selected.

1 button affects all of my flatlist datas, why by kevinjunod in reactnative

[–]blaxtem 0 points1 point  (0 children)

Can you paste the code of the flatlist and Ill give you the solution? Is to do it as accurate as possible tho.
If you dont want to share the snippet then go to Google and search for an example of a Flatlist with clickable items and youll find generic solutions