Comments (8)
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.
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.
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.
@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.
@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.
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.
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.
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)
- Can this plugin pass the Google market audit
- Cannot install code push cordova plugin
- Does the ` appcenter codepush release-cordova ...` work on Windows for iOS Apps? HOT 2
- Slow down support
- Application is stuck while getting update from appcenter codepush
- `CODE_PUSH_APK_BUILD_TIME` slows down builds recompiling resources unecessarily.
- [Feature] Support Capacitor for AppCenter CodePush (Solved)
- Google Play Console reports security error: Zip Path Traversal Error due to cordova-plugin-zip dependency HOT 1
- Error: An error has occurred while performing the operation
- This plugin is compatible with capacitor and UIWebView reference free ? HOT 1
- [CodePush] Could not access local package. Stage:undefinedError code: undefined HOT 2
- [ERROR] could not get binary hash.Error: Could not get binary hash. HOT 1
- cordova-plugin-code-push dependency overrides AFNetworking files
- [CodePush] Update is rolling back after app relaunch HOT 1
- How to change url when startloading files?
- Make an official version for CapacitorJS HOT 2
- Support for cordova-android>=10.0.0 WebViewAssetLoader default HOT 1
- net::ERR_ACCESS_DENIED on codepush install after changing Android API target to 30 HOT 1
- Could not get binary hash.Error: Could not get binary hash.
- A Code Push Alternative - Ionic Appflow HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-code-push.