Mobile app no longer works after update to 4.2.1

Mobile app no longer works after update to 4.2.1

Chris Free -
Atsakymų skaičius: 10
Hello, 

I updated to Custom Certificate version 4.2.1 on my moodle site. My site is version Moodle 4.2 (Build: 20230424).

When I try to access a certificate on my site using the official moodle mobile app, I get an error: 

Error
Exception - Call to undefined function
mod_customcert\output\external_format_text()

Here is a screenshot of the error. I do not receive errors when using a web browser. 

I'm happy to answer any questions you have and appreciate any help you can provide. 
Screenshot showing error message on official moodle app
Įvertinimų vidurkis: -
Atsakymas į Chris Free

Re: Mobile app no longer works after update to 4.2.1

Chris Free -
I created a fresh install of Moodle and installed the newest custom cert and tried to access it via the official moodle app and I received a new error message that says this plugin is not yet supported.
Priedas Screenshot_20230531-162757.png
Atsakymas į Chris Free

Re: Mobile app no longer works after update to 4.2.1

Mark Nelson -
Core developers paveikslėlis Documentation writers paveikslėlis Particularly helpful Moodlers paveikslėlis Peer reviewers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
Ok, so this looks like you are adding an external tool and not the custom certificate plugin.
Atsakymas į Mark Nelson

Re: Mobile app no longer works after update to 4.2.1

Chris Free -
Hi, thanks for looking into this. These are Custom Certificates that are installed on my site. But, with the update, the mobile app shows them as external tools that don't work. The mobile app used to show them as Custom Certificates. Here's a screenshot of one of the Custom Certificates on my laptop browser that still works after the update, but shows an error on the mobile app. 

I'm happy to answer any questions you have about my system. 

Thanks again! 
Priedas Screenshot 2023-05-31 204132.png
Atsakymas į Chris Free

Re: Mobile app no longer works after update to 4.2.1

Mark Nelson -
Core developers paveikslėlis Documentation writers paveikslėlis Particularly helpful Moodlers paveikslėlis Peer reviewers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
Hmm, I released 4.2.1 cause the web services the mobile app were using were completely broken in 4.2 due to Moodle core changes. Ill check this when I get home.
Atsakymas į Mark Nelson

Re: Mobile app no longer works after update to 4.2.1

Chris Free -
Hi, thanks for looking into this. I was wondering if you had any updates. I appreciate your help.
Atsakymas į Chris Free

Re: Mobile app no longer works after update to 4.2.1

Mark Nelson -
Core developers paveikslėlis Documentation writers paveikslėlis Particularly helpful Moodlers paveikslėlis Peer reviewers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
Doing it now. besišypsantis

Edit - assuming I get ngrok playing nicely.
Atsakymas į Mark Nelson

Re: Mobile app no longer works after update to 4.2.1

Chris Free -
I appreciate your help with this. I have a secondary test environment and I uninstalled the 4.2.1 custom certificate and tried installing each version back to 3.9.1 and I receive the same error on every version.
Atsakymas į Mark Nelson

Re: Mobile app no longer works after update to 4.2.1

Chris Free -
Hi Mark,
I see you posted an update last night. Thank you for continuing to work on this. I have tested the 4.2.2 version on the mobile app and I'm still receiving the same error. Is there something I need to do on my end? Or is this still a work in progress.
Thanks again!
Atsakymas į Chris Free

Re: Mobile app no longer works after update to 4.2.1

Mark Nelson -
Core developers paveikslėlis Documentation writers paveikslėlis Particularly helpful Moodlers paveikslėlis Peer reviewers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
Hi Chris,

The update on Thursday was an emergency release of sorts as the update before that completely broke moving images around on the reposition elements page. I still need to investigate this mobile issue, apologies. Please see https://github.com/mdjnelson/moodle-mod_customcert/issues/565.

Regards,

Mark