mirror of
https://github.com/NdoleStudio/httpsms.git
synced 2026-04-28 20:35:51 +03:00
[GH-ISSUE #263] Specify base URL in the android app #32
Labels
No labels
In Review
documentation
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/httpsms#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thisjt on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/263
Would it be possible to allow us to specify our base URL in the android app? I already have an express NodeJS app running online and I'm planning to integrate the API to that. Upon reconstructing the API requests, it seems that our base URL is
/v1. That's fine by me, but it would be nice if I can configure this.In the server URL input in the android app I tried specifying my own base URL by extending it from
https://example.comtohttps://example.com/smsapiand I should expect it to do requests either in/smsapior/smsapi/v1but in the server logs it's still doing requests in/v1@AchoArnold commented on GitHub (Aug 30, 2023):
Hello @thisjt
I'll work on this when I can, In the mean time, you can work around this by editing the URL manually here https://github.com/NdoleStudio/httpsms/blob/main/android/app/src/main/java/com/httpsms/HttpSmsApiService.kt
@AchoArnold commented on GitHub (Aug 31, 2023):
Hello @thisjt
I just pushed a new version of the app with the fix, Try it out and let me know https://github.com/NdoleStudio/httpsms/releases/tag/v0.0.6