[Closed] Let's make Google Play plugin login possible (+Cro)

Post your work in progress addons and get feedback

Post » Fri Oct 03, 2014 11:46 am

@MarkShires

Can you tell me the error message?
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 » Sat Oct 04, 2014 6:03 pm

@cranberrygame

I seem to have managed to get it to work now, (well it logs in anyway)
the bit that I was missing was this;

update jquery version from 2.0.0 to 2.1.0 in the index.html

I think every time you build from construct it gets overwritten??

Thanks for you help
B
5
S
1
Posts: 9
Reputation: 470

Post » Sun Oct 05, 2014 12:14 am

@MarkShires

I let @Ashley to know about this.

So he will make actions for it.

Thanks
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 » Tue Oct 07, 2014 7:29 pm

I think you have wrong id and git url in your intelxdk.config.additions.xml on your GitHub page (on the Cordova plugin registry too).

You have:

Code: Select all
<intelxdk:plugin intelxdk:name="googleplay" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.googleplay" intelxdk:id="com.cranberrygame.phonegap.plugin.googleplay">
<intelxdk:param intelxdk:name="APP_ID" intelxdk:value="REPLACE_THIS_WITH_YOUR_APP_ID" />
</intelxdk:plugin>


But I think it should be:

Code: Select all
<intelxdk:plugin intelxdk:name="googleplay" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game" intelxdk:id="com.cranberrygame.phonegap.plugin.game">
<intelxdk:param intelxdk:name="APP_ID" intelxdk:value="REPLACE_THIS_WITH_YOUR_APP_ID" />
</intelxdk:plugin>


But even after corrected id ang GitHub url I get this error when building for crosswalk with Intel XDK:

