Salesforce service plugin problem
I am using following login method using salesforce service
When I run the app it open new page to login and ask for permission
and if I click on allow button it again open the same login page, same process happen again but if I click on done link which is coming in above image its work fine for me.
But once I allowing the page it should close the popup and redirect to next page. Why it is not happening?
I tried to use doLogin method which work fine but barcode scan functionality doen't work with that plugin.
in login method I am calling salesforceLogin method of salesforce javascript service