Stencyl 3.4.0 is now out. Get it now!

!! Ojya Leaderboard Facebook Extension !! V7e - Wrappers, API 2.10 - RELEASED

andyvene

  • Posts: 83
Thanks Paul,
Another Stencyl developer using Facebook told me this 1 year ago, but he solved it at the end.  Didn't told me how. Maybe he had to prove that the app is working, as you did.
Anyway, this is a thing that happens to Stencyl games and i wrote also to Stencyl stuff if they can wide-support Android APK Stencyl on simulators on MacOS.
What this means:
 
ON MACOS - Testing APK in simulators
OjyaLeaderboard for Stencyl using MACOS and different simulators Android AVD, Bluestacks gives the BLACK-SCREEN but the game is fully functional.
OjyaLeaderboard for Unity3D works great on all Android simulators on MACOS.
You can solve how? RUNNING Bluestacks,Andyroid  or Android AVD using Windows-Parallels or any virtualisation in MACOS.

So this is a Stencyl issue known. So you have to use real devices or use the above method.

ON WINDOWS - Testing APK in simulators
Stencyl - OjyaLeaderboard works on windows android simulators with no problem.

ANSWER:  A big number of facebook reviewers, and this is a confirmed information, are using MACs with Android Simulators.
Stencyl APK games unfortunately have this issue(black screen),  instead other game engines, like Unity3D, are not having this problem with their APK games.

For Facebook app review the game developer must specify to test the game on windows OS using android simulators or at real devices, but not on MacOS.



Screenshots below: OjyaLeaderboard Stencyl(black screen) with Bluestacks on MacOS -issue
OjyaLeaderboard Unity3D , using Bluestacks on MacOS - works
OjyaLeaderboard Stencyl using Bluestacks in Parallels-Windows - works

« Last Edit: June 22, 2017, 10:08:33 am by andyvene »

andyvene

  • Posts: 83
Ojya Leaderboard version 7e
New update for the Extension only to version 7f


This is a minor update. Introduced the 'OjyaLB ShowLogs' block.
From now on, the OjyaLeaderboard Extension, for Haxe code, Java and Objective C will have the Ojyaleaderboard Logs off by default. If you want to enable the logs just use the above block set to TRUE before 'OjyaLB FB AppID' block.


Visit our site Ojya Leaderboard for the new feature of version 7f (Section Use of the Extension)

andyvene

  • Posts: 83
Ojya Leaderboard version 7e
Working with Facebook Android SDK3 and SDK4
Only for advanced users


Information about the unique work in OjyaLeaderboard for Facebook SDK4 - Version 8 upcoming.

OjyaLeaderboard extension for Android uses the boolletproof Facebook SDK3.x.
This SDK integrates best with game engines like Stencyl and others that you don't use code, as it doesn't creates activities for Facebook dialogs etc.
A new activity on Android will stop the main game activity, so sound and animation will stop when a Facebook dialog opens.
Using the Facebook SDK3 all the dialogs are integrated in the game as one thing. No pausing occurs.
Instead  this will not happen with SDK4, as it creates more activities.
(The Facebook dialogs OjyaLeaderboard uses are the Gamerequests Dialogs - used for the sharing bonus actions.)

Thats why  Facebook still keeps operating the  SDK3.
The best choice for a game designer is Facebook Android SDK3.

But OjyaLeaderboard extension has a second version with Android Facebook SDK4.
This doesn't add any new feature in respect of SDK3.


OjyaLeaderboard with some modification on the Activities of SDK4 and Stencyl Android GameActivity, is now the ONLY Facebook add-on for a game engine that DOESN'T stop the activities.
So every Facebook dialog opened in the Stencyl game will not pause the main activity of Stencyl... so animations and sounds will continue.
Extensive tests are made in the extension using dialogs opened, pausing the game and resuming with android stop button, backbutton, resuming on the icon application and also on expose.

So i am happy to say that OjyaLeaderboard with Android Facebook SDK4 is maybe the ONLY Facebook solution with that feature, difficult to find in other game-engines in the market.

Of course we will continue using the SDK3 as it is the most reliable for gaming, but with the option to use the SDK4 if the developer wants to.




Visit our site Ojya Leaderboard

« Last Edit: July 07, 2017, 08:12:39 am by andyvene »

andyvene

  • Posts: 83
Ojya Leaderboard version 7e
Extension version 7f


The current version of OjyaLeaderboard is compatible also with Facebook API 2.10 , released these days.
No need for further update.


Visit our site Ojya Leaderboard

« Last Edit: July 19, 2017, 06:23:27 am by andyvene »