vk-ios-sdk icon indicating copy to clipboard operation
vk-ios-sdk copied to clipboard

[VKSdk authorize:scope] doesn't work

Open Joicker opened this issue 6 years ago • 9 comments

use the [VKSdk authorize:scope] is nothing happen ,where should i check it

Joicker avatar Jul 25 '18 03:07 Joicker

do you set up delegates? VKSdk *sdkInstance = [VKSdk initializeWithAppId:YOUR_APP_ID]; [sdkInstance registerDelegate:delegate]; [sdkInstance setUiDelegate:uiDelegate];

0xstragner avatar Jul 25 '18 06:07 0xstragner

yep,but the [VKSdk wakeUpSession:SCOPE completeBlock:^(VKAuthorizationState state, NSError *error) is not running ,and i use this one [[VKSdk initializeWithAppId:APP_ID] registerDelegate:delegate];

Joicker avatar Jul 25 '18 09:07 Joicker

Do you set UI delegate?

0xstragner avatar Jul 25 '18 10:07 0xstragner

yes i did

Joicker avatar Jul 26 '18 00:07 Joicker

Please show you full code where you initialize SDK and call authorise method

0xstragner avatar Jul 26 '18 10:07 0xstragner

image image

Joicker avatar Jul 27 '18 01:07 Joicker

Are you sure that int vklogin(lua_state *L) called after your method on first screenshoot?

0xstragner avatar Jul 27 '18 09:07 0xstragner

I'm sure ,the first screenshoot i was set in the -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

Joicker avatar Jul 28 '18 03:07 Joicker

still here?

Joicker avatar Aug 03 '18 03:08 Joicker