Giter Club home page Giter Club logo

Comments (8)

lostintangent avatar lostintangent commented on May 22, 2024

Thanks for reporting your issue! Could you elaborate a little bit on the exact problem you're experiencing? Are you having trouble after installing and configuring the plugin, or are you not seeing updates being discovered/installed?

from cordova-plugin-code-push.

gurindernarang avatar gurindernarang commented on May 22, 2024

Hey thanks for responding back,

To elaborate, we have a demo app which gives an alert on $ionicPlatform.ready(). but after installing code-push plugin that alert box comes up when i minimize/switch the app (by double tapping home button) in iOS, while the same works fine in android build.

and to provide more insight... while having app on auto reload.. we get an error like this (in console)
" deviceready has not fired after 5 seconds.Channel not fired: onFileSystemPathsReady "

from cordova-plugin-code-push.

lostintangent avatar lostintangent commented on May 22, 2024

Hmm, that's really strange. Could you confirm that you're running the latest version of the plugin just so we can make sure we are testing the same bits as you? Could you also confirm that you simply added the plugin before seeing this behavior? You didn't add the deployment key to be config.xml or add a call to the CodePush API in your JS code?

Additionally, if you remove the CodePush plugin from your app does this issue go away? I haven't been able to repro it unfortunately, and it would just be useful to narrow down that the CodePush plugin is in fact causing this issue.

One other thing that might be worth trying it to remove and reads the iOS platform from your app, to force all of the plugins to be updated. Sometimes there can be conflicts between plugins, their dependencies and the version of the platforms, and we've seen folks get unblocked by simply reading a platform to their app.

We'll look into this further tomorrow, but in the meantime, it would be really helpful to get a little more detail about your setup. Thanks!

from cordova-plugin-code-push.

dlebu avatar dlebu commented on May 22, 2024

@gurindernarang Could you also share the iOS platform version you are using and the list of public plugins you added to the application?

from cordova-plugin-code-push.

dlebu avatar dlebu commented on May 22, 2024

@gurindernarang I tried to reproduce your issue today without success. I created an ionic application that displays a dialog on ionicPlatform.ready. The only case when the dialog was displayed on switching to the app was immediately after an update was installed using InstallMode.ON_NEXT_RESUME, which is expected. Is it possible that you are using InstallMode.ON_NEXT_RESUME instead of InstallMode.ON_NEXT_RESTART? I am closing the issue for now, please feel free to continue the conversation or to reopen it if you still think something is not right with the plugin behavior.

from cordova-plugin-code-push.

gurindernarang avatar gurindernarang commented on May 22, 2024

Sorry for such a delayed response.

The plugin is working fine, its actually my bad, was missing "gap:(which
is required on iOS)" and "data:" inside 'Content-Security-Policy' meta
tag in index.html

Now it's working fine on iOS and Android. Thanks for your concern.

On 5 January 2016 at 00:27, Daniel [email protected] wrote:

@gurindernarang https://github.com/gurindernarang I tried to reproduce
your issue today without success. I created an ionic application that
displays a dialog on ionicPlatform.ready. The only case when the dialog
was displayed on switching to the app was immediately after an update was
installed using InstallMode.ON_NEXT_RESUME, which is expected. Is it
possible that you are using InstallMode.ON_NEXT_RESUME instead of
InstallMode.ON_NEXT_RESTART? I am closing the issue for now, please feel
free to continue the conversation or to reopen it if you still think
something is not right with the plugin behavior.


Reply to this email directly or view it on GitHub
#49 (comment)
.

from cordova-plugin-code-push.

dlebu avatar dlebu commented on May 22, 2024

I updated the CSP guidelines to avoid confusion in the future. Thanks for using CodePush and please keep the feedback coming.

from cordova-plugin-code-push.

gurindernarang avatar gurindernarang commented on May 22, 2024

Thanks.

On 6 January 2016 at 22:24, Daniel [email protected] wrote:

I updated the CSP guidelines to avoid confusion in the future. Thanks for
using CodePush and please keep the feedback coming.


Reply to this email directly or view it on GitHub
#49 (comment)
.

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.