Skip to content

Pair a phone ​

Pairing connects an Android phone to your team. A paired phone is called a device, or a gateway.

Only an owner or an admin of the team can create a pairing code.

Before you start ​

  • The phone runs Android 8.0 or later and has the YourSMS Gateway app installed. Download the app, or see The Android app for help installing it.
  • It has a SIM card that can send SMS.
  • It is on a charger and connected to the internet. A gateway that sleeps or goes offline stops sending.

Pair it ​

  1. In the dashboard, open Gateway devices and choose Create pairing code. A QR code and a code such as ABCD-1234 appear.
  2. In the app, choose Scan QR code and point the camera at the screen.
  3. Check the team name the app shows, then choose Pair device.

If the camera cannot be used, choose Enter the code by hand in the app and type the code and the server address shown under the QR code.

A code works once and expires after ten minutes. Create a new one if it runs out.

Allow what the app needs ​

The app asks for four things, one at a time, and says why:

PermissionWhy
SMSTo send your messages and pass on replies
SIM detailsTo use the right SIM card, and show each one in the dashboard
NotificationsAndroid requires a permanent notification while the gateway runs
No battery savingOtherwise Android stops the app when the screen is off

On some phones, turning off battery saving for the app is not enough. Look in the phone's settings for "auto-start" or "background activity" and allow those too.

Check that it works ​

The phone appears under Gateway devices as Online within a few seconds. Its SIM cards are listed on its card and under SIM cards.

A phone reports in every 30 seconds. After three missed reports the dashboard shows it as Offline and stops giving it work.

Pause, rename, remove ​

On the device's card in the dashboard:

  • Pause stops new messages going to this phone. Messages it already has are finished. Resume undoes it.
  • Rename changes the name people see.
  • Remove ends the pairing. The phone's access stops at once and the app returns to its pairing screen.

More than one phone ​

Pair as many as you need. The server shares the queued messages between the phones that are online. If a phone goes offline with messages it had not started, they go to another phone.

A message the offline phone may already have sent is marked Unknown instead, so that it is not sent twice. See Follow a message.