Looking for Alternatives to broken In-App Browser

Discussion and feedback on Construct 2

Post » Wed Feb 22, 2017 7:53 am

MPPlantOfficial wrote:Possibly. Will be doing tests when I get home. Far as I know once you install r242 there's no going back. Seems like such a hassle to uninstall, reinstall, get plugin, uninstall again....
Best option seems to be look for a guy who doesn't have C2 yet, install and get the plugin from him.

Aren't we talking about updating the InAppBrowser plugin (cordova-plugin-inappbrowser) in Intel XDK? Its not related to the version of C2?

Image
B
69
S
49
G
59
Posts: 399
Reputation: 37,130

Post » Wed Feb 22, 2017 10:55 am

Artpunk wrote:Aren't we talking about updating the InAppBrowser plugin (cordova-plugin-inappbrowser) in Intel XDK? Its not related to the version of C2?


It compiles fine and builds the APK file even with the InAppBrowser plugin in XDK.
That results in black screen.

It's actually taking out the Browser Plugin in the C2 CAPX file that made the game work.
The purchasable Cranberry games plugin still works for the back button option but the 'close window' option doesn't work.
Image Image Image
B
29
S
11
G
27
Posts: 735
Reputation: 17,012

Post » Wed Feb 22, 2017 11:36 am

UPDATE: Switching to v1.6.1 WORKS!!!

For anyone using C2 r242 and Intel XDK, be sure to Reset the cordova-plugin-inappbrowser version to v1.6.1
Image Image Image
B
29
S
11
G
27
Posts: 735
Reputation: 17,012


Post » Wed Feb 22, 2017 2:10 pm

SparklingAir wrote:i use r241 and have black screen only on some devices


I can't guarantee it'll work. I only managed to get a build using trial and error.
I don't know what version of InAppbrowser works on r241.
Image Image Image
B
29
S
11
G
27
Posts: 735
Reputation: 17,012

Post » Thu Feb 23, 2017 6:21 am

MPPlantOfficial wrote:UPDATE: Switching to v1.6.1 WORKS!!!

Happy to help.
B
69
S
49
G
59
Posts: 399
Reputation: 37,130

Post » Thu Feb 23, 2017 7:38 am

Artpunk wrote:
MPPlantOfficial wrote:UPDATE: Switching to v1.6.1 WORKS!!!

Happy to help.


v1.6.1 works but somehow after adding both IAP and Admob...BLACK SCREEN AGAIN!!!!

HOLY FK!!!
Image Image Image
B
29
S
11
G
27
Posts: 735
Reputation: 17,012

Post » Thu Feb 23, 2017 7:45 am

Artpunk wrote:
MPPlantOfficial wrote:UPDATE: Switching to v1.6.1 WORKS!!!

Happy to help.


Do you know which IAP and Admob plugins ACTUALLY WORK as of Feb 23, 2017 ????
Image Image Image
B
29
S
11
G
27
Posts: 735
Reputation: 17,012

Post » Thu Feb 23, 2017 8:37 am

When there's an error that causes a black screen the error is typically displayed on the browser's console. Seeing what the error is would be helpful to pinpoint what's causing it.
It looks like google chrome can be used to debug and see the error console of a xdk/Cordova app running on a phone. I saw a tutorial in the tutorials section and another tutorial just with a Google search.
B
92
S
32
G
107
Posts: 5,280
Reputation: 69,971

Post » Thu Feb 23, 2017 8:42 am

For iAP I was never able to get the offical iAP to work properly. I swapped to the Cranberrygame iAP plugin and was able to get that working pretty quickly.

As for AdMob, I have never tried the official C2 plugin. I use the Cranberrygame Charboost plugin for ads and its working well (at the moment anyway).

As for your black screen issue. Id just be systematic about testing it. You said you got a successful build recently. Remove everything you added since that build. Then just go one step at a time. Add in your Admob plugin, do a test build to see if it works. etc. Just add one thing at a time and test it. Hopefully that would allow you to identify what is causing problems.
B
69
S
49
G
59
Posts: 399
Reputation: 37,130

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: rbailey83 and 11 guests