Contruct 2 project - black screen

  • Cocoon Version:

  • Basic description of the problem:
    black screen after Cocoon logo
    Error in Dev app:
    JavaScript Exception ( tag: ‘load’): TypeError: cannot read property ‘configure’ of undefined
    at pluginproto.instance.instanceProto.onCreate (c2runtime.js:15285:23)
    at Runtime.loadProject (c2runtime.js:4454:14)
    at XMLHttprequest.xhr.onload (c2runtime.js:3686:12)

I’m using the Cocoon plugins for C2 that allow the “rewarded video” events
C2 version: R265
Physics engine is set to “Box2D web” , loader to “percentage text”

  • Webview engine(s):

  • Used plugins (if relevant):
    Admob native Ads android - Google Play Games Social API - Android Canvasplus

My XML in Cocoon (with edited ADS & SDK version number for the compilation to work)

	<platform name="android">
		<allow-intent href="market:*"/>
		<preference name="enabled" value="true"/>
	<platform name="ios">
		<allow-intent href="itms:*"/>
		<allow-intent href="itms-apps:*"/>
	<preference name="Orientation" value="landscape"/>
	<preference name="Fullscreen" value="true"/>
	<plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/>
	<plugin name="cocoon-plugin-social-android-googleplaygames" spec="*">
		<variable name="APP_ID" value="179544219595"/>
	<plugin name="com.ludei.canvasplus.ios" spec="*"/>
	<plugin name="" spec="*"/>
	<preference name="cocoon-version" value="2.2.0"/>
	<preference name="android-targetSdkVersion" value="26"/>
	<preference name="android-minSdkVersion" value="20"/>

Thanks for any help

can you share a capx example showing that problem?

Thanks a lot!
@andy_reitberger here is a test capx with same fault

google remove 5 of my game off play store and i still cant complie them with new gpr… law kmt

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.