• Femi O
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
How to view Visualforce Pages through WebView (native Android using Mobile SDK)?

We are building a native Android app using Salesforce's Android SDK.
To be able to reuse all of our custom features we've added a WebView that directs to our Salesforce Org through the browser, which works like a charm on default SF layouts but on every Visualforce Page we get the error message "You can't view this page, either because you don't have permission or because the page isn't supported on mobile devices". Our users can access the Visualforce pages through any browser but not through Android app.

Things that we have already tried:
  • "Provide access to custom applications (visualforce)" is already selected on Connected App's "Selected OAuth Scopes" field;
  • All profiles are selected on visualforce page's security;
  • "Available for Lightning Experience, Salesforce1, and Lightning Communities" is checked on every Visualforce Page we've tried;
Why this is happening?
Is there any other configuration I need to check on Admin or Code side?

User-added image