Skip to content

Specify base URL in the android app #263

Closed

Description

@thisjt

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.com to https://example.com/smsapi and I should expect it to do requests either in /smsapi or /smsapi/v1 but in the server logs it's still doing requests in /v1

Activity

  1. AchoArnold commented on Aug 30, 2023

    @AchoArnold
    Member

    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

  2. AchoArnold commented on Aug 31, 2023

    @AchoArnold
    Member

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions