Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo
help

My app is rejected by Apple for popup the OAuth login page in safari, Please help



  • Please log in to reply
5 replies to this topic

#1 Slavik

Slavik

  • Pip
  • Title: Member
  • Group: Members
  • 8 posts

Posted 16 June 2012 - 02:57 AM

My app is rejected by Apple.

They said that the login page poped in safari is against the guid line, that I should note show a web site with link for purchases or subscriptions

I have explained to them that the page is for login purpose, that the use will not buy anything on it. But they insist.


The attachment is a snapshot of the replay in itunesconnect resolution center.


Since there is no basic auth api access, I wonder what shall I do then.


Is there anybody can help me with it?

Attached Files



#2 AndyDent

AndyDent

  • PipPipPip
  • Title: Bushwhacker
  • Group: Members
  • 144 posts

Posted 16 June 2012 - 03:58 AM

The new version of the SDK as of 14 June has a sample app showing how it now uses an embedded controller and doesn't launch Safari. The sample also has both iPad and iPhone storyboards

#3 Slavik

Slavik

  • Pip
  • Title: Member
  • Group: Members
  • 8 posts

Posted 16 June 2012 - 05:16 AM

Thank you.

I will try that.

#4 SethH

SethH

  • Title: Evernote Employee
  • Group: Evernote Employee
  • 683 posts

Posted 16 June 2012 - 08:14 PM

Slavik, we're very sorry about the trouble that this is causing you. We've been working to resolve this issue, and thought that we had it taken care of. As Andy pointed out, our most recent step was to switch the authentication into an embedded web view instead of opening Safari. This will require some changes on your part, but they shouldn't be significant. Please let us know if you have any trouble updating to the latest SDK, and let us know how it goes when you resubmit.

#5 David Chevenement

David Chevenement

  • Pip
  • Title: Member
  • Group: Members
  • 47 posts

Posted 18 June 2012 - 09:34 AM

Dear All

thanks for the fix.
Just one question to gain time in the update process.
we did remove and replace the old sdk files in pour projects with the new ones and changed

[session authenticateWithCompletionHandler:^(NSError *error) {

by
[session authenticateWithViewController:self completionHandler:^(NSError *error) {

to use the new authentication scheme.
Looks like there nothing much to it.
Could you confirm ?

Regards,

#6 David Chevenement

David Chevenement

  • Pip
  • Title: Member
  • Group: Members
  • 47 posts

Posted 18 June 2012 - 09:53 AM

Dear Evernote Team

the update works great, took 2 minutes to update.
a few remarks though:
- we cannot manage the modal view controller that is presented to the user. It currently coming out with no *****le. How can we update this part, knowing that setting yourself a default *****le could be a problem, particularly if we need to handle multilingual file. Can you point to a workaround ?
- in the opened web view, you set your modal view controller style to form sheet but the login page provided by the evernote web server does not accommodate for it. It does not really good and the user have to scroll to the correct screen location for user/pwd prompt. Could you indicate a fix ? 2 possible solution: provide a dedicated iOS landing page for login or set the web view to size to fit at launch so that the web view display the entire page.


To share with others, the cancel button fires an exception error with authentication failure with error set to nil. be sure to test for this when giving user feedback about possible errors.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote