Installing company app and application enrollment token through company portal. IE 10 in wp8 freezes in tap to open - windows-phone-8

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/

Related

Trusted web activity - Digital assets link validation for intranet/private web app seem to be failing

I've followed this doc to
Create a wrapper Android app based on this sample project for my UI application which runs in non-public domain in our corporate servers.
Add assetlinks.json in my Angular 6 PWA application, with SHA256 fingerprints of my release key.
Deployed the signed apk to a Android 4.4.3 device running Chrome Dev 69 and Google play services - 12.8.74.
When I run the application, everything works fine except hiding the address bar, which makes it as a regular custom tab and not the "Trusted web" content.
I don't see any error in the log and not sure how to debug this scenario. Any help on this is appreciated.
Got confirmation from Chrome team that they are using TWA assets link validation in server side using an API call and so this solution wont work for Private web apps. Said that, they are also considering to move that logic to browser to support this use case. Will update here when I have any update on this.
Update: As of Chrome Version 72, TWA(Trusted web activity) if available in Chrome stable version and the web asset validation(to make sure the web page is yours/same as the app its loaded to) happens in browser. So this solution can be implemented for private web apps for hosting inside enterprise environment.
Also, now PWAs can be packed as regular app using TWA solution and uploaded to Play store as an apk file. Documentation on this is still being updated as per one of Chrome developer. But the solution as such is ready for use.

About Microsoft CDN server on Windows Phone 8

I will attempt to be clear. Well, in the old web store of Windows Phone 8 before I could download manually any app or game, via the link: "Download and install manually" as you can see
in this image It is a feature that was lost with the arrival of the new store of Windows 10.
Ok. Now, in the following video Download and Install Apps (XAP/APPX Files) on WP8.1 via PC you can see at time t=53 sec, appears at bottom of page the link http://www.windowsphone.com/en-us/store/app/vimeo/the App ID/xap?apptype=regular
After the user clicks on 'Download and install manually' a popup box appears. Now you can see inside the pop-up box that the downloading of the app is downloaded from: http://cdn.marketplacecontent.windowsphone.com
But in fact the complete address follows this format:
http://cdn.marketplacecontent.windowsphone.com/public/the App ID?downloadname=name of the app.type of file(xap, appx or appxbundle)
For example, this is the direction of the game Tentacles: Enter the Mind from the Microsoft CDN server:
http://cdn.marketplacecontent.windowsphone.com/public/8915ee7c-c55d-4e8f-a0b6-f80497e6f26e?downloadname=tentacles-enter-the-mind.xap
As you just seen, the old web store of Windows Phone 8 could download apps and games from the Microsoft CDN server. Even with the new store Windows 10 you can still download apps from Microsoft CDN. There are website that somehow can download apps and games from the Microsoft CDN server such as: www.appx4fun.com www.windowscommunity.in and www.winphonehub.org to mention some.
Based upon everything I said, you have any idea of how to I can access the Microsoft CDN server to download apps without resorting to third-party stores? I would like to know how they do it.
NOTE: All apps can be downloaded manually using this address:http://cdn.marketplacecontent.windowsphone.com/public/the App ID?downloadname=name of the app.type of file(xap, appx or appxbundle)but for it to work you need to know the ID of the app you want to download and the type of file. How can I find the ID of the app? Know the ID is a very important information!
Well, that's all. I hope your answer
Regards.

open shift application not displayed on web console

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.

"Can't install company app" on Windows Phone 8

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.

Not able to install app made using App studio Windows phone 8

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