Bug 26777 - Give the user the option to display their patron card barcode from the OPAC
Summary: Give the user the option to display their patron card barcode from the OPAC
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords: Academy
Depends on: 26692 27825
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-22 08:26 UTC by Martin Renvoize
Modified: 2023-10-06 21:46 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2020-10-22 08:26:10 UTC
In this modern age, people are moving away from carrying cards.. but they nearly always have their smart phone to hand.

It would be nice to be able to display your barcode for scanning at self service machines directly on your phone.
Comment 1 Magnus Enger 2020-10-22 09:11:12 UTC
+1
Comment 2 Barbara Johnson 2020-10-22 12:02:07 UTC
Our patrons would love this.
Comment 3 Lisette Scheer 2020-10-22 23:52:00 UTC
Agreed, this would be useful. 

I know some websites can tell if you are on mobile and display a link or button only if you are. That could be handy since there wouldn't be a real use case for using the barcode on a PC? 

Also if we could make it so it ups the screen brightness (not sure if possible just in mobile browser) but most people don't seem to keep their phones at high enough brightness to be read by a barcode scanner.
Comment 4 Owen Leonard 2021-02-26 19:56:18 UTC
Here's what I tried today: https://zivotdesign.com/p/view.php?p=16143692116112

Using https://github.com/lindell/JsBarcode

I think we'd have to create a system preference for defining what card type to use (CODE39, Codabar, UPC, etc). The selection could also be used to set the default in the patron card creator.
Comment 5 Owen Leonard 2021-03-01 16:41:13 UTC
Looks like this tool has more options, including all the options we offer in the patron card creator:

https://github.com/metafloor/bwip-js
Comment 6 Sally 2022-03-09 15:13:06 UTC
+1 - really interested in this development.
Comment 7 Martin Renvoize 2022-04-12 07:35:19 UTC
Is this something you're still experimenting with Owen?
Comment 8 Owen Leonard 2022-04-12 10:50:52 UTC
(In reply to Martin Renvoize from comment #7)
> Is this something you're still experimenting with Owen?

I started working on Bug 27825 - Add preference for choosing the default format for patron barcodes - and got stalled. I don't recall what the sticking point was or if I just got redirected.
Comment 9 David Cook 2022-08-19 00:14:37 UTC
Going to mark this one as a duplicate of bug 26692...

*** This bug has been marked as a duplicate of bug 26692 ***
Comment 10 David Cook 2022-08-19 00:17:07 UTC
Actually, I take that back, as that one is a bit too generic still, despite it listing the same use case...
Comment 11 Martin Renvoize 2023-05-16 15:00:59 UTC
https://codelabs.developers.google.com/add-to-wallet-android#0 is interesting too
Comment 12 David Cook 2023-05-17 00:15:31 UTC
(In reply to Martin Renvoize from comment #11)
> https://codelabs.developers.google.com/add-to-wallet-android#0 is
> interesting too

Ohhh very interesting. That would be a very cool feature. I think I'll raise a ticket for that.

It's not something most of our libraries would use, but as a library user I would love to have this...
Comment 13 David Cook 2023-05-17 00:23:36 UTC
See Bug 25332 for talk about adding a library card to a smart phone wallet