Using Direct Update, organizations are able to update the web content of their deployed HTML5 and hybrid applications directly from the IBM Mobile Application Platform Server upon application startup.
If we login on worlight console it displays for each app:
"Last updated at: 2014-07-18 16:40"
Is there a way to show this value in app ?
Thanks in advance.
There is no built-in functionality to get the timestamp of an update, so maybe what you could do is:
have some JS variable
whenever you are about to deploy an update - update the variable's value (a timestamp)
display it somewhere in your app
This way whenever there is an update, the new value will be displayed. So it will be an approximate timestamp.
Related
I want to show different kind of notes in my vue.js application to inform the user for example about an upcoming maintenance. I thought at an info "banner" under the application header. The data like period of the maintenance I would store in a sql database. In this database I want to regular when the banner should be visible or even not. Maybe with a table column called active.
Now I am looking for a solution how to trigger the vue.js application to refresh if data in database was added/updated.
Can someone help me please?
Are there any other ideas (maybe more professional ideas) how to trigger a note "banner" in a vue.js application?
The application will be hosted in Azure.
Thanks in advance!
Anatoly answer is right, those are your two options. You either make a request to your backend service every couple of minutes(depends how fast this info is changing) or you implement a web socket that will let your frontend now when the info has changed. It depends on how big is the app and what use you're going to give it, personally, in a scenario like this i would go with a web socket.
Here you have a nice library i've used in the past: https://www.npmjs.com/package/vue-socket.io . You will also need to make some implementation in your backend service to handle the info gathering.
I have already submitted an app (v1.0) now i wanna update my app. here, i got confusion. There in the windows developer center, two options are available.
Replace or Add New. Which one I should give to update my existing app ?
To update your app, you should use Replace.
Add new allows you to associate multiple XAPs with the same app GUID (for example, if you want to publish two different binaries for a single app: a WP7 version and a WP8 version).
The MSDN page for CurrentApp.appId is here.
In a typical application the property comes back in the format 00000000-0000-0000-0000-000000000000, and precisely that number if you're running an app that is not in the Windows store.
Once in the Windows store, it gets a real number, and my question is: Is there anything that would cause an appId to ever change? Perhaps as versions of the app are updated, or if the app is renamed?
The AppId will not change unless you remove the existing app and republish.
I do not have a source for this, but it is the same process from the Windows Phone Marketplace/Store. The ID is used in many places.
The direct link (URL) to your app
Used by the Store app to identify which apps have an update
Used by Visual Studio when creating/uploading packages
...
Changing the Global Unique Identifier is totally against the point of a GUID. If it changed, many things would break. The ID does not change when updating the app, it remains the same.
I wanted to know is it possible register App installation date using Flurry Api ?
iPhone doesn't spool up the software when its installed, so no, I don't think you will get that data. The Second time its used, you should receive data on the first time it was run though.
I'm writing a timesheet helper utility in Silverlight 4. This will be a trusted out of browser application that will periodically ask the user (with a SL4 Notification Window) what they have been working on. What I'd like to do is have it capture images of their desktop (or better yet, active window) from time to time in order to remind them of what they have been working on since they last submitted their status report. Is this idea even possible? Do I need to use COM? If so, what COM component would I use?
I don't know of any installed COM object you could use -- you'd have to create one and install it.