function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abdul Khader CKAbdul Khader CK 

Cordova Hybrid app using Salesforce mobile SDK with Community and custom VF login page - Issue with login from mobile app

I am trying to add a custom Visualforce login page to my hybrid app, which is connected to a SF community. What I have done is, created a Visualforce page, which collects the User's username and password and override this VF page in community login page settings.
 
When I try to login through a web browser into the community, it works well and redirected to the web landing page. But, when I try to do it through the mobile app (created with SF Mobile SDK, i.e. forceios CLI), it is also redirecting to the web landing page instaed of mobile app.

Can some one please guide me how we can redirect the user to the mobile app after successful login if the request is coming from app.
Appreciate your immediate assistance
 
Abdul Khader CKAbdul Khader CK
Guys , any body know the solution for this issue ?