Skip to content

Commit 6294434

Browse files
committed
[general] use new domain name
1 parent bbfa4c7 commit 6294434

File tree

5 files changed

+30
-27
lines changed

5 files changed

+30
-27
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ Add any other context about the problem here, such as log file excerpts.
4545
- [ ] I have included screenshots (if applicable).
4646
- [ ] I have provided environment details.
4747
- [ ] I have included relevant log file excerpts (if applicable).
48-
- [ ] I have read [FAQ](https://sms.capcom.me/faq/general/) and other relevant information.
48+
- [ ] I have read [FAQ](https://sms-gate.app/faq/general/) and other relevant information.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<p align="center">
3838
Turns your smartphone into an SMS gateway for sending messages via API.
3939
<br />
40-
<a href="https://sms.capcom.me"><strong>Explore the docs »</strong></a>
40+
<a href="https://sms-gate.app"><strong>Explore the docs »</strong></a>
4141
<br />
4242
<br />
4343
<!-- <a href="https://github.com/capcom6/android-sms-gateway">View Demo</a> -->
@@ -147,9 +147,9 @@ To use the application, you need to grant the following permissions:
147147
<!-- GETTING STARTED -->
148148
## Getting Started
149149

150-
_For integration examples, please refer to the [API Documentation](https://sms.capcom.me/integration/api/)_
150+
_For integration examples, please refer to the [API Documentation](https://sms-gate.app/integration/api/)_
151151

152-
The Android SMS Gateway can work in two modes: with a local server started on the device or with a cloud server at [sms.capcom.me](https://sms.capcom.me). The basic API is the same for both modes and is documented on the [Android SMS Gateway API Documentation](https://capcom6.github.io/android-sms-gateway/).
152+
The Android SMS Gateway can work in two modes: with a local server started on the device or with a cloud server at [api.sms-gate.app](https://api.sms-gate.app). The basic API is the same for both modes and is documented on the [Android SMS Gateway API Documentation](https://capcom6.github.io/android-sms-gateway/).
153153

154154
### Local server
155155

@@ -196,10 +196,10 @@ Use the cloud server mode when dealing with dynamic or shared device IP addresse
196196
curl -X POST -u <username>:<password> \
197197
-H "Content-Type: application/json" \
198198
-d '{ "message": "Hello, world!", "phoneNumbers": ["+79990001234", "+79995556677"] }' \
199-
https://sms.capcom.me/api/3rdparty/v1/message
199+
https://api.sms-gate.app/3rdparty/v1/message
200200
```
201201

202-
For further privacy, you can deploy your own private server. See the [Private Server](https://sms.capcom.me/getting-started/private-server/) section for more details.
202+
For further privacy, you can deploy your own private server. See the [Private Server](https://sms-gate.app/getting-started/private-server/) section for more details.
203203

204204
### Webhooks
205205

@@ -238,7 +238,7 @@ Follow these steps to set up webhooks:
238238
http://<device_local_ip>:8080/webhooks/unique-id
239239
```
240240

241-
For cloud mode the process is similar, simply change the URL to https://sms.capcom.me/api/3rdparty/v1/webhooks. Webhooks in Local and Cloud mode are independent.
241+
For cloud mode the process is similar, simply change the URL to https://api.sms-gate.app/3rdparty/v1/webhooks. Webhooks in Local and Cloud mode are independent.
242242

243243
*Note*: Webhooks are transmitted directly from the device; therefore, the device must have an outgoing internet connection. As the requests originate from the device, incoming messages remain inaccessible to us.
244244

@@ -297,12 +297,12 @@ Distributed under the Apache-2.0 license. See [LICENSE](LICENSE) for more inform
297297
If you have any questions or suggestions, feel free to reach out through the following channels:
298298
299299
- **Issue Tracker:** [https://github.com/capcom6/android-sms-gateway/issues](https://github.com/capcom6/android-sms-gateway/issues)
300-
- **Email:** [[email protected]](mailto:[email protected])
300+
- **Email:** [[email protected]](mailto:[email protected])
301301
- **Discord:** [Join our Discord server](https://discord.gg/vv9raFK4gX)
302302
303303
### Links
304304
305-
- **Website:** [https://sms.capcom.me](https://sms.capcom.me)
305+
- **Website:** [https://sms-gate.app](https://sms-gate.app)
306306
- **Project:** [https://github.com/android-sms-gateway](https://github.com/android-sms-gateway)
307307
- **Main Repository:** [https://github.com/capcom6/android-sms-gateway](https://github.com/capcom6/android-sms-gateway)
308308
- **Author GitHub:** [capcom6](https://github.com/capcom6)

app/src/main/java/me/capcom/smsgateway/modules/gateway/GatewaySettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class GatewaySettings(
2929
private const val CLOUD_URL = "cloud_url"
3030
private const val PRIVATE_TOKEN = "private_token"
3131

32-
const val PUBLIC_URL = "https://sms.capcom.me/api/mobile/v1"
32+
const val PUBLIC_URL = "https://api.sms-gate.app/mobile/v1"
3333
}
3434
}

app/src/main/res/values/strings.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<string name="tab_text_messages">MESSAGES</string>
77
<string name="settings_local_server">Local server</string>
88
<string name="cloud_server">Cloud server</string>
9-
<string name="settings_address_is_sms_capcom_me">Address is sms.capcom.me</string>
9+
<string name="settings_address_is_sms_capcom_me">Address is api.sms-gate.app</string>
1010
<string name="settings_start_on_boot">Start on boot</string>
1111
<string name="settings_offline">Offline</string>
1212
<string name="settings_online">Online</string>
@@ -20,15 +20,17 @@
2020
<string name="settings_local_address_not_found">Local address not available</string>
2121
<string name="settings_public_address_not_found">Public address not available</string>
2222
<string name="settings_encryption">Encryption</string>
23-
<string name="settings_encryption_description">Please enter passphrase for end-to-end encryption.</string>
23+
<string name="settings_encryption_description">Please enter passphrase for end-to-end
24+
encryption.</string>
2425
<string name="settings_encryption_hint">passphrase</string>
2526
<string name="settings_setup_encryption">Setup encryption</string>
2627
<string name="button_ok">OK</string>
2728
<string name="button_cancel">Cancel</string>
2829
<string name="tab_text_advanced">Advanced</string>
2930
<string name="messages_header">Messages</string>
3031
<string name="delay_between_messages_seconds">Delay between messages, seconds</string>
31-
<string name="random_value_from_0_to_selected_value_will_be_used">random value from 0 to selected value will be used</string>
32+
<string name="random_value_from_0_to_selected_value_will_be_used">random value from 0 to
33+
selected value will be used</string>
3234
<string name="tab_text_home">Home</string>
3335
<string name="encryption">Encryption</string>
3436
<string name="use_empty_to_disable">Use empty to disable</string>
@@ -52,7 +54,8 @@
5254
<string name="ping_service_is_active">Ping service is active</string>
5355
<string name="delete_after_days">Delete after, days</string>
5456
<string name="interval_seconds">Interval (seconds)</string>
55-
<string name="online_status_at_the_cost_of_battery_life">Online status at the cost of battery life</string>
57+
<string name="online_status_at_the_cost_of_battery_life">Online status at the cost of battery
58+
life</string>
5659
<string name="ping">Ping</string>
5760
<string name="logs">Logs</string>
5861
<string name="view">View</string>

docs/api/swagger.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"title": "SMS Gateway for Android™ Integration API",
66
"description": "Provides the ability to send SMS by sending requests directly to the device or through a cloud server.",
77
"contact": {
8-
"name": "Aleksandr Soloshenko",
9-
"email": "[email protected]",
8+
"name": "SMSGate Support",
9+
"email": "[email protected]",
1010
"url": "https://github.com/capcom6"
1111
},
1212
"license": {
@@ -20,7 +20,7 @@
2020
"description": "Local Server"
2121
},
2222
{
23-
"url": "https://sms.capcom.me/api/3rdparty/v1",
23+
"url": "https://api.sms-gate.app/3rdparty/v1",
2424
"description": "Cloud Server"
2525
}
2626
],
@@ -69,7 +69,7 @@
6969
"description": "Local Server"
7070
},
7171
{
72-
"url": "https://sms.capcom.me/api/3rdparty/v1",
72+
"url": "https://api.sms-gate.app/3rdparty/v1",
7373
"description": "Cloud Server"
7474
}
7575
]
@@ -116,7 +116,7 @@
116116
"description": "Local Server"
117117
},
118118
{
119-
"url": "https://sms.capcom.me/api/3rdparty/v1",
119+
"url": "https://api.sms-gate.app/3rdparty/v1",
120120
"description": "Cloud Server"
121121
}
122122
]
@@ -156,7 +156,7 @@
156156
"description": "Local Server"
157157
},
158158
{
159-
"url": "https://sms.capcom.me/api/3rdparty/v1",
159+
"url": "https://api.sms-gate.app/3rdparty/v1",
160160
"description": "Cloud Server"
161161
}
162162
]
@@ -199,7 +199,7 @@
199199
"description": "Local Server"
200200
},
201201
{
202-
"url": "https://sms.capcom.me/api/3rdparty/v1",
202+
"url": "https://api.sms-gate.app/3rdparty/v1",
203203
"description": "Cloud Server"
204204
}
205205
]
@@ -239,7 +239,7 @@
239239
"description": "Local Server"
240240
},
241241
{
242-
"url": "https://sms.capcom.me/api/3rdparty/v1",
242+
"url": "https://api.sms-gate.app/3rdparty/v1",
243243
"description": "Cloud Server"
244244
}
245245
]
@@ -310,7 +310,7 @@
310310
"description": "Local Server"
311311
},
312312
{
313-
"url": "https://sms.capcom.me/api/3rdparty/v1",
313+
"url": "https://api.sms-gate.app/3rdparty/v1",
314314
"description": "Cloud Server"
315315
}
316316
]
@@ -351,7 +351,7 @@
351351
"description": "Local Server"
352352
},
353353
{
354-
"url": "https://sms.capcom.me/api/3rdparty/v1",
354+
"url": "https://api.sms-gate.app/3rdparty/v1",
355355
"description": "Cloud Server"
356356
}
357357
]
@@ -412,7 +412,7 @@
412412
"description": "Local Server"
413413
},
414414
{
415-
"url": "https://sms.capcom.me/api/3rdparty/v1",
415+
"url": "https://api.sms-gate.app/3rdparty/v1",
416416
"description": "Cloud Server"
417417
}
418418
]
@@ -784,7 +784,7 @@
784784
},
785785
"isEncrypted": {
786786
"type": "boolean",
787-
"description": "Whether the message text and phone numbers are encrypted. See [Encryption Details](https://sms.capcom.me/privacy/encryption).",
787+
"description": "Whether the message text and phone numbers are encrypted. See [Encryption Details](https://sms-gate.app/privacy/encryption).",
788788
"default": false
789789
}
790790
},
@@ -823,7 +823,7 @@
823823
},
824824
"isEncrypted": {
825825
"type": "boolean",
826-
"description": "Whether the message text and phone numbers are encrypted. See [Encryption Details](https://sms.capcom.me/privacy/encryption).",
826+
"description": "Whether the message text and phone numbers are encrypted. See [Encryption Details](https://sms-gate.app/privacy/encryption).",
827827
"readOnly": true,
828828
"default": false
829829
},

0 commit comments

Comments
 (0)