Giter Site home page Giter Site logo

Comments (10)

lostintangent avatar lostintangent commented on May 13, 2024

@dylanvdmerwe That's bizarre! That is definitely not coming from the CodePush plugin, and it almost looks like the Cordova bridge is asking for a response to every native method call made from JS. Could you show an example of the CLI commands you are running to release an update to CodePush?

from cordova-plugin-code-push.

dylanvdmerwe avatar dylanvdmerwe commented on May 13, 2024

I think I may have used the android www folder for an iOS update. Would this make a difference? Will try and see if this is the issue later.

from cordova-plugin-code-push.

lostintangent avatar lostintangent commented on May 13, 2024

Yeah that would definitely make a difference :) This issue is likely a sign of a "bad" cordova.js file and/or bridge config, so if you accidentally sent an Android update to an iOS app, that would be a likely cause of this problem.

from cordova-plugin-code-push.

dylanvdmerwe avatar dylanvdmerwe commented on May 13, 2024

Yeah this issue is resolved with a correct iOS update file. Not one from Android.

from cordova-plugin-code-push.

lostintangent avatar lostintangent commented on May 13, 2024

Awesome! Thanks for confirming.

from cordova-plugin-code-push.

alizahid avatar alizahid commented on May 13, 2024

@dylanvdmerwe What do you mean by using the Android www folder for an iOS update? I'm getting the same alerts. I only have one www folder for both apps. And only one CodePush app for both platforms. @lostintangent

from cordova-plugin-code-push.

dylanvdmerwe avatar dylanvdmerwe commented on May 13, 2024

@alizahid you cannot do a single codepush to both platforms - they are different. You need one for iOS and one for Android.

from cordova-plugin-code-push.

alizahid avatar alizahid commented on May 13, 2024

Oh, I saw in the documentation that you can choose multiple platforms for one app, like:

code-push release-cordova APP_NAME ios
code-push release-cordova APP_NAME android

I do remember a recommendation to not do that, though.

@dylanvdmerwe So, you're suggesting I create multiple CodePush apps and then I can release from the same www folder?

from cordova-plugin-code-push.

sergey-akhalkov avatar sergey-akhalkov commented on May 13, 2024

@alizahid, could you please look at #189?
We've discussed the same exception and for now there is merged microsoft/code-push#373 PR with docs updates.

from cordova-plugin-code-push.

alizahid avatar alizahid commented on May 13, 2024

@sergey-akhalkov Thanks!

from cordova-plugin-code-push.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.