indiepass-android icon indicating copy to clipboard operation
indiepass-android copied to clipboard

Reads are disabled, although my Micropub server advertises support

Open jamietanna opened this issue 5 years ago • 3 comments
trafficstars

Describe the bug

When enabling the setting Hide post types, the ability to post a read is disabled.

To Reproduce

See additional context for q=config responses.

Expected behavior

Publishing reads would be possible.

Screenshots N/A

Smartphone (please complete the following information):

  • Device: Pixel
  • Android version: 3A

Additional context

I have tried with the following in my q=config:

{
  "post-types": [
    {
      "h": "entry",
      "name": "Reading",
      "properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "required-properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "type": "read"
    },
  ]
}

And

{
  "post-types": [
    {
      "h": "entry",
      "name": "Reading",
      "properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "required-properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "type": "reads"
    },
  ]
}

But neither work :thinking: Happy to be told there's a different type we're using!

jamietanna avatar Nov 01 '20 18:11 jamietanna

Type should be "read" so the first one should be fine normally. I'm assuming you refreshed the configuration as well in Indigenous?

This is about the main menu right? Wanted to check that, because there's also a 'read' configuration option for the reader (as there's such a close difference to bookmark too, I made those responses for every item optional, and response types do not care about the post-types variable (yet)).

swentel avatar Nov 01 '20 18:11 swentel

Yep, I've just retried it, making sure to refresh config, and it still doesn't show up.

Yep, this is from the main menu's Write option

jamietanna avatar Nov 01 '20 20:11 jamietanna

Just tried it with my micropub server adding 'read', and it showed up in the Write section (after a restart of indigenous too, that' something I need to fix). When I disabled it again on my server, refreshed config, it was gone again too.

So not clue why this is broken. Apart from maybe the fact that you already run Android 11? If so, I'll have to test with an emulator as I'm still on 9.

swentel avatar Nov 01 '20 21:11 swentel