Forwarding Text Messages From iPhone To Android with ntfy
In this page I documented how I set up forwarding text messages from my iPhone to my Android device using ntfy.
Get Started
-
Install ntfy app on Android device.
-
Subscribe to a topic, e.g.,
my-topic
. -
Save this shortcut to your iPhone.
-
In the above shortcut, fill in the topic that you are subscribing to. Note that by default everyone can read/send messages for this topic.
-
Set up an automation on your iPhone to run the shortcut when you receive a new text message. Remember to select
Run Immediately
for automation.
Self Hosting
I opted for self hosting with docker compose on my Ubuntu remote server. I used nginx proxy manager for proxy and access tokens via Bearer auth for authentication.
-
Set up the following docker-compose file and run
docker compose up -d
. -
Creat a user and a token with the following commands.
For more commands check out ntfy doc.
-
On your Android ntfy app, go to Settings -> Users, add the user that you created earlier. Subscribe to the topic but this time with the self-host base url.
-
On your iPhone shortcut, adjust the base url accordingly. Add a new header for the bearer token with
Authorization: Bearer <your-token>