Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

SSK2: Small "Easy Social" documentation issue.
Started by cbriggsnz Mar 18 2017 02:11 PM

3 replies to this topic

Best Answer roaminggamer , 21 March 2017 - 11:32 AM

@Craig,

 

1. The docs are updated.

 

2. Get 2017.009.  There is a bug fix for social.rate().

 

I found that recently, Android rating calls started to crash.  I resolved this and committed a change to the module in release 2017.009.

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

cbriggsnz

[GLOBAL: userInfoPane.html]
cbriggsnz
  • Contributor

  • 206 posts
  • Corona SDK

Hey Ed,

 

Found a small issue with the documentation for your Easy Social.  I could have worked it out if I had read the documentation more carefully, however I just copy, pasted and modified the example.

 

Your example shows;

if( onAndroid ) then

   ssk.social.rate( 'com.roaminggamer.sudoku4' ) -- Google Play ID

elseif( oniOS ) then

   ssk.social.rate( '1150939979' ) -- iTunes Connect ID

end

However is should be;

if( onAndroid ) then

   ssk.social.rate( {id = 'com.roaminggamer.sudoku4'} ) -- Google Play ID

elseif( oniOS ) then

   ssk.social.rate( {id = '1150939979'} ) -- iTunes Connect ID

end

Cheers,

 

Craig



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 3,934 posts
  • Enterprise

Rock and Roll.  Thanks!

 

I will fix that and update the docs.



[TOPIC: post.html]
#3

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 3,934 posts
  • Enterprise

  Best Answer

@Craig,

 

1. The docs are updated.

 

2. Get 2017.009.  There is a bug fix for social.rate().

 

I found that recently, Android rating calls started to crash.  I resolved this and committed a change to the module in release 2017.009.



[TOPIC: post.html]
#4

cbriggsnz

[GLOBAL: userInfoPane.html]
cbriggsnz
  • Contributor

  • 206 posts
  • Corona SDK

Awesome,  thanks.




[topic_controls]
[/topic_controls]