Commit graph

30 commits

Author SHA1 Message Date
Richard Davey
32c01038e0 FacebookInstantGamesPlugin.showAd and showVideo will now break out of the ad iteration search once a valid ad has been found and called. Previously, it would carry on interating if the async didn't complete quickly. Fix #4888 2020-01-14 22:16:41 +00:00
Josh Soref
ca65399c13 spelling: updatefail 2019-10-29 02:40:08 -04:00
Richard Davey
02975813c7 JSDocs fix 2019-10-11 18:32:05 +01:00
Richard Davey
c59aa16bb4 Leaderboard extends Event Emitter, which was missing in the TypeScript defs. Fix #4703 2019-09-26 13:45:01 +01:00
Richard Davey
9485eef5c7 Leaderboard.getConnectedScores incorrectly specified two parameters, neither of which were used. Fix #4702 2019-09-26 13:42:59 +01:00
Richard Davey
c6e7213fe4 The documentation for the chooseContext method has been fixed. Fix #4425 2019-09-26 13:36:36 +01:00
Richard Davey
82401fc74f Calling gameStarted in a game that doesn't load any assets would cause the error {code: "INVALID_OPERATION", message: "Can not perform this operation before game start."}. The plugin will now has a new internal method gameStartedHandler and will redirect the flow accordingly based on asset loading. Fix #4550 2019-09-26 13:20:59 +01:00
Richard Davey
163ab4fc19 Calling showAd or showVideoAd will now check to see if the ad has already been displayed, and skip it when iterating the ads array, allowing you to display an ad with the same Placement ID without preloading it again. Fix #4728 2019-09-26 13:11:28 +01:00
Richard Davey
046498d294 Fixed Leaderboard namespace 2019-05-09 11:21:52 +01:00
Krzysztof Grzybek
8d50195896 add missing apostrophe 2019-03-25 19:25:44 +01:00
Richard Davey
0a87a0bdef Added new getProduct method and fixed naming of consumePurchases. 2019-03-13 12:37:01 +00:00
Richard Davey
4f6f6ee72f Lots of jsdoc and type fixes 2019-01-31 12:19:01 +00:00
Richard Davey
439c644702 Fixed an API validation error in the chooseContext method. Fix #4248 2019-01-04 14:05:53 +00:00
Amaury Butaux
8b3876e9d4 Fixed Issue #4271 2019-01-02 04:13:52 +01:00
Richard Davey
06c6b280e7 New global adshowerror handler and better event flow. 2018-12-07 04:29:18 +00:00
Richard Davey
2ed6c649a3 Swapped ad events placement. 2018-12-07 01:49:01 +00:00
Richard Davey
e672592aef Modified how ad placement loading works. 2018-12-07 01:39:30 +00:00
Richard Davey
23cc8b84e3 Added getConnectedScores method 2018-11-12 17:15:00 +00:00
Richard Davey
0557ee071b Updated setScore handling 2018-11-12 12:38:18 +00:00
Richard Davey
61f74a2fc6 The loadPlayerPhoto function in the Instant Games plugin now listens for the updated Loader event correctly, causing the photocomplete event to fire properly. 2018-10-17 15:15:46 +01:00
Richard Davey
c704dc450a Fixed jsdoc definitions 2018-09-25 11:36:36 +01:00
Richard Davey
3fb0f7c57b Swapped to new event handler 2018-09-20 16:58:48 +01:00
Richard Davey
cbb99ac536 Updated docs 2018-09-20 14:14:36 +01:00
Richard Davey
2292500094 Finished FB docs 2018-09-20 11:49:39 +01:00
Richard Davey
5b5014744a Starting Leaderboard docs 2018-09-19 17:09:08 +01:00
Richard Davey
1c3e9fb598 API documentation complete 2018-09-19 16:45:02 +01:00
Richard Davey
0646843d49 Updated log and docs 2018-09-19 14:13:55 +01:00
Richard Davey
61c3157e2b Added jsdocs 2018-09-19 13:50:33 +01:00
Richard Davey
a103b0e6a6 Fixed FB Plugin paths to avoid build errors if plugin is enabled. 2018-09-04 12:35:23 +01:00
Richard Davey
618754b411 Moved FB plugin to plugins folder 2018-08-23 18:10:46 +01:00