Which official plugins/features work with phonegap and cr...

Discussion and feedback on Construct 2

Post » Fri Oct 03, 2014 12:10 pm

With Cocoonjs there were a number of plugins/features that were unsupported.

- The form control plugins Textbox and Button are not supported.
- The XML object is not supported.
- The Facebook object is not supported.
- The letterbox fullscreen modes are not supported. If they are selected, it will fall back to 'Scale outer' mode instead.
- The Text plugin's 'Set web font' action is not supported.
- The WebStorage plugin's session storage is not available. Use local storage or global variables instead.


So I want to know which official plugins and features work out of the box with phonegap and crosswalk? i.e. Does Facebook and Twitter work? Do the above work? Are there any known features that don't work?

Any information would be helpful so I can avoid pitholes early.

Kind regards,
Wyrm
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Oct 03, 2014 12:59 pm

On iOS 8+ and Android L+, PhoneGap basically supports everything the system browser does (Safari on iOS and Chrome for Android, although on Android PhoneGap is locked to the version of Chrome that is built in to the OS).

The main problem with PhoneGap is some SDKs require opening new windows, e.g. for login prompts. In PhoneGap opening a window doesn't work because it's not a tabbed browser, it's just a single view making up the app. So I think the Facebook, Twitter and Google Play plugins don't work, simply because their login flows rely on opening windows, which does nothing. It should be possible to work around that, but it can be tricky - the best solution is if the SDK developers like Facebook are aware of this limitation and design their SDKs to work within PhoneGap.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Fri Oct 03, 2014 1:30 pm

ok, that's good to know. Thanks for the information. You're a star @Ashley
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Oct 03, 2014 1:50 pm

@TheWyrm
@Ashley

You can use in app browser (plugin) instead of tabbed browser.

Currently Facebook (html5) login works, the evidence is @lanceal 's Facebook 2.1 : facebook-2-1-alliances-covens_t111941

and Google Play (html5) login also works : viewtopic.php?t=116390

If @Ashley is helped by @lanceal and me, all html5 login problem can be eliminated by one punch.
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Fri Oct 03, 2014 2:09 pm

@cranberrygame Well that would be awesome. I'm sure the community would appreciate this fix/improvement.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Oct 03, 2014 2:39 pm

cranberrygame wrote:If Ashley is helped by lanceal and me, all html5 login problem can be eliminated by one punch.

Do that!
B
28
S
8
G
4
Posts: 553
Reputation: 4,924

Post » Fri Oct 03, 2014 2:48 pm

Image
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Oct 03, 2014 5:29 pm

I don't mind helping with the phonegap Facebook login. The only issue with the way I have the Phonegap login for Facebook is that you can only run GET calls on the API, all POST calls will not work. So you can fetch user info...... but you cannot use functions like the javascript photo uploading or updating scores.....
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Wed Oct 08, 2014 12:36 pm

So are we not helping to update the official facebook and Google plugins for phonegap? Just checking in because I haven't heard anything else. Not that I don't mind, people can still buy the facebook plugin I built with phonegap support at my website, but I thought it would be nice to throw out the phonegap login for the official version due to how awesome the community and developers are here. :)
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Wed Oct 08, 2014 6:24 pm

@Ashley ^
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Next

Return to Construct 2 General

Who is online

Users browsing this forum: bobcgausa and 14 guests

cron