Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

VK Social Network
Started by Michael W. Sep 15 2015 02:35 PM

52 replies to this topic
release android ios
[TOPIC CONTROLS]
Page 3 of 3 1 2 3
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#51

Lerg

[GLOBAL: userInfoPane.html]
Lerg
  • Contributor

  • 538 posts
  • Corona Staff

Regarding the VK settings on their website - is there any explanation of what should be set there? 

There is a good chance our problem lies there, but I haven't found any reference to it in your docs at:

http://spiralcodestudio.com/plugin-vk/

Follow the main docs https://vk.com/dev/ios_sdk



[TOPIC: post.html]
#52

stanga

[GLOBAL: userInfoPane.html]
stanga
  • Contributor

  • 193 posts
  • Corona SDK

I've seen these docs, but they seem a bit outdated (the actual settings page looks different). 

 

Anyways, I've managed to narrow down the issues in iOS:

 

-- if I don't have the VK app installed, or if it is installed but there is no user logged in, the login hangs forever. The callback listener is never called, and the device logs indicate Safari has failed to open:

com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.318163E9-0CBF-4D65-BC01-DBD79FC9AC60[192]) <Warning>: Service exited with abnormal code: 1

-- if I have the VK app installed, and I'm logged-in in there with a certain user, the login function returns the following response to the callback:

The operation couldn’t be completed. (ErrorEmptyListForMessageSendDomain error 1001.)

Either way, I can't login with iOS. 



[TOPIC: post.html]
#53

Lerg

[GLOBAL: userInfoPane.html]
Lerg
  • Contributor

  • 538 posts
  • Corona Staff

The plugin has been updated.

 

Breaking changes:

New stuff:

  • vk.login() now has userInitiated option, must set to true for a normal login. Don't set for a silent login attempt if user has been authorized previously.

Sample app has been updated, be sure to check it out https://github.com/Lerg/plugins-sample-vk

API reference have been moved to the docs site http://docs.spiralcodestudio.com/plugin/vk/




[topic_controls]
Page 3 of 3 1 2 3
 
[/topic_controls]

Also tagged with one or more of these keywords: release, android, ios