Hi,
I was curious if there is a way to exclude plugins based on the build, in this case HTML5 builds.
-dev
Hi,
I was curious if there is a way to exclude plugins based on the build, in this case HTML5 builds.
-dev
You should be able to just specify the platforms that you do want to support:
["plugin.somePlugin"] = { publisherId = "corona.labs", supportedPlatforms ={ iphone=true, android=true,} },
Edit: in the past I’ve had problems if I set platformIDontWant=false (e.g. iphone=false). Instead I just omit that platform entirely, and only list the ones that I do want to include.
Hi,
Very cool. Thank you for sharing this info.
-dev
@alan that is what I do also. But is there a tag for hml5 builds? Also does the platform call inside of lua return html5 as the platform so that you don’t initiate the library that is not available?
Adrian
Yes, the platform call returns “html5”:
isHTML5 = system.getInfo("platform") == "html5"
I don’t know if you can include any plugins on html5 yet, but the settings in my earlier post will let you exclude html5 by only specifying iphone/android.
Exactly what I need it for. Thanks.
-dev
You should be able to just specify the platforms that you do want to support:
["plugin.somePlugin"] = { publisherId = "corona.labs", supportedPlatforms ={ iphone=true, android=true,} },
Edit: in the past I’ve had problems if I set platformIDontWant=false (e.g. iphone=false). Instead I just omit that platform entirely, and only list the ones that I do want to include.
Hi,
Very cool. Thank you for sharing this info.
-dev
@alan that is what I do also. But is there a tag for hml5 builds? Also does the platform call inside of lua return html5 as the platform so that you don’t initiate the library that is not available?
Adrian
Yes, the platform call returns “html5”:
isHTML5 = system.getInfo("platform") == "html5"
I don’t know if you can include any plugins on html5 yet, but the settings in my earlier post will let you exclude html5 by only specifying iphone/android.
Exactly what I need it for. Thanks.
-dev