How do I CocconGooglePlayGames + Appodeal

Get help using Construct 2

Post » Mon Jun 06, 2016 8:31 pm

Hello guys,

last days I am having problem with implementation of CocconGooglePlayGames + Appodeal. :evil:

Basic description of the problem:
I am using Construct 2 for my game and I am having issue with implementation of Hardware Back button on mobile devices. I have got project in C2 and there I have got Browser object that has condition "On mobile back button pressed" under it I am using action "go to layout" (some specific layout).

In Cocoon project (for compiling) I added "inappbrowser" plugin. When I have turned OFF wi-fi on my mobile then HW Back buttons works right (every time go to defined layout) but when I turn ON my wi-fi pressing HW Back button is closing whole app. I haven't got any action for closing app in my whole project so I do not know why?

Webview engine(s):
Canvas+

Used plugins (in Cocoon):
com.ludei.canvasplus.android
https://github.com/Tamplier/cordova-plugin.git
cocoon-plugin-social-android-googleplaygames
cordova-plugin-inappbrowser

Additional description of the problem:
Regarding to this post on Scirra:
https://www.scirra.com/tutorials/4979/a ... onstruct-2
I have to use
"To use Appodeal with CocoonGooglePlayGame and CocoonShare etc.. use
https://github.com/Tamplier/cordova-plugin.git "

But when I add it to my project then that problem with HW Back button appears. I tested whole project without Appodeal plugin and whole game was working well and also that HW Back button (it was with Google play games services etc) so problem is with adding that Appodeal there must be some collision with plugins or something like that. I also notice that closing whole app is does not matter on what is in C2 it is happening also with no use of "On mobile back button pressed" in C2.
Sum it up I would like to make a game where will be Google play games services and also Appodeal services (rewarded video ads) and compile it on Cocoon IO.

Any help will be greatly appreciated :!: :!: :!: I almost lost hope :oops:
B
11
S
3
Posts: 37
Reputation: 999

Post » Thu Jun 09, 2016 6:06 pm

BUMP
BUMP :)

So guys any idea from anyone? :)))

I really wonder if there was no one who uses Appodel with GPG services and compiling with Cocoon IO. Please write me what do you use (plugins etc) thank you in advance.

Or do you have any other good Ads services? I looked at Chartboost but official SDK from Cocoon IO for it seems support only banners and interstial (not video) or am I not right? Any advice or recommendation will be appreciated.
B
11
S
3
Posts: 37
Reputation: 999

Post » Thu Jun 09, 2016 7:48 pm

i use it in all my game.... appodeal and cocooon
Image
B
36
S
11
G
2
Posts: 312
Reputation: 3,739

Post » Fri Jun 10, 2016 6:11 am

Hello you are right but I tested your 2 games and in both when I press HW Back button game will close. Is there any way how to disable HW Back button??? Thank you
B
11
S
3
Posts: 37
Reputation: 999

Post » Fri Jun 10, 2016 3:04 pm

I suppose "inappbrowser" plugin can cause conflicts that prevent correct compiling of your project. It's my guess, but i haven't had similar problems and think it might be solved after proper checking your project. For the last days there were couple of questions here on scirra, concerning appodeal, but to my mind all of them can't be easily solved, cause the problems are likely to be on the code level or somehow out of typical. I can't understand why you guys just don't ping their support. It's their work an usually they offer themselves to check app's apk for problems and so on, so i recommend to do so. It's much easier than to wait for an answer from fellow developers like us here, on the forum =) cheers dude and good luck
B
4
S
1
Posts: 17
Reputation: 378

Post » Tue Nov 22, 2016 12:43 am

Look man, I do not know if it will help you, but I've already seen some problems related to conflicts being solved in these ways:
1- Uploading the event + chosen action until the maximum of the event sheet (dragging with the mouse)
2- Adding an action at the end or at the beginning (see which will work) of the event - action is system "wait 0.01 seconds"

Maybe it works,
B
11
S
5
Posts: 23
Reputation: 968

Post » Thu Mar 30, 2017 12:05 pm

hello Ubru, could u find the solution for the issue ?:- hard back button causing browser/app to close
B
13
S
4
G
1
Posts: 8
Reputation: 1,343

Post » Sat May 20, 2017 3:45 pm

https://shatter-box.com/knowledgebase/c ... canvasplus

Follow this guide.
Search for Exit app.
Instructions are provided in order to close the app using the Canvas+.
Dont forget to download the Canvas+ plugin and add it to C2 via the plugins file.
B
26
S
14
G
8
Posts: 49
Reputation: 6,250

Post » Tue Jul 11, 2017 3:34 am

This is my problem too. I have this "Browser Plugin" and use "On Back Button" but when compiled in cocoon, the app supposed to go in Main Manu but it forces the app to close

I used appodeal plugin too
B
29
S
12
G
4
Posts: 66
Reputation: 4,223


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dop2000, MikaelS, nahima, Yahoo [Bot] and 22 guests