Treasurehunt activity: Outdoor treasure-chases with geolocation.

Re: Treasurehunt activity: Outdoor treasure-chases with geolocation.

by Juan Pablo de Castro -
Number of replies: 3
Picture of Plugin developers

Hello Michael,

thank you very much for notifying the malfunction with Firefox. It seems that Firefox has been updated in a way that broke the QR Scanner. 

Before today, we were using https://webqr.com/ project but now it doesn't work with Safari (IOS) nor Firefox. Now we have reimplemented the QR support using the library at https://schmich.github.io/instascan/ that aparently works with Chrome and Firefox. Unfortunately, according to Instascan documentation:

"Instascan works on non-iOS platforms in any browser that supports the WebRTC/getUserMedia API, which currently includes Chome, Firefox, Opera, and Edge. IE and Safari are not supported.
Instascan does not work on iOS since Apple does not yet support WebRTC in WebKit and forces other browser vendors (Chrome, Firefox, Opera) to use their implementation of WebKit. Apple is actively working on WebRTC support in WebKit."

Actually, Edge doesn't support WebRTC. sad

We have just released the version 1.2.13 that works with Chrome and Firefox in PCs and Android phones (please report your experience here https://github.com/juacas/moodle-mod_treasurehunt/issues/14).

About the Mobile App: We worked hard to provide a seamless experience using only a browser for playing the treasurehunt. We believe that students and  teachers should be able to use the activity without installing native apps.

Moreover,  we have no resources to work on porting to an application framework. Maybe someone in the community would collaborate on that. wink

 PD: Don't forget to use a server with https enabled.
In reply to Juan Pablo de Castro

Re: Treasurehunt activity: Outdoor treasure-chases with geolocation.

by Michael Roberts -

Thank you for the reply and the updated version!

I've tested it on Firefox and everything is working as expected. It also actually works on Safari (iPhone 7, iOS 11) although I couldn't get it to use the back camera, only the facetime camera. I'll keep playing around with it.

I'll add this report to the github as well.  :D

In reply to Michael Roberts

Re: Treasurehunt activity: Outdoor treasure-chases with geolocation.

by Juan Pablo de Castro -
Picture of Plugin developers
It's a pleasant surprise hearing that it works in iPhone already!


Please check version v1.2.14 in which I have implemented the switching of cameras. It works in Chrome and Firefox both in PC and Android phones. Let me know if it works in iPhone too.

Average of ratings: Useful (1)
In reply to Michael Roberts

Re: Treasurehunt activity: Outdoor treasure-chases with geolocation.

by Juan Pablo de Castro -
Picture of Plugin developers

Dear Michael,

please, check release 1.2.15. Now the QR scanner works also in iPhones with both cameras.

Good luck with your creative way of using Treasurehunt in a chemistry lab!

Let me know if everything is ok.

Regards.

Average of ratings: Useful (1)