yandex-disk / yandex-disk-sdk-objc

18 stars 17 forks source link

Auth with browser does not work #2

Open sadr0b0t opened 10 years ago

sadr0b0t commented 10 years ago

Sdk example shows dialog "start browser to aothorize", click ok - open browser with yandex login, I log in - it jumps to oauth.yandex.ru, then m.oauth.yandex.ru, then localhost and that's all. No authorization for the device, no working sdk on Android,

sadr0b0t commented 10 years ago

In ExampleActivity account type should be: public static final String ACCOUNT_TYPE = "com.yandex.passport";

not "com.yandex". Will only work when some yandex app like yandex.disk is installed on the device, so yandex account can be created with it beforehand and then used by the example application.