Unable to download mobile app after upgrade to 8.6

Hi,

We recently upgraded from 8.3 to 8.6 but after upgrade when we build the app and try to download it, the download URL asks for login credentials and after entering it it logs into the application but apk file is not getting downloaded.

Please let me know if any resolution on this.

@Mayurk33, we are not aware of any such issue. Are you trying to download apk on mobile using QR code or from desktop browser using link?

@emanp from desktop browser using link. The URL which Pega generates is having PRAuth in it while downloading and it’s causing the screen to redirect to login screen.

@Mayurk33 , yes that is the default behavior. If you want to disable the authentication, you can override the DSS setting pega/mobilebuild/anonymousDownload/Android to true. similarly for iOS, pega/mobilebuild/anonymousDownload/iOS

@emanp

can’t find this , if I have to create these what should be the owning ruleset for it?

Also, on removal of PRAuth from url we are able to login to app but it’s showing blank screen and nothing is loading.Could you guide on it please?

@Mayurk33, i think you have to create this DSS. Attaching the snapshot. Ruleset can be any of your application ruleset.

@emanp

Getting white screen after logging in to Mobile app , in the logs in debug mode can see below message

“Post Auth Process pending and more than 1 activity is present in query string. So rejecting the request”

Please help.

Disabling authentication while downloading app can be also done via Admin Studio → Mobile → Settings.
Checkout the checkbox ‘Require login for mobile app download’.

https://community.pega.com/knowledgebase/articles/mobile/86/configuring-mobile-build-server-settings

Nevertheless you should be able to download your app with login. Maybe your browser is configured to block downloading files?

@Mayurk33

Resolved this with change in navigation rule.

@kawea

We are able to download the apk file now , but mobile app is showing blank screen.

Need help on it .