Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap system doesn't work in Evernote China Yinxiang Biji #162

Open
umekun123 opened this issue Nov 1, 2018 · 0 comments
Open

bootstrap system doesn't work in Evernote China Yinxiang Biji #162

umekun123 opened this issue Nov 1, 2018 · 0 comments

Comments

@umekun123
Copy link

Hello, Evernote says it will switch to Evernote China automatically with their bootstrap system, but my below swift code in AppDelegate doesn't work in Evernote China, is there anything wrong?
https://dev.evernote.com/doc/articles/bootstrap.php

// Works without China
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: nil)

// Doesn't work anywhere
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: ENBootstrapProfileNameInternational)

// Doesn't work anywhere
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: ENBootstrapProfileNameChina)

// Doesn't work anywhere
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: "www.evernote.com")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant