Ionic + react + AzureAD

Hello,

I created an app with Ionic + React and I want to use login with AzureAD. I followed this example:

BUT it only works with the browser, when I make the APK with Android and open the app on a tablet, I have an error right at the beginning, in the main.tsx

window.crypto.random UUID

I guess it’s not the best way to sign in with Azure, but I didn’t find another way. Any suggestions?

Thanks