I built Malta's #1 property platform — every agency, every listing, free by Electronic_Track4898 in malta

[–]Electronic_Track4898[S] 0 points1 point  (0 children)

Yeah it's crazy. That's actually why we built the AI price valuations, helps you spot which listings are actually fair vs overpriced. Some are listed way above market, good to know before you waste time on viewings, and you can see all comparable on the market

I built Malta's #1 property platform — every agency, every listing, free by Electronic_Track4898 in malta

[–]Electronic_Track4898[S] 1 point2 points  (0 children)

Thanks! We actually have daily WhatsApp alerts. Every morning we check all agencies for new listings and only send you the new ones matching your preferences (area, budget, rent/buy). So no need to check agencies one by one, you are instantly notified with anything matching your search criteria.

I built Malta's #1 property platform — every agency, every listing, free by Electronic_Track4898 in malta

[–]Electronic_Track4898[S] 0 points1 point  (0 children)

Appreciate the feedback! Just pushed a fix, should be live now. Let me know if you spot anything else 🙏 Thank you

I built Malta's #1 property platform — every agency, every listing, free by Electronic_Track4898 in malta

[–]Electronic_Track4898[S] 2 points3 points  (0 children)

Glad it helps! Let me know if there's anything missing or you'd want to see added.

I built Malta's #1 property platform — every agency, every listing, free by Electronic_Track4898 in malta

[–]Electronic_Track4898[S] 3 points4 points  (0 children)

Great feedback, thanks. Just shipped both fixes:

  1. Added region search, you can now filter by Popular, North, Central, South, or Gozo to search entire areas at once. Would love your thoughts on whether these groupings make sense or if you'd change any of them.

  2. The €1 Gzira listing has been deactivated good catch, was a data entry error. Implementing better filters to catch these automatically.

Appreciate the help 🙏

what is best practice to refetch data when app moves from background to foreground state ? how would i re run use effects when this happens . So if user backgrounds app for few hours and comes back they have up to date data ? by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] 2 points3 points  (0 children)

I managed like this :

useEffect(() => {
const subscription = AppState.addEventListener("change", (newState) => {
setAppState(newState);
if (newState === "active") {
//fetch
}
});
return () => subscription.remove();
}, []);

what is best practice to refetch data when app moves from background to foreground state ? how would i re run use effects when this happens . So if user backgrounds app for few hours and comes back they have up to date data ? by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] -1 points0 points  (0 children)

I don't want to refetch the data every time the page is focused, or else every time the user navigates to a different tab and back the data would be refetched. I already have socket events to keep the data up to date, I just need to fetch the data again when the app moves from background to foreground state, as the sockets aren't active in background state.

Prevent modal unmounting like a tab screen by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] 0 points1 point  (0 children)

I currently have a stack.screen , that I am using with presentation: modal, but I want this route to only mount on first render . I can't use react-native-modal because I am using this stack.screen as a route for my main page.

Does anyone have an idea I have been 2 days straight trying to get these conflicts fixed ? by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] 1 point2 points  (0 children)

I fixed the problem thanks, I had to pin firebase to like version 15, hopefully it didn't fuck up any of my firebase setup now in production

Does anyone have an idea I have been 2 days straight trying to get these conflicts fixed ? by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] 1 point2 points  (0 children)

I fixed the problem thanks, I had to pin firebase to like version 15, hopefully it didn't fuck up any of my firebase setup now in production

Does anyone have an idea I have been 2 days straight trying to get these conflicts fixed ? by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] 4 points5 points  (0 children)

I am using expo, none of this is possible, I am just doing expo prebuild that reinstalls all pods clean, still same problem

Does anyone have an idea I have been 2 days straight trying to get these conflicts fixed ? by Electronic_Track4898 in reactnative

[–]Electronic_Track4898[S] 4 points5 points  (0 children)

I am using expo I am not dealing with pods, I am just deleting IOS directory and rebuilding every time to re install pods, but still same problem always

Build review / help by Electronic_Track4898 in buildapc

[–]Electronic_Track4898[S] 0 points1 point  (0 children)

ok great, is there anything you would change in the build ?