I've developed a company app for Windows Phone 8, and have gone through all the recommended steps to set it up for installation. I have a Symantec code-signing certificate, and I have generated my Application Enrollment Token and my signed XAP, which I am hosting in a public folder on OneDrive. I generated the XAP using the BuildMDILXap.ps1 script, which ran without errors. I haven't bothered with a company hub app, since we're only distributing a single app.
The AET loads OK on the phone, and asks if I would like to add the workplace account. I click "add", the dialogue box disappears, and no error comes up. There is no confirmation message, however I don't know if I should expect one.
When I load up the XAP, I get the message "Can't install company app. There's a problem with this company app. Contact your company's support person for help."
The phone has been developer unlocked (which of course isn't necessary), and I've had the app side-loaded and running on it successfully before. It was uninstalled before attempting the above, however.
I'm not sure what to do from here. I've tried recompiling and re-signing the XAP and re-generating the AET, but nothing seems to work.
After fruitlessly trying to solve this problem, I found a workaround that does what I need.
It turns out that you can post apps to the public app store, but hide them from searches, essentially making them private to anyone that doesn't have the link. That solves my first problem, getting the app published in a way that my client can access without me needing to have developer licenses for each of their phones.
The downside with that solution is that you still have to wait a few days for an update to be approved, which isn't the greatest when you're still beta-testing and need to make quick changes. However, Microsoft also have a beta program for Windows Phone apps. By designating the app as Beta, submission happens automatically within 2 hours, but you have to restrict access to specific Microsoft accounts. The latter isn't a problem because the number of devices using the app is relatively small.
This removes the need for a corporate app store in my case, and saves the expense of a certificate and the fiddling around that goes with it.
Related
Basically, my question is the same than this topic but it's now 2018. So, how can I still have ECMAScript executed on my phone (to send geolocation position) even if it is asleep? We now have Open Web Apps and Progressive Web Apps (PWA) with service workers, even Apple is jumping in, I'm sure there are ways to do that.
While we can hope that things should've changed on this, unfortunately, it has not.
This article from Google on PWA GeoLocatoin API dated Jan-2018 says clearly that this API works "only while the page is open".
Why not available yet (in my opinion)? Thinking of users privacy, it makes sense. Think of tons of wep pages we visit and for how many we tend to five permission accidentally or we intend to give for a while(until we finish some transaction/booking). Currently there is no way for us to go and check on all location permissions that we've given to web sites in a browser, like we do for Native/Hybrid apps and having option to change it.
We can expect to have tracking option for PWA when it is installed to home screen, where native app like permission handling will be possible to user.
End of the story, we are not there yet!!
Alternate option: While you can use navigator.geolocation.watchPosition to track the user when he is actively using the app, You can complement your app with a separately installed (Native) Android service to update the users location to your back end server, till PWA supports naively.
In open shift account i had hosted one word press app
"http://music-logavdm2.rhcloud.com"
I also tried the open shift client tool to list the app
app music but that also tells the app does not exist
Yesterday i update the blog but today that application not displayed on the web console. and also the
"http://music-logavdm2.rhcloud.com"
not found found DNS address error.
It seems your app may have been removed (possibly due to OpenShift ToS infringement).
In that case, you would receive a notification email with a reason of the removal. You can try contacting OpenShift support, if you received no such email.
I have a Windows Phone application running on a Windows Phone 8.1 device, and I am using Windows Push Notification Services (WNS) to deliver a push message to the device. Delivering push messages has worked for approximately 8 days, until I received WNS headers in the responses similar to these:
X-WNS-NOTIFICATIONSTATUS: dropped
X-WNS-STATUS: dropped
X-WNS-ERROR-DESCRIPTION: Blocked channel URL
X-WNS-MSG-ID: 2DC1361376C2827E
X-WNS-DEBUG-TRACE: DB5SCH101121937
I have not changed the push server implementation, nor the code on the Windows Phone device. There was literally no change in the build of either component. I went home at the end of a work day, and the next day, I ran a simple test only to be presented with that particular error. I have tried the following in an attempt to solve the problem:
Re-created the channel URL on the device.
Re-associated the existing Windows Phone application to the store.
Create a new Windows Phone application in Visual Studio (after association to the Store).
Re-created the Windows Phone application on the developer portal.
Used a different physical device.
Each without success. The documentation regarding WNS is sparse, there are no additional support channels that I am aware of, so I am stumped. What could be causing this particular error "Blocked channel URL", or, how do I solve it?
from your windows phone app you need to renew the url for the notification channel, because the url can be valid up to 15 days.
from the microsoft documentation:
"Request a channel each time the app launches. Channel URLs can expire and are not guaranteed to remain the same each time you request one. If the returned channel URL is different than the URL that you had been using, update your reference in your app server."
Edit:
see this link for reference https://msdn.microsoft.com/en-us/library/windows/apps/hh761462.aspx
Initially I was able to install on my lumia 620 apps made using app studio.
Now I'm getting the following error.
"We haven’t been able to contact the Microsoft Corporation company account to make sure you can install this app. Make sure you’re connected to a mobile or WiFi network, and we’ll try again as soon as we can.
Unfortunately, it may take a couple of days before we can make that connection. If you continue to have trouble contact your company’s support person for help."
I'm in India and I'm using the same live account I used earlier.
Take a look at this : How do I get my app on my Windows Phone device?
It explains in details all the steps you need to do.
For Windows Phone 8.1
As well as various 3rd party QR Code readers you can use, you can also use Bing vision by doing the following. Open your camera on your Windows phone. Press the “Lenses” button Search icon( Sometimes the lenses button won’t be bound to your screen, you can do this by pressing the three dots and adding it to your bindings ) From here, a new menu will appear with various lenses listed. Choose Bing Vision.
Remember that by clicking “install” you download the app. By clicking Tap to open, you add the company certificate. It pushes you back to “Install company app” at that point, but you do not have to do it a second time. At this point, go to your app menu and you will see your app. Point the phone’s camera at the QR code that opens with the certificate link, and the phone will automatically scan it. Click “add” and the certificate is successfully installed once it returns to the original Install the certificate page.
...... CAN'T UNDERSTAND THIS FULLY. PLEASE EXPLAIN
We are distributing the company app and application enrollment token through our company portal. We observe the following behavior. When the user downloads the AETX through the IE 10 that comes with Windows phone 8 there is a prompt that comes as "tap to install", then a prompt to install the certificate automatically appears. After installing the certificate the IE browser tab just stays there. It does not move to my original web site.
We tried to perform the action on the page using various standard technique like loading the content in a Iframe and opening a windows etc. But apparently we see that whether we try to open it in IFRAME or new windows, the download link for ATEX and XAP opens in the same. It does not eve create a new tab/page.
Every time the user has to click the back button after install to reach the main site. This is very annoying for users.
Any help/suggestion would be of immense help
I would suggest you 3 checklists:-
Its recommended by the Wp8 enrollment Application file download should not be coming as "chunked" in HTTP protocol. Please ensure it comes in one piece.
Try serving the XAP file without any Content-Type header (which by default is set to octet stream usually on the server end).
Try pushing your Enterprise app during the enrollment phase itself to avoid these complications. Its the best way to install the company app as a last step in the WAP Provisioning.
Thanks for the suggestion. I believe that is a default behavior of IE on WP8. I used this plug in to schedule the download one after another
http://johnculviner.com/jquery-file-download-plugin-for-ajax-like-feature-rich-file-downloads/