My Cocoon IO feedback (vs IntelXDK).

0 favourites
From the Asset Store
Shark.io
$49 USD
Shark.io in the sea full of killer sharks, Sunday of life is the game. Who knows what is happening under the sea?
  • So I was "forced" to try CooconIO due to the issue I've described here viewtopic.php?f=146&t=168503. Intel said that it will take at least few weeks to fix it and I don't really wanted to wait that time. Before trying to compile my game with CLI 5.1.1 manually I decided to try the CooconIO and I thought I'd share my thoughts.

    Not at the end but at the beginning I will answer on the most important questions.

    Should you leave IntelXDK and migrate all your apps to CooconIO?

    The short answer is - no.

    Do I recommend using CooconIO?

    The short answer is - yes.

    I will post questions and answers for the parts I really wanted a true answer.

    Does CooconIO have better performance than IntelXDK (WebView vs Crosswalk vs Canvas+)?

    WebView - I saw somewere Ashley was recommending it if you are targeting devices with Android 5.0+. Well I don't recommend it. I've tested it on SGS4 and Xperia Z1 with two games and for both games performace was worse then with the two following technologies.

    Crosswalk - is ok. It's not a rocket speed technology and it's not bug-less but it is really fine and if you optimize your game correctly, Crosswalk can give you very decent performance. I've managed to build a game with up to ~500 moving objects which is running with 55-60 FPS on SGS4.

    Canvas+ (CooconIO) - I think it gave me slightly better performance... but really "I think". If the performance is better then it's really not a big difference but rather tiny. Anyway it is ok as Crosswalk.

    Can I update my game on Google Play with CooconIO APK if I the game was wrapped with IntelXDK earlier?

    No you can't. There are two reasons (at least I know only two). First of all CooconIO has no option to edit app version (this is actually a good thing, cause CooconIO does it for you automatically, where with IntelXDK you had to remember to increment the ID before you publish your APK). And the second reason is that there are different sign certificates and Google Play refuses to accept the APK with different certificate.

    So if you are on alpha/beta stage, you can always remove the app from Google Play and create it again. If your app is released to production already then it's too late. At least I don't know the way to do so.

    Does AdMob and IAP work with CooconIO?

    Yes. However you will have to use their plugins. It's absolutely not a big deal. You simply download their C2 plugins and implement it the same way you do it with C2 AdMob and CordovaIAP plugin. Worth to mention that CooconIO works with both managable and non-managable products for IAP and both banners and interstitals for Ads.

    Is it hard to switch to CooconIO?

    I really thought I'll spend much more time to understand everything but I managed to get everything in one day. However I folowed this ebook https://www.scirra.com/store/ebooks/qui ... ebook-1893 and I recommend you to buy it as well if you want to work with CooconIO. It's very cheap and explains a lot.

    APK size.

    IntelXDK export is around 22MB bigger then CooconIO export. This is simply because Crosswalk has to be added to the APK. Crosswalk is a kind of a mini web browser which runs your game, so it's a separate program inside your game.

    Problems I've encountered while using CooconIO.

    Sounds. - In general the basic usage of sound and music works fine. However some functionalities does not work like "silent" mode. But there are always some work-arounds.

    Permissions. By default CooconIO adds a lot of permission request to the app like Geolocalization, contacts, SMS etc. So a lot of stuff which 99% of the games won't use anyway. However I've manage to fix that very fast simply by removing config.xml entries in CooconIO web app. So simply saying - just select and click "delete".

    Android API requirements. This was very important option for me and I couldn't find it. There is no built-in option in CooconIO web app to set it up. But again I've just had to add some entries to config.xml and it worked like a charm. Here are the entries you need to add if you wan't to set up min and target Android API.

    <preference name="android-minSdkVersion" value="19"/>

    <preference name="android-targetSdkVersion" value="21"/>

    Simply paste them next to other <preference /> nodes.

    -= Wrap up =-

    To summarise all of my thoughts. I would say that CooconIO is really nice and for the heavy or simply commercial projects I will use CooconIO because it probably have some better performance. But CooconIO gives you possibility to add only 2 apps with the free account. Then you have to pay around $120 annually (monthly payment available as well). So if you have small app which is not heavy and not commercial - I recommend IntelXDK because it's free and can handle small/not heavy games very well with Crosswalk. Otherwise if you have serious project I recommend CooconIO.

    And the last word about the very controversial thing which is the splash screen. It is true that CooconIO adds their own splash screen at the start of the game. To me personally it is not a problem at all. First of all it looks really decent. Second thing is that I do like to give credits to everyone who helped me make a game. To people who gave CC3 assets etc. Why wouldn't I give a credit to someone who wraps my game? <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • ... Can I update my game on Google Play with CooconIO APK if I the game was wrapped with IntelXDK earlier?

    No you can't. There are two reasons (at least I know only two). First of all CooconIO has no option to edit app version (this is actually a good thing, cause CooconIO does it for you automatically, where with IntelXDK you had to remember to increment the ID before you publish your APK). And the second reason is that there are different sign certificates and Google Play refuses to accept the APK with different certificate.

    So if you are on alpha/beta stage, you can always remove the app from Google Play and create it again. If your app is released to production already then it's too late. At least I don't know the way to do so.

    I guess (only guess, don't know) it may be possible if you can import your own certificate to CocoonIO. You can ask Intel to give you the certificate that is used to build your game. If possible, then import it to CocoonIO.

  • I guess (only guess, don't know) it may be possible if you can import your own certificate to CocoonIO. You can ask Intel to give you the certificate that is used to build your game. If possible, then import it to CocoonIO.

    If they give the certificate then true - it might be posible cause CocoonIO's app version code is higher than IntelXDK's.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • FYI: As I've mentioned before CocoonIO does not set the min nor target API by default. Now this might be the problem for later updates if you don't do it yourself with the first APK. CocoonIO is based on Cordova and Cordova by default sets target API to the maximum possible which currently is API 23 (Android 6.0). So when you publish your game even for Alpha tests with target API 23 you will not be allowed to degrade it later. Google simply won't allow you to do it.

    IntelXDK sets it by default to 17 which is a plus for Intel at the moment.

  • Ok... update to the Permission section... I've removed them from the XML, but CocoonIO adds them anyway and my game requires vibration, location, phone calls identity etc... this is really REALLY bad. In my case unacceptable. Giand disadvantage for CocoonIO.

    On CocoonIO forum they say location is required for adMob (?!?!) cmon... tell that to IntelXDK. Gosh I have such a bad timing with releasing my game. Intel XDK is bugged and CocoonIO makes my game a "spy" -_-.

  • Hi <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Just came across your post. I'll help to clear it up a little bit.

    [quote:3mlow85b]

    Can I update my game on Google Play with CooconIO APK if I the game was wrapped with IntelXDK earlier?

    No you can't. There are two reasons (at least I know only two). First of all CooconIO has no option to edit app version (this is actually a good thing, cause CooconIO does it for you automatically, where with IntelXDK you had to remember to increment the ID before you publish your APK). And the second reason is that there are different sign certificates and Google Play refuses to accept the APK with different certificate.

    So if you are on alpha/beta stage, you can always remove the app from Google Play and create it again. If your app is released to production already then it's too late. At least I don't know the way to do so.

    Actually you can edit the App Version <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> Please see here: https://shatter-box.com/document/apk-version-code/

    [quote:3mlow85b]

    Does AdMob and IAP work with CooconIO?

    Yes. However you will have to use their plugins. It's absolutely not a big deal. You simply download their C2 plugins and implement it the same way you do it with C2 AdMob and CordovaIAP plugin. Worth to mention that CooconIO works with both managable and non-managable products for IAP and both banners and interstitals for Ads.

    You also can use the built-in admob plugin by scirra and the Cordova AdMob plugin by cranberrygame instead. But yes, to avoid any conflicts it's recommended to use the offical plugin. But you can use AdMob and mopub ID's with it. Moreover you can use any network (chartboost, ...) aslong you have added it to your mopub dashboard.

    The same applies to the CocoonInApp plugin <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> You also can use the one provided by cranberrygame (like all other cordova plugins).

    [quote:3mlow85b]

    Is it hard to switch to CooconIO?

    I really thought I'll spend much more time to understand everything but I managed to get everything in one day. However I folowed this ebook https://www.scirra.com/store/ebooks/qui ... ebook-1893 and I recommend you to buy it as well if you want to work with CooconIO. It's very cheap and explains a lot.

    Thank you very much for linking my ebook! I really appreciate it that it helped you <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Thank you!

    With all other points I have to agree with you. As far as I know ludei works on it to exclude some permissions, but I guess the most will remain, sorry for that.

    Let me know if you have any questions, I'll give my best to help you out!

    Regards

    Andy

  • With all other points I have to agree with you. As far as I know ludei works on it to exclude some permissions, but I guess the most will remain, sorry for that.

    Let me know if you have any questions, I'll give my best to help you out!

    I know they work on it and that some of them will remain. I read a bit on their forum to get familiar what is going on there. CocoonIO performs very well as I wrote before, but IMO permissions are the big issue there. I know from my experience that many people pay attention to the permissions they grant to apps. And giving permission for Location and Calls is highly suspicious. Even though Ludei explains why those are needed and we (developers) understand... there is still a point of view of the customer who has no idea "why" and he obviously doesn't care. It's suspicious - it's goodbye.

    AndreasR thank you for all the clarifications. It's good to undestand as much as possible.

  • For Android I highly recommend XDK.

    CocoonIO's biggest flaw are all the ridiculous permissions it adds. Do you know how anti-gamer that is? People see you need phone record, geo-location and it's an auto red-flag against your app. Like adding a huge barrier, which is something you never want as a small time indie.

    These permissions should be optional, added when plugins use them, not added by default "in case the plugins need them".

    For iOS, I do recommend CocoonIO, the Webview+ on iOS8+ is amazingly fast.

  • Allright so I wanted to give it a try and wrap with CocoonIO but with Cordova IAP plugin and native C2 AdMob plugin. To see how many permission will stay there.

    So I have removed (uninstalled) Coccon plugins and added custom plugins.

    So as a result I have the following new entries in config.xml:

    <cocoon:plugin name="https://github.com/cranberrygame/phonegap-plugin-ad-admob.git"/>
    <cocoon:plugin name="https://github.com/cranberrygame/cordova-plugin-payment-iap.git"/>[/code:2mxcj5ht]
    
    Tried to compile and recieved this error:
    
    [code:2mxcj5ht]Fetching plugin "https://github.com/cranberrygame/phonegap-plugin-ad-admob.git" via git clone
    Repository "https://github.com/cranberrygame/phonegap-plugin-ad-admob.git" checked out to git ref "master".
    Installing "com.cranberrygame.phonegap.plugin.ad.admob" for android
    Notice: com.google.playservicesssz@19.0.0 has been automatically converted to cordova-plugin-googleplayservices and fetched from npm. This is due to our old plugins registry shutting down.
    Fetching plugin "cordova-plugin-googleplayservices@19.0.0" via npm
    Failed to install 'com.cranberrygame.phonegap.plugin.ad.admob':CordovaError: Failed to fetch plugin cordova-plugin-googleplayservicesssz@19.0.0 via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name/version/URL.
    Error: version not found: cordova-plugin-googleplayservicesssz@19.0.0
    at opt/sdks/cordova-6.0.0/node_modules/cordova-lib/src/plugman/fetch.js:146:33
    at _rejected (opt/sdks/cordova-6.0.0/node_modules/q/q.js:797:24)
    at opt/sdks/cordova-6.0.0/node_modules/q/q.js:823:30
    at Promise.when (opt/sdks/cordova-6.0.0/node_modules/q/q.js:1035:31)
    at Promise.promise.promiseDispatch (opt/sdks/cordova-6.0.0/node_modules/q/q.js:741:41)
    at opt/sdks/cordova-6.0.0/node_modules/q/q.js:557:44
    at flush (opt/sdks/cordova-6.0.0/node_modules/q/q.js:108:17)
    at nextTickCallbackWith0Args (node.js:453:9)
    at process._tickCallback (node.js:382:13)
    Error: Failed to fetch plugin cordova-plugin-googleplayservicesssz@19.0.0 via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name/version/URL.
    Error: version not found: cordova-plugin-googleplayservices@19.0.0[/code:2mxcj5ht]
    
    @AndreasR could you provide an example how to use Cranberrygame's plugins please?
  • Allright so I wanted to give it a try and wrap with CocoonIO but with Cordova IAP plugin and native C2 AdMob plugin. To see how many permission will stay there.

    So I have removed (uninstalled) Coccon plugins and added custom plugins.

    So as a result I have the following new entries in config.xml:

    <cocoon:plugin name="https://github.com/cranberrygame/phonegap-plugin-ad-admob.git"/>
    <cocoon:plugin name="https://github.com/cranberrygame/cordova-plugin-payment-iap.git"/>[/code:jtx5g1s3]
    
    Tried to compile and recieved this error:
    
    [code:jtx5g1s3]Fetching plugin "https://github.com/cranberrygame/phonegap-plugin-ad-admob.git" via git clone
    Repository "https://github.com/cranberrygame/phonegap-plugin-ad-admob.git" checked out to git ref "master".
    Installing "com.cranberrygame.phonegap.plugin.ad.admob" for android
    Notice: com.google.playservicesssz@19.0.0 has been automatically converted to cordova-plugin-googleplayservices and fetched from npm. This is due to our old plugins registry shutting down.
    Fetching plugin "cordova-plugin-googleplayservices@19.0.0" via npm
    Failed to install 'com.cranberrygame.phonegap.plugin.ad.admob':CordovaError: Failed to fetch plugin cordova-plugin-googleplayservicesssz@19.0.0 via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name/version/URL.
    Error: version not found: cordova-plugin-googleplayservicesssz@19.0.0
    at opt/sdks/cordova-6.0.0/node_modules/cordova-lib/src/plugman/fetch.js:146:33
    at _rejected (opt/sdks/cordova-6.0.0/node_modules/q/q.js:797:24)
    at opt/sdks/cordova-6.0.0/node_modules/q/q.js:823:30
    at Promise.when (opt/sdks/cordova-6.0.0/node_modules/q/q.js:1035:31)
    at Promise.promise.promiseDispatch (opt/sdks/cordova-6.0.0/node_modules/q/q.js:741:41)
    at opt/sdks/cordova-6.0.0/node_modules/q/q.js:557:44
    at flush (opt/sdks/cordova-6.0.0/node_modules/q/q.js:108:17)
    at nextTickCallbackWith0Args (node.js:453:9)
    at process._tickCallback (node.js:382:13)
    Error: Failed to fetch plugin cordova-plugin-googleplayservicesssz@19.0.0 via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name/version/URL.
    Error: version not found: cordova-plugin-googleplayservices@19.0.0[/code:jtx5g1s3]
    
    @AndreasR could you provide an example how to use Cranberrygame's plugins please?
    

    Hey there,

    What plugins are you using that makes your game have a lot of Permissions?

    I have Google Play Services and IAP but my permissions aren't that outrageous. I think.

  • None except IAP and AdMob.

  • Sure, I'll work out some capx example with cranberrygame 's plugin

    Just give me a day or two.

    I keep you posted.

    Thanks for giving it a second chance

    Regards

    Andy

  • For Android I highly recommend XDK.

    CocoonIO's biggest flaw are all the ridiculous permissions it adds. Do you know how anti-gamer that is? People see you need phone record, geo-location and it's an auto red-flag against your app. Like adding a huge barrier, which is something you never want as a small time indie.

    These permissions should be optional, added when plugins use them, not added by default "in case the plugins need them".

    For iOS, I do recommend CocoonIO, the Webview+ on iOS8+ is amazingly fast.

    Actually, I prefer to build ipas rather than apks in the XDK. The iOS versions of my games run smoothly on my iPhone 6 whereas my apks having a serious lack of performance in several devices. I think you should give it a try.

  • > For Android I highly recommend XDK.

    >

    > CocoonIO's biggest flaw are all the ridiculous permissions it adds. Do you know how anti-gamer that is? People see you need phone record, geo-location and it's an auto red-flag against your app. Like adding a huge barrier, which is something you never want as a small time indie.

    >

    > These permissions should be optional, added when plugins use them, not added by default "in case the plugins need them".

    >

    > For iOS, I do recommend CocoonIO, the Webview+ on iOS8+ is amazingly fast.

    >

    Actually, I prefer to build ipas rather than apks in the XDK. The iOS versions of my games run smoothly on my iPhone 6 whereas my apks having a serious lack of performance in several devices. I think you should give it a try.

    You're right. It's much easier to optimize a compiler for iOS due to the fact that there are only few devices (not like androids, there are so many diffrent devices with diffrent hardware).

    Also apple's iOS is perfectly optimized to their hardware, so the system (iOS) consumes less hardware power than android.

    I'm only developing android games so far. At the moment I don't to spend the annual fee for the iTunes Developer Account...

  • Actually, I prefer to build ipas rather than apks in the XDK. The iOS versions of my games run smoothly on my iPhone 6 whereas my apks having a serious lack of performance in several devices. I think you should give it a try.

    I haven't used XDK for iOS so I didn't know about it.

    Do you use the webview+ plugin for XDK to activate the new Safari iOS8+ performance enhancements?

    I just did a test build on XDK, using the Intel App Preview, over Wi-Fi, getting much worse performance than straight C2 preview over Wi-Fi with Safari.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)