The Problem: You need to get the client IP address in the Cloud Code for Geolocation or similar purposes? It used to be more complicated, now we can just use the request headers as the update below describes. Update 2017-10-10 There seems to be a fix in Parse server that allows us to read the headers without this workaround. If you have a recent version of Parse server, you should be able to simply access the visitor IP through x-forwarded-for request header.

Continue reading

Disclaimer: This document applies to iOS, I have not tried it on Android. Parse server has a feature to send push notifications. But for that to work, you need to store device tokens in Parse server somehow from your React Native app. I found that part to be undocumented so here’s my notes on it. Obtaining device tokens There’s documentation for this already but in case you have not read it, here’s a recap:

Continue reading

Author's picture

Absurd Tech

Another Coder Blog