Error: Plugin failed to install: googleplay (https://github.com/cranberrygame/com.cr ... n.game.git)
B
26
S
6
Posts: 6
Reputation: 2,134

Post » Wed Oct 08, 2014 12:39 am

@sajmons

Hi, sajmons

This post is for making official Google Play plugin's login possible. (html5 version)

But github you said is the cranberrygame's game plugin (sdk version)

https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game

So if you want to bug report about sdk version

Go to this: viewtopic.php?f=153&t=109586
and reply

p.s fixed github id
and runtime error or build time error?
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 » Sat Oct 11, 2014 6:48 pm

Correct me if I'm wrong, but as I understand com.cranberrygame.phonegap.plugin.game plugin is intended to make it possible to use Google Play Game Services with Construct 2 via C2 plugin (googleplay_r182_cranberrygame_1.0.9.zip) and Intel XDK Crosswalk?

I have setup everything as stated in your first post. I made crosswalk build with Intel XDK, upload that apk to aplha build at Google Play, downloaded apk from google play. In Construct 2 I have used your plugin from first post (googleplay_r182_cranberrygame_1.0.9.zip), I have used Google Play -> Is loaded (event) -> Sign In (action). But nothing happens when my game starts. I expected to see standard goolge play dialog. What I'm I doing wrong? I checked APK from crosswalk and it contains your plugin.

This Android DDMS log when I start app on my (Nexus 5, KitKat 4.4.4) device:

Code: Select all
10-11 20:21:15.666      751-761/? D/dalvikvm﹕ GC_FOR_ALLOC freed 3693K, 17% free 44481K/53500K, paused 90ms, total 90ms
10-11 20:21:15.716    1030-1030/? W/HandlerScheduledExecuto﹕ Task does not implement UiTask. Consider using NamedUiRunnable for [email protected]
10-11 20:21:16.846      966-970/? D/dalvikvm﹕ GC_CONCURRENT freed 725K, 5% free 19125K/20056K, paused 3ms+1ms, total 20ms
10-11 20:21:19.436    751-13477/? I/ActivityManager﹕ START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sajmons.balloonpop/.BalloonPop (has extras)} from pid 1030
10-11 20:21:19.526    751-13477/? D/dalvikvm﹕ GC_FOR_ALLOC freed 2017K, 18% free 44294K/53500K, paused 89ms, total 89ms
10-11 20:21:19.566     751-1070/? I/ActivityManager﹕ Start proc com.sajmons.balloonpop for activity com.sajmons.balloonpop/.BalloonPop: pid=22099 uid=10160 gids={50160, 3003}
10-11 20:21:19.646  22099-22099/? W/XWalkInternalResources﹕ org.xwalk.core.R$id.color_picker_simple_border is not found.
10-11 20:21:19.656  22099-22099/? I/LibraryLoader﹕ Loading: xwalkcore
10-11 20:21:19.656  22099-22099/? D/dalvikvm﹕ Trying to load lib /data/app-lib/com.sajmons.balloonpop-2/libxwalkcore.so 0x42f3a390
10-11 20:21:19.666  22099-22099/? D/dalvikvm﹕ Added shared lib /data/app-lib/com.sajmons.balloonpop-2/libxwalkcore.so 0x42f3a390
10-11 20:21:19.666  22099-22099/? I/LibraryLoader﹕ Time to load native libraries: 15 ms (timestamps 734-749)
10-11 20:21:19.666  22099-22099/? I/LibraryLoader﹕ Expected native library version number "",actual native library version number ""
10-11 20:21:19.676  22099-22099/? I/LibraryLoader﹕ Expected native library version number "",actual native library version number ""
10-11 20:21:19.676  22099-22099/? I/chromium﹕ [INFO:library_loader_hooks.cc(106)] Chromium logging enabled: level = 0, default verbosity = 0
10-11 20:21:19.686  22099-22099/? I/BrowserStartupController﹕ Initializing chromium process, renderers=0
10-11 20:21:19.756  22099-22099/? I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I0404c4692afb8623f95c43aeb6d5e13ed4b30ddbDate: 11/06/13
10-11 20:21:19.756  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 315K, 3% free 16830K/17184K, paused 3ms+1ms, total 17ms
10-11 20:21:19.786  22099-22140/? W/chromium﹕ [WARNING:proxy_service.cc(904)] PAC support disabled because there is no system implementation
10-11 20:21:19.806  22099-22099/? W/XWalkExtensionManager﹕ Failed to read JS API file: jsapi/contacts_api.js
10-11 20:21:19.806  22099-22099/? W/XWalkExtensionManager﹕ Failed to read JS API file: jsapi/messaging_api.js
10-11 20:21:19.806  22099-22099/? W/XWalkExtensionManager﹕ Failed to read extensions-config.json
10-11 20:21:19.816  22099-22099/? D/JsMessageQueue﹕ Set native->JS mode to 2
10-11 20:21:19.836  22099-22148/? I/chromium﹕ [INFO:xwalk_extension_renderer_controller.cc(43)] EXTENSION PROCESS DISABLED.
10-11 20:21:19.836  22099-22099/? W/chromium﹕ [WARNING:webrtc_internals.cc(52)] Could not get the download directory.
10-11 20:21:19.866  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 241K, 2% free 16984K/17284K, paused 3ms+1ms, total 22ms
10-11 20:21:19.886  22099-22099/? D/OpenGLRenderer﹕ Enabling debug mode 0
10-11 20:21:19.936      751-802/? I/ActivityManager﹕ Displayed com.sajmons.balloonpop/.BalloonPop: +381ms
10-11 20:21:20.426  22099-22150/? D/Admob﹕ ca-app-pub-5525658401348908/6131524174
10-11 20:21:20.426  22099-22150/? D/Admob﹕ ca-app-pub-5525658401348908/9084990570
10-11 20:21:20.426  22099-22150/? D/Admob﹕ true
10-11 20:21:20.426  22099-22150/? D/Admob﹕ true
10-11 20:21:20.596    751-13433/? E/qcom_sensors_hal﹕ hal_process_report_ind: Bad item quality: 11
10-11 20:21:21.046  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 226K, 2% free 17143K/17404K, paused 1ms+1ms, total 11ms
10-11 20:21:21.136  22099-22148/? I/chromium﹕ [INFO:SkUtilsArm.cpp(179)] Device supports ARM NEON instructions!
10-11 20:21:21.176  22099-22133/? D/WebAudioMediaCodec﹕ Initial: Tracks: 1 Format: {durationUs=316712, channel-count=2, csd-1=java.nio.ByteArrayBuffer[position=0,limit=3796,capacity=3796], mime=audio/vorbis, csd-0=java.nio.ByteArrayBuffer[position=0,limit=30,capacity=30], sample-rate=44100}
10-11 20:21:21.176  22099-22183/? I/OMXClient﹕ Using client-side OMX mux.
10-11 20:21:21.176  22099-22183/? E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
10-11 20:21:21.196  22099-22133/? D/WebAudioMediaCodec﹕ output format changed to {sample-rate=44100, channel-count=2, what=1869968451, mime=audio/raw}
10-11 20:21:21.206  22099-22133/? D/WebAudioMediaCodec﹕ Final:  Rate: 44100 Channels: 2 Mime: audio/vorbis Duration: 316712 microsec
10-11 20:21:21.246  22099-22132/? D/WebAudioMediaCodec﹕ Initial: Tracks: 1 Format: {durationUs=1256354, channel-count=2, csd-1=java.nio.ByteArrayBuffer[position=0,limit=3796,capacity=3796], mime=audio/vorbis, csd-0=java.nio.ByteArrayBuffer[position=0,limit=30,capacity=30], sample-rate=48000}
10-11 20:21:21.246  22099-22190/? I/OMXClient﹕ Using client-side OMX mux.
10-11 20:21:21.246  22099-22190/? E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
10-11 20:21:21.256  22099-22132/? D/WebAudioMediaCodec﹕ output format changed to {sample-rate=48000, channel-count=2, what=1869968451, mime=audio/raw}
10-11 20:21:21.256  22099-22132/? D/WebAudioMediaCodec﹕ Final:  Rate: 48000 Channels: 2 Mime: audio/vorbis Duration: 1256354 microsec
10-11 20:21:21.486  22099-22133/? D/WebAudioMediaCodec﹕ Initial: Tracks: 1 Format: {durationUs=2384625, channel-count=2, csd-1=java.nio.ByteArrayBuffer[position=0,limit=3796,capacity=3796], mime=audio/vorbis, csd-0=java.nio.ByteArrayBuffer[position=0,limit=30,capacity=30], sample-rate=44100}
10-11 20:21:21.486  22099-22204/? I/OMXClient﹕ Using client-side OMX mux.
10-11 20:21:21.486  22099-22204/? E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
10-11 20:21:21.496  22099-22133/? D/WebAudioMediaCodec﹕ output format changed to {sample-rate=44100, channel-count=2, what=1869968451, mime=audio/raw}
10-11 20:21:21.496  22099-22133/? D/WebAudioMediaCodec﹕ Final:  Rate: 44100 Channels: 2 Mime: audio/vorbis Duration: 2384625 microsec
10-11 20:21:21.636  22099-22132/? D/WebAudioMediaCodec﹕ Initial: Tracks: 1 Format: {durationUs=5000000, channel-count=2, csd-1=java.nio.ByteArrayBuffer[position=0,limit=3796,capacity=3796], mime=audio/vorbis, csd-0=java.nio.ByteArrayBuffer[position=0,limit=30,capacity=30], sample-rate=44100}
10-11 20:21:21.636  22099-22207/? I/OMXClient﹕ Using client-side OMX mux.
10-11 20:21:21.636  22099-22207/? E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
10-11 20:21:21.646  22099-22132/? D/WebAudioMediaCodec﹕ output format changed to {sample-rate=44100, channel-count=2, what=1869968451, mime=audio/raw}
10-11 20:21:21.646  22099-22132/? D/WebAudioMediaCodec﹕ Final:  Rate: 44100 Channels: 2 Mime: audio/vorbis Duration: 5000000 microsec
10-11 20:21:21.906  22099-22133/? D/WebAudioMediaCodec﹕ Initial: Tracks: 1 Format: {durationUs=3787755, channel-count=2, csd-1=java.nio.ByteArrayBuffer[position=0,limit=3796,capacity=3796], mime=audio/vorbis, csd-0=java.nio.ByteArrayBuffer[position=0,limit=30,capacity=30], sample-rate=44100}
10-11 20:21:21.906  22099-22210/? I/OMXClient﹕ Using client-side OMX mux.
10-11 20:21:21.906  22099-22210/? E/OMXMaster﹕ A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
10-11 20:21:21.916  22099-22133/? D/WebAudioMediaCodec﹕ output format changed to {sample-rate=44100, channel-count=2, what=1869968451, mime=audio/raw}
10-11 20:21:21.916  22099-22133/? D/WebAudioMediaCodec﹕ Final:  Rate: 44100 Channels: 2 Mime: audio/vorbis Duration: 3787755 microsec
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1640 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0083
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1635 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x008e
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1655 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0099
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1652 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x00ab
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1645 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x00bd
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1642 (common_google_play_services_invalid_account_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x00e7
10-11 20:21:22.416  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1652 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.416  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0106
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1649 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0007
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1639 (common_google_play_services_install_text_tablet) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0018
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1638 (common_google_play_services_install_text_phone) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x001f
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1634 (common_google_play_services_enable_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0026
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1654 (common_google_play_services_update_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x002d
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1651 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0034
10-11 20:21:22.426  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1644 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.426  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x003b
10-11 20:21:22.426  22099-22150/? D/Admob﹕ bottom-center
10-11 20:21:22.426  22099-22150/? D/Admob﹕ SMART_BANNER
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1641 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0042
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1650 (common_google_play_services_unsupported_date_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0049
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1637 (common_google_play_services_install_button) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x000f
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1633 (common_google_play_services_enable_button) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0016
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1653 (common_google_play_services_update_button) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x001d
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1649 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0007
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1646 (common_google_play_services_notification_needs_installation_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.436  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x000e
10-11 20:21:22.436  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1647 (common_google_play_services_notification_needs_update_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0015
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1643 (common_google_play_services_needs_enabling_title) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x001c
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1651 (common_google_play_services_unsupported_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0023
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1644 (common_google_play_services_network_error_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x002a
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1641 (common_google_play_services_invalid_account_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0031
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1650 (common_google_play_services_unsupported_date_text) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0038
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1649 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x000d
10-11 20:21:22.446  22099-22099/? W/dalvikvm﹕ VFY: unable to resolve static field 1648 (common_google_play_services_notification_ticker) in Lcom/google/android/gms/R$string;
10-11 20:21:22.446  22099-22099/? D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0005
10-11 20:21:22.446  22099-22099/? I/dalvikvm﹕ DexOpt: unable to optimize static field ref 0x0664 at 0x25 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.showErrorNotification
10-11 20:21:22.446  22099-22099/? E/GooglePlayServicesUtil﹕ The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
10-11 20:21:22.456  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 325K, 2% free 17365K/17640K, paused 2ms+3ms, total 28ms
10-11 20:21:22.496  22099-22099/? V/WebViewChromiumFactoryProvider﹕ Binding Chromium to main looper Looper (main, tid 1) {42f35918}
10-11 20:21:22.496  22099-22099/? I/LibraryLoader﹕ Expected native library version number "",actual native library version number ""
10-11 20:21:22.496  22099-22099/? I/chromium﹕ [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
10-11 20:21:22.496  22099-22099/? I/BrowserStartupController﹕ Initializing chromium process, renderers=0
10-11 20:21:22.506  22099-22218/? D/dalvikvm﹕ DexOpt: --- BEGIN 'ads-1196147095.jar' (bootstrap=0) ---
10-11 20:21:22.516  22099-22099/? E/AudioManagerAndroid﹕ BLUETOOTH permission is missing!
10-11 20:21:22.586  22099-22099/? I/Ads﹕ Starting ad request.
10-11 20:21:22.586  22099-22099/? I/Ads﹕ Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
10-11 20:21:22.586  22099-22099/? E/GooglePlayServicesUtil﹕ The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
10-11 20:21:22.596  22232-22232/? D/dalvikvm﹕ DexOpt: load 2ms, verify+opt 5ms, 175996 bytes
10-11 20:21:22.596  22099-22099/? I/Ads﹕ Starting ad request.
10-11 20:21:22.596  22099-22099/? I/Ads﹕ Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
10-11 20:21:22.606  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 352K, 3% free 17417K/17804K, paused 5ms+1ms, total 18ms
10-11 20:21:22.606  22099-22218/? D/dalvikvm﹕ DexOpt: --- END 'ads-1196147095.jar' (success) ---
10-11 20:21:22.606  22099-22218/? D/dalvikvm﹕ DEX prep '/data/data/com.sajmons.balloonpop/cache/ads-1196147095.jar': unzip in 0ms, rewrite 107ms
10-11 20:21:22.626  22099-22162/? E/MediaResourceGetter﹕ File does not exist.
10-11 20:21:22.626  22099-22162/? E/MediaResourceGetter﹕ Unable to configure metadata extractor
10-11 20:21:22.646  22099-22148/? E/chromium﹕ [ERROR:webmediaplayer_android.cc(341)] Not implemented reached in virtual void content::WebMediaPlayerAndroid::setRate(double)
10-11 20:21:22.646     751-1028/? I/MediaFocusControl﹕ AudioFocus  requestAudioFocus() from [email protected][email protected]
10-11 20:21:22.646    1671-1723/? V/Avrcp﹕ New genId = 23, clearing = 1
10-11 20:21:22.666  22099-22099/? E/MediaPlayer﹕ Should have subtitle controller already set
10-11 20:21:22.676  22099-22099/? D/MediaPlayer﹕ getMetadata
10-11 20:21:22.676      184-823/? D/audio_hw_primary﹕ select_devices: out_snd_device(2: speaker) in_snd_device(0: )
10-11 20:21:22.676    184-22262/? E/AudioSink﹕ received unknown event type: 1 inside CallbackWrapper !
10-11 20:21:22.736    184-22262/? E/AudioSink﹕ received unknown event type: 1 inside CallbackWrapper !
10-11 20:21:23.616    7621-7621/? I/chromium﹕ [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
10-11 20:21:23.616    7621-7621/? I/chromium﹕ [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
10-11 20:21:23.906    7621-7621/? I/chromium﹕ [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
10-11 20:21:23.906    7621-7621/? I/chromium﹕ [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
10-11 20:21:25.026  22099-22242/? W/chromium﹕ [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
10-11 20:21:25.096  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 263K, 2% free 17546K/17844K, paused 3ms+1ms, total 41ms
10-11 20:21:25.196  22099-22312/? I/chromium﹕ [INFO:simple_index_file.cc(437)] Simple Cache Index is being restored from disk.
10-11 20:21:25.446  22099-22099/? I/Ads﹕ Scheduling ad refresh 60000 milliseconds from now.
10-11 20:21:25.446  22099-22099/? I/Ads﹕ Ad finished loading.
10-11 20:21:25.446  22099-22099/? D/MyBannerViewListener﹕ onAdLoaded
10-11 20:21:25.456  22099-22314/? W/ActivityThread﹕ ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
10-11 20:21:25.476  22099-22099/? I/chromium﹕ [INFO:CONSOLE(1044)] "processMessage failed: Error: TypeError: object is not a function", source: file:///android_asset/www/cordova.js (1044)
10-11 20:21:25.476  22099-22099/? I/chromium﹕ [INFO:CONSOLE(1045)] "processMessage failed: Stack: TypeError: object is not a function
            at file:///android_asset/www/plugins/com.cranberrygame.phonegap.plugin.ad.admob/www/admob.js:55:11
            at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:292:54)
            at processMessage (file:///android_asset/www/cordova.js:1039:21)
            at Function.androidExec.processMessages (file:///android_asset/www/cordova.js:1076:13)
            at pollOnce (file:///android_asset/www/cordova.js:944:17)
            at pollOnceFromOnlineEvent (file:///android_asset/www/cordova.js:939:5)", source: file:///android_asset/www/cordova.js (1045)
10-11 20:21:25.476  22099-22099/? I/chromium﹕ [INFO:CONSOLE(1046)] "processMessage failed: Message: S01 Admob846431192 sonBannerAdLoaded", source: file:///android_asset/www/cordova.js (1046)
10-11 20:21:25.916  22099-22103/? D/dalvikvm﹕ GC_CONCURRENT freed 260K, 2% free 17705K/18044K, paused 3ms+2ms, total 20ms
10-11 20:21:26.026  22099-22099/? I/Ads﹕ Ad finished loading.
10-11 20:21:26.026  22099-22099/? D/MyInterstitialViewListener﹕ onAdLoaded
10-11 20:21:26.036  22099-22099/? I/chromium﹕ [INFO:CONSOLE(1044)] "processMessage failed: Error: TypeError: object is not a function", source: file:///android_asset/www/cordova.js (1044)
10-11 20:21:26.036  22099-22099/? I/chromium﹕ [INFO:CONSOLE(1045)] "processMessage failed: Stack: TypeError: object is not a function
            at file:///android_asset/www/plugins/com.cranberrygame.phonegap.plugin.ad.admob/www/admob.js:87:11
            at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:292:54)
            at processMessage (file:///android_asset/www/cordova.js:1039:21)
            at Function.androidExec.processMessages (file:///android_asset/www/cordova.js:1076:13)
            at pollOnce (file:///android_asset/www/cordova.js:944:17)
            at pollOnceFromOnlineEvent (file:///android_asset/www/cordova.js:939:5)", source: file:///android_asset/www/cordova.js (1045)
10-11 20:21:26.036  22099-22099/? I/chromium﹕ [INFO:CONSOLE(1046)] "processMessage failed: Message: S11 Admob846431191 sonFullScreenAdPreloaded", source: file:///android_asset/www/cordova.js (1046)
10-11 20:21:26.976    7621-7621/? I/chromium﹕ [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
10-11 20:21:26.976    7621-7621/? I/chromium﹕ [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
B
26
S
6
Posts: 6
Reputation: 2,134

Post » Sun Oct 12, 2014 3:20 am

@sajmons

No,

See doc/readme.,txt in googleplay_r182_cranberrygame_1.0.9.zip for instruction.

Phonegap Game plugin (com.cranberrygame.phonegap.plugin.game, SDK version) is different from this plugin (c2 official plugin's modified plugin to work, html5 version).

If you want to use Phonegap Game plugin (sdk version), go to this: viewtopic.php?f=153&t=109586&p=800966#p800966

Thanks
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 » Thu Oct 23, 2014 8:45 am

I've just notice that this has been included in the last beta. Just want to thank you guys, I really need this. I'll test it in the next few weeks. Hope it works fine :D
B
10
S
2
G
1
Posts: 27
Reputation: 1,159

Post » Thu Oct 23, 2014 11:44 am

@IIDanII

You are welcome. :D

I also wish official Google Play plugin works well.

Thanks
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

Previous

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest